diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-13 16:33:26 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-13 16:33:26 -0500 |
commit | e3aa91a7cb21a595169b20c64f63ca39a91a0c43 (patch) | |
tree | 6a92a2e595629949a45336c770c2408abba8444d /arch/s390 | |
parent | 78a45c6f067824cf5d0a9fedea7339ac2e28603c (diff) | |
parent | 8606813a6c8997fd3bb805186056d78670eb86ca (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Pull crypto update from Herbert Xu:
- The crypto API is now documented :)
- Disallow arbitrary module loading through crypto API.
- Allow get request with empty driver name through crypto_user.
- Allow speed testing of arbitrary hash functions.
- Add caam support for ctr(aes), gcm(aes) and their derivatives.
- nx now supports concurrent hashing properly.
- Add sahara support for SHA1/256.
- Add ARM64 version of CRC32.
- Misc fixes.
* git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (77 commits)
crypto: tcrypt - Allow speed testing of arbitrary hash functions
crypto: af_alg - add user space interface for AEAD
crypto: qat - fix problem with coalescing enable logic
crypto: sahara - add support for SHA1/256
crypto: sahara - replace tasklets with kthread
crypto: sahara - add support for i.MX53
crypto: sahara - fix spinlock initialization
crypto: arm - replace memset by memzero_explicit
crypto: powerpc - replace memset by memzero_explicit
crypto: sha - replace memset by memzero_explicit
crypto: sparc - replace memset by memzero_explicit
crypto: algif_skcipher - initialize upon init request
crypto: algif_skcipher - removed unneeded code
crypto: algif_skcipher - Fixed blocking recvmsg
crypto: drbg - use memzero_explicit() for clearing sensitive data
crypto: drbg - use MODULE_ALIAS_CRYPTO
crypto: include crypto- module prefix in template
crypto: user - add MODULE_ALIAS
crypto: sha-mb - remove a bogus NULL check
crytpo: qat - Fix 64 bytes requests
...
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/crypto/aes_s390.c | 2 | ||||
-rw-r--r-- | arch/s390/crypto/des_s390.c | 4 | ||||
-rw-r--r-- | arch/s390/crypto/ghash_s390.c | 2 | ||||
-rw-r--r-- | arch/s390/crypto/sha1_s390.c | 2 | ||||
-rw-r--r-- | arch/s390/crypto/sha256_s390.c | 4 | ||||
-rw-r--r-- | arch/s390/crypto/sha512_s390.c | 4 |
6 files changed, 9 insertions, 9 deletions
diff --git a/arch/s390/crypto/aes_s390.c b/arch/s390/crypto/aes_s390.c index 23223cd63e54..1f272b24fc0b 100644 --- a/arch/s390/crypto/aes_s390.c +++ b/arch/s390/crypto/aes_s390.c | |||
@@ -979,7 +979,7 @@ static void __exit aes_s390_fini(void) | |||
979 | module_init(aes_s390_init); | 979 | module_init(aes_s390_init); |
980 | module_exit(aes_s390_fini); | 980 | module_exit(aes_s390_fini); |
981 | 981 | ||
982 | MODULE_ALIAS("aes-all"); | 982 | MODULE_ALIAS_CRYPTO("aes-all"); |
983 | 983 | ||
984 | MODULE_DESCRIPTION("Rijndael (AES) Cipher Algorithm"); | 984 | MODULE_DESCRIPTION("Rijndael (AES) Cipher Algorithm"); |
985 | MODULE_LICENSE("GPL"); | 985 | MODULE_LICENSE("GPL"); |
diff --git a/arch/s390/crypto/des_s390.c b/arch/s390/crypto/des_s390.c index 7acb77f7ef1a..9e05cc453a40 100644 --- a/arch/s390/crypto/des_s390.c +++ b/arch/s390/crypto/des_s390.c | |||
@@ -619,8 +619,8 @@ static void __exit des_s390_exit(void) | |||
619 | module_init(des_s390_init); | 619 | module_init(des_s390_init); |
620 | module_exit(des_s390_exit); | 620 | module_exit(des_s390_exit); |
621 | 621 | ||
622 | MODULE_ALIAS("des"); | 622 | MODULE_ALIAS_CRYPTO("des"); |
623 | MODULE_ALIAS("des3_ede"); | 623 | MODULE_ALIAS_CRYPTO("des3_ede"); |
624 | 624 | ||
625 | MODULE_LICENSE("GPL"); | 625 | MODULE_LICENSE("GPL"); |
626 | MODULE_DESCRIPTION("DES & Triple DES EDE Cipher Algorithms"); | 626 | MODULE_DESCRIPTION("DES & Triple DES EDE Cipher Algorithms"); |
diff --git a/arch/s390/crypto/ghash_s390.c b/arch/s390/crypto/ghash_s390.c index d43485d142e9..7940dc90e80b 100644 --- a/arch/s390/crypto/ghash_s390.c +++ b/arch/s390/crypto/ghash_s390.c | |||
@@ -160,7 +160,7 @@ static void __exit ghash_mod_exit(void) | |||
160 | module_init(ghash_mod_init); | 160 | module_init(ghash_mod_init); |
161 | module_exit(ghash_mod_exit); | 161 | module_exit(ghash_mod_exit); |
162 | 162 | ||
163 | MODULE_ALIAS("ghash"); | 163 | MODULE_ALIAS_CRYPTO("ghash"); |
164 | 164 | ||
165 | MODULE_LICENSE("GPL"); | 165 | MODULE_LICENSE("GPL"); |
166 | MODULE_DESCRIPTION("GHASH Message Digest Algorithm, s390 implementation"); | 166 | MODULE_DESCRIPTION("GHASH Message Digest Algorithm, s390 implementation"); |
diff --git a/arch/s390/crypto/sha1_s390.c b/arch/s390/crypto/sha1_s390.c index a1b3a9dc9d8a..5b2bee323694 100644 --- a/arch/s390/crypto/sha1_s390.c +++ b/arch/s390/crypto/sha1_s390.c | |||
@@ -103,6 +103,6 @@ static void __exit sha1_s390_fini(void) | |||
103 | module_init(sha1_s390_init); | 103 | module_init(sha1_s390_init); |
104 | module_exit(sha1_s390_fini); | 104 | module_exit(sha1_s390_fini); |
105 | 105 | ||
106 | MODULE_ALIAS("sha1"); | 106 | MODULE_ALIAS_CRYPTO("sha1"); |
107 | MODULE_LICENSE("GPL"); | 107 | MODULE_LICENSE("GPL"); |
108 | MODULE_DESCRIPTION("SHA1 Secure Hash Algorithm"); | 108 | MODULE_DESCRIPTION("SHA1 Secure Hash Algorithm"); |
diff --git a/arch/s390/crypto/sha256_s390.c b/arch/s390/crypto/sha256_s390.c index 9b853809a492..b74ff158108c 100644 --- a/arch/s390/crypto/sha256_s390.c +++ b/arch/s390/crypto/sha256_s390.c | |||
@@ -143,7 +143,7 @@ static void __exit sha256_s390_fini(void) | |||
143 | module_init(sha256_s390_init); | 143 | module_init(sha256_s390_init); |
144 | module_exit(sha256_s390_fini); | 144 | module_exit(sha256_s390_fini); |
145 | 145 | ||
146 | MODULE_ALIAS("sha256"); | 146 | MODULE_ALIAS_CRYPTO("sha256"); |
147 | MODULE_ALIAS("sha224"); | 147 | MODULE_ALIAS_CRYPTO("sha224"); |
148 | MODULE_LICENSE("GPL"); | 148 | MODULE_LICENSE("GPL"); |
149 | MODULE_DESCRIPTION("SHA256 and SHA224 Secure Hash Algorithm"); | 149 | MODULE_DESCRIPTION("SHA256 and SHA224 Secure Hash Algorithm"); |
diff --git a/arch/s390/crypto/sha512_s390.c b/arch/s390/crypto/sha512_s390.c index 32a81383b69c..0c36989ba182 100644 --- a/arch/s390/crypto/sha512_s390.c +++ b/arch/s390/crypto/sha512_s390.c | |||
@@ -86,7 +86,7 @@ static struct shash_alg sha512_alg = { | |||
86 | } | 86 | } |
87 | }; | 87 | }; |
88 | 88 | ||
89 | MODULE_ALIAS("sha512"); | 89 | MODULE_ALIAS_CRYPTO("sha512"); |
90 | 90 | ||
91 | static int sha384_init(struct shash_desc *desc) | 91 | static int sha384_init(struct shash_desc *desc) |
92 | { | 92 | { |
@@ -126,7 +126,7 @@ static struct shash_alg sha384_alg = { | |||
126 | } | 126 | } |
127 | }; | 127 | }; |
128 | 128 | ||
129 | MODULE_ALIAS("sha384"); | 129 | MODULE_ALIAS_CRYPTO("sha384"); |
130 | 130 | ||
131 | static int __init init(void) | 131 | static int __init init(void) |
132 | { | 132 | { |