diff options
author | Jan Glauber <jan.glauber@de.ibm.com> | 2006-01-06 00:19:18 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 08:33:50 -0800 |
commit | 0a497c17fee428604e06320272ff74415eacdc31 (patch) | |
tree | b7ebb455fc908489a783a32f6171a3c36ccdcc4f /arch/s390/crypto/crypt_s390_query.c | |
parent | c1e26e1ef7ab50f30e5fbf004fe96ed44321ca78 (diff) | |
download | blackbird-op-linux-0a497c17fee428604e06320272ff74415eacdc31.tar.gz blackbird-op-linux-0a497c17fee428604e06320272ff74415eacdc31.zip |
[PATCH] s390: sha256 support
Add support for the hardware accelerated sha256 crypto algorithm.
Signed-off-by: Jan Glauber <jan.glauber@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/s390/crypto/crypt_s390_query.c')
-rw-r--r-- | arch/s390/crypto/crypt_s390_query.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/s390/crypto/crypt_s390_query.c b/arch/s390/crypto/crypt_s390_query.c index 0fa6bdf197cf..67081b81a4a3 100644 --- a/arch/s390/crypto/crypt_s390_query.c +++ b/arch/s390/crypto/crypt_s390_query.c @@ -48,16 +48,20 @@ static void query_available_functions(void) crypt_s390_func_available(KIMD_QUERY)); printk(KERN_INFO "KIMD_SHA_1: %d\n", crypt_s390_func_available(KIMD_SHA_1)); + printk(KERN_INFO "KIMD_SHA_256: %d\n", + crypt_s390_func_available(KIMD_SHA_256)); /* query available KLMD functions */ printk(KERN_INFO "KLMD_QUERY: %d\n", crypt_s390_func_available(KLMD_QUERY)); printk(KERN_INFO "KLMD_SHA_1: %d\n", crypt_s390_func_available(KLMD_SHA_1)); + printk(KERN_INFO "KLMD_SHA_256: %d\n", + crypt_s390_func_available(KLMD_SHA_256)); /* query available KMAC functions */ printk(KERN_INFO "KMAC_QUERY: %d\n", - crypt_s3990_func_available(KMAC_QUERY)); + crypt_s390_func_available(KMAC_QUERY)); printk(KERN_INFO "KMAC_DEA: %d\n", crypt_s390_func_available(KMAC_DEA)); printk(KERN_INFO "KMAC_TDEA_128: %d\n", |