aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/sha1_generic.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-04-21 18:57:09 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-21 18:57:09 -0400
commit904e0ab54b7591b9cb01cfc0dbbedcc8bc0d949b (patch)
tree13a2fc98fc7b347fe0d18cc18d452f1f49bff582 /crypto/sha1_generic.c
parent98a1e95f9b5919b55c71a01546415074282d30d5 (diff)
parentc49a7f182c44c31ea460093eb263110824f6c98e (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: [HWRNG] omap: Minor updates [CRYPTO] kconfig: Ordering cleanup [CRYPTO] all: Clean up init()/fini() [CRYPTO] padlock-aes: Use generic setkey function [CRYPTO] aes: Export generic setkey [CRYPTO] api: Make the crypto subsystem fully modular [CRYPTO] cts: Add CTS mode required for Kerberos AES support [CRYPTO] lrw: Replace all adds to big endians variables with be*_add_cpu [CRYPTO] tcrypt: Change the XTEA test vectors [CRYPTO] tcrypt: Shrink the tcrypt module [CRYPTO] tcrypt: Change the usage of the test vectors [CRYPTO] api: Constify function pointer tables [CRYPTO] aes-x86-32: Remove unused return code [CRYPTO] tcrypt: Shrink speed templates [CRYPTO] tcrypt: Group common speed templates [CRYPTO] sha512: Rename sha512 to sha512_generic [CRYPTO] sha384: Hardware acceleration for s390 [CRYPTO] sha512: Hardware acceleration for s390 [CRYPTO] s390: Generic sha_update and sha_final [CRYPTO] api: Switch to proc_create()
Diffstat (limited to 'crypto/sha1_generic.c')
-rw-r--r--crypto/sha1_generic.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/sha1_generic.c b/crypto/sha1_generic.c
index 68c62f528eb5..c7c6899e1fca 100644
--- a/crypto/sha1_generic.c
+++ b/crypto/sha1_generic.c
@@ -120,18 +120,18 @@ static struct crypto_alg alg = {
120 .dia_final = sha1_final } } 120 .dia_final = sha1_final } }
121}; 121};
122 122
123static int __init init(void) 123static int __init sha1_generic_mod_init(void)
124{ 124{
125 return crypto_register_alg(&alg); 125 return crypto_register_alg(&alg);
126} 126}
127 127
128static void __exit fini(void) 128static void __exit sha1_generic_mod_fini(void)
129{ 129{
130 crypto_unregister_alg(&alg); 130 crypto_unregister_alg(&alg);
131} 131}
132 132
133module_init(init); 133module_init(sha1_generic_mod_init);
134module_exit(fini); 134module_exit(sha1_generic_mod_fini);
135 135
136MODULE_LICENSE("GPL"); 136MODULE_LICENSE("GPL");
137MODULE_DESCRIPTION("SHA1 Secure Hash Algorithm"); 137MODULE_DESCRIPTION("SHA1 Secure Hash Algorithm");