aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/uapi/asm
diff options
context:
space:
mode:
authorHarald Freudenberger <freude@linux.ibm.com>2020-01-22 12:24:00 +0100
committerVasily Gorbik <gor@linux.ibm.com>2020-01-30 13:07:55 +0100
commit7f820d053948ca82bd8221b1df3d676b9c93a494 (patch)
treeafb5fce761d3b24746ad0459f53477bf690f6658 /arch/s390/include/uapi/asm
parents390/pkey: Add support for key blob with clear key value (diff)
downloadlinux-dev-7f820d053948ca82bd8221b1df3d676b9c93a494.tar.xz
linux-dev-7f820d053948ca82bd8221b1df3d676b9c93a494.zip
s390/crypto: enable clear key values for paes ciphers
With this patch the paes ciphers do accept AES clear key values of size 16, 24 or 32 byte. The key value is internal rearranged to form a paes clear key token so that the pkey kernel module recognizes and handles this key material as source for protected keys. Using clear key material as a source for protected keys is a security risc as the raw key material is kept in memory. However, so the AES selftests provided with the testmanager can be run during registration of the paes ciphers. Signed-off-by: Harald Freudenberger <freude@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/include/uapi/asm')
0 files changed, 0 insertions, 0 deletions