diff options
author | Jan Glauber <jan.glauber@de.ibm.com> | 2006-01-06 03:19:18 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:33:50 -0500 |
commit | bf754ae8ef8bc443c067601d9401103e4001e7c5 (patch) | |
tree | 4241bc75205a638006f40f577e99430099bbe53e /arch/s390/crypto/crypt_s390_query.c | |
parent | 0a497c17fee428604e06320272ff74415eacdc31 (diff) |
[PATCH] s390: aes support
Add support for the hardware accelerated AES 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 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/s390/crypto/crypt_s390_query.c b/arch/s390/crypto/crypt_s390_query.c index 67081b81a4a3..def02bdc44a4 100644 --- a/arch/s390/crypto/crypt_s390_query.c +++ b/arch/s390/crypto/crypt_s390_query.c | |||
@@ -32,6 +32,12 @@ static void query_available_functions(void) | |||
32 | crypt_s390_func_available(KM_TDEA_128_ENCRYPT)); | 32 | crypt_s390_func_available(KM_TDEA_128_ENCRYPT)); |
33 | printk(KERN_INFO "KM_TDEA_192: %d\n", | 33 | printk(KERN_INFO "KM_TDEA_192: %d\n", |
34 | crypt_s390_func_available(KM_TDEA_192_ENCRYPT)); | 34 | crypt_s390_func_available(KM_TDEA_192_ENCRYPT)); |
35 | printk(KERN_INFO "KM_AES_128: %d\n", | ||
36 | crypt_s390_func_available(KM_AES_128_ENCRYPT)); | ||
37 | printk(KERN_INFO "KM_AES_192: %d\n", | ||
38 | crypt_s390_func_available(KM_AES_192_ENCRYPT)); | ||
39 | printk(KERN_INFO "KM_AES_256: %d\n", | ||
40 | crypt_s390_func_available(KM_AES_256_ENCRYPT)); | ||
35 | 41 | ||
36 | /* query available KMC functions */ | 42 | /* query available KMC functions */ |
37 | printk(KERN_INFO "KMC_QUERY: %d\n", | 43 | printk(KERN_INFO "KMC_QUERY: %d\n", |
@@ -42,6 +48,12 @@ static void query_available_functions(void) | |||
42 | crypt_s390_func_available(KMC_TDEA_128_ENCRYPT)); | 48 | crypt_s390_func_available(KMC_TDEA_128_ENCRYPT)); |
43 | printk(KERN_INFO "KMC_TDEA_192: %d\n", | 49 | printk(KERN_INFO "KMC_TDEA_192: %d\n", |
44 | crypt_s390_func_available(KMC_TDEA_192_ENCRYPT)); | 50 | crypt_s390_func_available(KMC_TDEA_192_ENCRYPT)); |
51 | printk(KERN_INFO "KMC_AES_128: %d\n", | ||
52 | crypt_s390_func_available(KMC_AES_128_ENCRYPT)); | ||
53 | printk(KERN_INFO "KMC_AES_192: %d\n", | ||
54 | crypt_s390_func_available(KMC_AES_192_ENCRYPT)); | ||
55 | printk(KERN_INFO "KMC_AES_256: %d\n", | ||
56 | crypt_s390_func_available(KMC_AES_256_ENCRYPT)); | ||
45 | 57 | ||
46 | /* query available KIMD fucntions */ | 58 | /* query available KIMD fucntions */ |
47 | printk(KERN_INFO "KIMD_QUERY: %d\n", | 59 | printk(KERN_INFO "KIMD_QUERY: %d\n", |