diff options
author | Harald Freudenberger <freude@linux.ibm.com> | 2024-10-25 12:34:28 +0200 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2024-10-29 11:17:17 +0100 |
commit | bbecb519004c928629f2fd150b929b54f9740bf6 (patch) | |
tree | 8b1fdb0ef2420ac954f06cb1cb28240e0c5776ee /scripts/lib/kdoc/kdoc_files.py | |
parent | 55e055ba7faf4f190d76272749735724eac211f4 (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/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions