diff options
Diffstat (limited to 'arch/s390/crypto')
-rw-r--r-- | arch/s390/crypto/aes_s390.c | 6 | ||||
-rw-r--r-- | arch/s390/crypto/des_check_key.c | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/arch/s390/crypto/aes_s390.c b/arch/s390/crypto/aes_s390.c index 15c9eec02928..3bf9ea4c993f 100644 --- a/arch/s390/crypto/aes_s390.c +++ b/arch/s390/crypto/aes_s390.c | |||
@@ -27,9 +27,9 @@ | |||
27 | /* data block size for all key lengths */ | 27 | /* data block size for all key lengths */ |
28 | #define AES_BLOCK_SIZE 16 | 28 | #define AES_BLOCK_SIZE 16 |
29 | 29 | ||
30 | int has_aes_128 = 0; | 30 | static int has_aes_128 = 0; |
31 | int has_aes_192 = 0; | 31 | static int has_aes_192 = 0; |
32 | int has_aes_256 = 0; | 32 | static int has_aes_256 = 0; |
33 | 33 | ||
34 | struct s390_aes_ctx { | 34 | struct s390_aes_ctx { |
35 | u8 iv[AES_BLOCK_SIZE]; | 35 | u8 iv[AES_BLOCK_SIZE]; |
diff --git a/arch/s390/crypto/des_check_key.c b/arch/s390/crypto/des_check_key.c index e3f5c5f238fe..955c441808d7 100644 --- a/arch/s390/crypto/des_check_key.c +++ b/arch/s390/crypto/des_check_key.c | |||
@@ -30,6 +30,7 @@ | |||
30 | #include <linux/module.h> | 30 | #include <linux/module.h> |
31 | #include <linux/errno.h> | 31 | #include <linux/errno.h> |
32 | #include <linux/crypto.h> | 32 | #include <linux/crypto.h> |
33 | #include "crypto_des.h" | ||
33 | 34 | ||
34 | #define ROR(d,c,o) ((d) = (d) >> (c) | (d) << (o)) | 35 | #define ROR(d,c,o) ((d) = (d) >> (c) | (d) << (o)) |
35 | 36 | ||