Skip to contentSkip to conversation

sha384 hardware acceleration for s390

PATCH In review Jan Glauber 1 participant 1 message Mar 3, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 3/4 sha384 hardware acceleration for s390

Exploit the System z10 hardware acceleration for SHA384.

---
 arch/s390/crypto/sha512_s390.c |   57 +++++++++++++++++++++++++++++++++++------
 drivers/crypto/Kconfig         |    6 ++--
 2 files changed, 54 insertions(+), 9 deletions(-)
drivers/crypto/Kconfig +4 -2
Index: cryptodev-2.6/drivers/crypto/Kconfig
===================================================================
@@ -101,7 +101,7 @@ config CRYPTO_SHA256_S390
 	  security against collision attacks.
 
 config CRYPTO_SHA512_S390
-	tristate "SHA512 digest algorithm"
+	tristate "SHA384 and SHA512 digest algorithm"
 	depends on S390
 	select CRYPTO_ALGAPI
 	help
@@ -109,7 +109,9 @@ config CRYPTO_SHA512_S390
 	  SHA512 secure hash standard.
 
 	  This version of SHA implements a 512 bit hash with 256 bits of
-	  security against collision attacks.
+	  security against collision attacks. The code also includes SHA-384,
+	  a 384 bit hash with 192 bits of security against collision attacks.
+
 
 config CRYPTO_DES_S390
 	tristate "DES and Triple DES cipher algorithms"
arch/s390/crypto/sha512_s390.c +50 -7

92 lines not on this page · raw message