diff options
| author | 2024-10-25 12:34:28 +0200 | |
|---|---|---|
| committer | 2024-10-29 11:17:17 +0100 | |
| commit | bbecb519004c928629f2fd150b929b54f9740bf6 (patch) | |
| tree | 8b1fdb0ef2420ac954f06cb1cb28240e0c5776ee /scripts/Makefile.thinlto | |
| parent | s390/zcrypt: Cleanup include zcrypt_api.h (diff) | |
s390/pkey: Simplify protected key length calculation code
The calculation of the length of a protected key based on
the protected key type is scattered over certain places within
the pkey code. By introducing a new inline function
pkey_keytype_to_size() this can be centralized and the calling
code can be reduced and simplified.
With this also comes a slight rework of the generation of
protected keys. Now the pkey_pckmo module is able to generate
all but ECC keys.
Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Reviewed-by: Holger Dengler <dengler@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
