[PATCH v3 0/3] lib: Extending support for scope-based resource management

From: Markus Elfring
Date: Sat Oct 12 2024 - 11:01:12 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 12 Oct 2024 15:48:05 +0200

Some development ideas were taken into account according to evolving discussions.

Markus Elfring (3):
crypto: lib/mpi - Extend support for scope-based resource management
lib/digsig: Use scope-based resource management for two MPI variables
in digsig_verify_rsa()
lib/digsig: Use scope-based resource management for two variables
in digsig_verify_rsa()

include/linux/mpi.h | 4 ++
lib/digsig.c | 107 +++++++++++++++++++++++---------------------
2 files changed, 59 insertions(+), 52 deletions(-)


V3:
* Applications were added as requested (by Herbert Xu) for the proposed
programming interface extension.

* Further adjustments were provided for the demonstration of an evolving
programming interface.


V2:
The kernel build service pointed out that the proposed identifier “T_”
was not recognised by the compiler.
Thus reserved identifiers need still be applied also at such a place instead
so far.
I became curious under which circumstances corresponding development concerns
will be reconsidered any more.

--
2.46.1