2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 15:43:59 +08:00
linux-next/arch/s390/crypto
Harald Freudenberger aff304e7a0 s390/crypto: Adjust s390 aes and paes cipher priorities
Tests with paes-xts and debugging investigations showed
that the ciphers are not always correctly resolved.
The rules for cipher priorities seem to be:
 - Ecb-aes should have a prio greater than the
   generic ecb-aes.
 - The mode specialized ciphers (like cbc-aes-s390)
   should have a prio greater than the sum of the
   more generic combinations (like cbs(aes)).

This patch adjusts the cipher priorities for the
s390 aes and paes in kernel crypto implementations.

Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2018-04-10 07:38:54 +02:00
..
aes_s390.c s390/crypto: Adjust s390 aes and paes cipher priorities 2018-04-10 07:38:54 +02:00
arch_random.c s390: crypto: Remove redundant license text 2017-11-24 15:37:23 +01:00
crc32-vx.c crypto: hash - annotate algorithms taking optional key 2018-01-12 23:03:35 +11:00
crc32be-vx.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
crc32le-vx.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
des_s390.c s390: crypto: Remove redundant license text 2017-11-24 15:37:23 +01:00
ghash_s390.c s390: crypto: add SPDX identifiers to the remaining files 2017-11-24 15:37:14 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
paes_s390.c s390/crypto: Adjust s390 aes and paes cipher priorities 2018-04-10 07:38:54 +02:00
prng.c s390: crypto: add SPDX identifiers to the remaining files 2017-11-24 15:37:14 +01:00
sha1_s390.c s390: Remove redudant license text 2017-12-05 07:51:09 +01:00
sha256_s390.c s390: crypto: Remove redundant license text 2017-11-24 15:37:23 +01:00
sha512_s390.c s390: crypto: Remove redundant license text 2017-11-24 15:37:23 +01:00
sha_common.c s390: crypto: Remove redundant license text 2017-11-24 15:37:23 +01:00
sha.h s390: crypto: Remove redundant license text 2017-11-24 15:37:23 +01:00