mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[CRYPTO] s390: Added block cipher versions of CBC/ECB
This patch adds block cipher algorithms for S390. Once all users of the old cipher type have been converted the existing CBC/ECB non-block cipher operations will be removed. Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
parent
28ce728a90
commit
a9e62fadf0
4 changed files with 592 additions and 14 deletions
|
|
@ -150,6 +150,7 @@ config CRYPTO_DES_S390
|
|||
tristate "DES and Triple DES cipher algorithms (s390)"
|
||||
depends on S390
|
||||
select CRYPTO_ALGAPI
|
||||
select CRYPTO_BLKCIPHER
|
||||
help
|
||||
DES cipher algorithm (FIPS 46-2), and Triple DES EDE (FIPS 46-3).
|
||||
|
||||
|
|
@ -298,6 +299,7 @@ config CRYPTO_AES_S390
|
|||
tristate "AES cipher algorithms (s390)"
|
||||
depends on S390
|
||||
select CRYPTO_ALGAPI
|
||||
select CRYPTO_BLKCIPHER
|
||||
help
|
||||
This is the s390 hardware accelerated implementation of the
|
||||
AES cipher algorithms (FIPS-197). AES uses the Rijndael
|
||||
|
|
|
|||
Loading…
Reference in a new issue