diff options
author | Harald Freudenberger <freude@linux.vnet.ibm.com> | 2018-04-05 20:27:47 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-04-10 07:38:54 +0200 |
commit | aff304e7a0e8f926edafcd1e0e4f6da2866e9845 (patch) | |
tree | 13796ac68b411f5cf6ea9e097c6108c41bd4bda3 /crypto/twofish_common.c | |
parent | c18bb396d3d261ebbb4efbc05129c5d354c541e4 (diff) |
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>
Diffstat (limited to 'crypto/twofish_common.c')
0 files changed, 0 insertions, 0 deletions