diff options
| author | Harald Freudenberger <freude@linux.ibm.com> | 2024-10-25 13:34:28 +0300 |
|---|---|---|
| committer | Heiko Carstens <hca@linux.ibm.com> | 2024-10-29 13:17:17 +0300 |
| commit | bbecb519004c928629f2fd150b929b54f9740bf6 (patch) | |
| tree | 8b1fdb0ef2420ac954f06cb1cb28240e0c5776ee /drivers/usb/cdns3/cdns3-debug.h | |
| parent | 55e055ba7faf4f190d76272749735724eac211f4 (diff) | |
| download | linux-bbecb519004c928629f2fd150b929b54f9740bf6.tar.xz | |
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 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions
