mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
crypto: s390 - add System z hardware support for GHASH
This patch adds System z hardware acceleration support for the GHASH algorithm for GCM (Galois/Counter Mode). The hardware support is available beginning with System z196. Signed-off-by: Jan Glauber <[email protected]> Signed-off-by: Gerald Schaefer <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
parent
99d9722215
commit
df1309ce95
4 changed files with 174 additions and 0 deletions
|
|
@ -151,6 +151,16 @@ config S390_PRNG
|
|||
ANSI X9.17 standard. The PRNG is usable via the char device
|
||||
/dev/prandom.
|
||||
|
||||
config CRYPTO_GHASH_S390
|
||||
tristate "GHASH digest algorithm"
|
||||
depends on S390
|
||||
select CRYPTO_HASH
|
||||
help
|
||||
This is the s390 hardware accelerated implementation of the
|
||||
GHASH message digest algorithm for GCM (Galois/Counter Mode).
|
||||
|
||||
It is available as of z196.
|
||||
|
||||
config CRYPTO_DEV_MV_CESA
|
||||
tristate "Marvell's Cryptographic Engine"
|
||||
depends on PLAT_ORION
|
||||
|
|
|
|||
Loading…
Reference in a new issue