diff options
author | Holger Dengler | 2023-08-04 16:02:58 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-09-13 09:42:29 +0200 |
commit | f326e37a210eae051de00c392def0fbca3200356 (patch) | |
tree | 543c3f0e24a889d6e2edfe2629be3009f1521619 /drivers/ssb/pcmcia.c | |
parent | f98ea9abc1f7fc85ff0573f4db8f9696590b5c6b (diff) |
s390/pkey: fix PKEY_TYPE_EP11_AES handling for sysfs attributes
[ Upstream commit b9352e4b9b9eff949bcc6907b8569b3a1d992f1e ]
Commit 'fa6999e326fe ("s390/pkey: support CCA and EP11 secure ECC
private keys")' introduced a new PKEY_TYPE_EP11_AES securekey type as
a supplement to the existing PKEY_TYPE_EP11 (which won't work in
environments with session-bound keys). The pkey EP11 securekey
attributes use PKEY_TYPE_EP11_AES (instead of PKEY_TYPE_EP11)
keyblobs, to make the generated keyblobs usable also in environments,
where session-bound keys are required.
There should be no negative impacts to userspace because the internal
structure of the keyblobs is opaque. The increased size of the
generated keyblobs is reflected by the changed size of the attributes.
Fixes: fa6999e326fe ("s390/pkey: support CCA and EP11 secure ECC private keys")
Signed-off-by: Holger Dengler <dengler@linux.ibm.com>
Reviewed-by: Ingo Franzki <ifranzki@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/ssb/pcmcia.c')
0 files changed, 0 insertions, 0 deletions