linux_dsm_epyc7002/arch/s390/crypto
Martin Schwidefsky 2793784307 s390/crypt: Add protected key AES module
This patch introduces a new in-kernel-crypto blockcipher
called 'paes' which implements AES with protected keys.
The paes blockcipher can be used similar to the aes
blockcipher but uses secure key material to derive the
working protected key and so offers an encryption
implementation where never a clear key value is exposed
in memory.

The paes module is only available for the s390 platform
providing a minimal hardware support of CPACF enabled
with at least MSA level 3. Upon module initialization
these requirements are checked.

Includes additional contribution from Harald Freudenberger.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2017-02-24 08:31:44 +01:00
..
aes_s390.c s390/crypto: Extend key length check for AES-XTS in fips mode. 2017-01-31 10:46:06 +01:00
crc32-vx.c s390/fpu: improve kernel_fpu_[begin|end] 2016-08-29 11:05:01 +02:00
crc32be-vx.S s390/crc32-vx: use vector instructions to optimize CRC-32 computation 2016-06-14 16:54:16 +02:00
crc32le-vx.S s390/crc32-vx: use vector instructions to optimize CRC-32 computation 2016-06-14 16:54:16 +02:00
des_s390.c s390/crypto: Check des3_ede keys for uniqueness in fips mode 2017-01-31 10:46:02 +01:00
ghash_s390.c s390/crypto: cpacf function detection 2016-08-29 11:05:09 +02:00
Makefile s390/crypt: Add protected key AES module 2017-02-24 08:31:44 +01:00
paes_s390.c s390/crypt: Add protected key AES module 2017-02-24 08:31:44 +01:00
prng.c s390/prng: Adjust generation of entropy to produce real 256 bits. 2017-01-31 10:46:10 +01:00
sha1_s390.c s390/crypto: cpacf function detection 2016-08-29 11:05:09 +02:00
sha256_s390.c s390/crypto: cpacf function detection 2016-08-29 11:05:09 +02:00
sha512_s390.c s390/crypto: cpacf function detection 2016-08-29 11:05:09 +02:00
sha_common.c s390/crypto: simplify return code handling 2016-08-29 11:05:07 +02:00
sha.h crypto: s390/sha - replace raw value by their coresponding define 2015-10-15 21:05:11 +08:00