aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2008-03-09 13:06:14 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-03-09 13:06:14 -0400
commit83f7a2c118833d3738b4d162ea3c17d0bd8ffa94 (patch)
tree450cb68d9341e33c38fed76f75696f4bd60be0e1
parentab875cf67e89eef150ae8d4ef09c361e47b6b398 (diff)
parentf13ba2f7d3a877967477ec8f64e1dae7a967c7e2 (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: [CRYPTO] skcipher: Fix section mismatches
-rw-r--r--crypto/chainiv.c4
-rw-r--r--crypto/eseqiv.c2
-rw-r--r--include/crypto/internal/skcipher.h2
3 files changed, 2 insertions, 6 deletions
diff --git a/crypto/chainiv.c b/crypto/chainiv.c
index 0a7cac6e9089..6da3f577e4db 100644
--- a/crypto/chainiv.c
+++ b/crypto/chainiv.c
@@ -318,10 +318,8 @@ int __init chainiv_module_init(void)
318{ 318{
319 return crypto_register_template(&chainiv_tmpl); 319 return crypto_register_template(&chainiv_tmpl);
320} 320}
321EXPORT_SYMBOL_GPL(chainiv_module_init);
322 321
323void __exit chainiv_module_exit(void) 322void chainiv_module_exit(void)
324{ 323{
325 crypto_unregister_template(&chainiv_tmpl); 324 crypto_unregister_template(&chainiv_tmpl);
326} 325}
327EXPORT_SYMBOL_GPL(chainiv_module_exit);
diff --git a/crypto/eseqiv.c b/crypto/eseqiv.c
index 6f2cd063b6fe..b14f14e314b6 100644
--- a/crypto/eseqiv.c
+++ b/crypto/eseqiv.c
@@ -251,10 +251,8 @@ int __init eseqiv_module_init(void)
251{ 251{
252 return crypto_register_template(&eseqiv_tmpl); 252 return crypto_register_template(&eseqiv_tmpl);
253} 253}
254EXPORT_SYMBOL_GPL(eseqiv_module_init);
255 254
256void __exit eseqiv_module_exit(void) 255void __exit eseqiv_module_exit(void)
257{ 256{
258 crypto_unregister_template(&eseqiv_tmpl); 257 crypto_unregister_template(&eseqiv_tmpl);
259} 258}
260EXPORT_SYMBOL_GPL(eseqiv_module_exit);
diff --git a/include/crypto/internal/skcipher.h b/include/crypto/internal/skcipher.h
index a8f12644a13c..ccc32bad9a89 100644
--- a/include/crypto/internal/skcipher.h
+++ b/include/crypto/internal/skcipher.h
@@ -68,7 +68,7 @@ void skcipher_geniv_exit(struct crypto_tfm *tfm);
68int __init eseqiv_module_init(void); 68int __init eseqiv_module_init(void);
69void __exit eseqiv_module_exit(void); 69void __exit eseqiv_module_exit(void);
70int __init chainiv_module_init(void); 70int __init chainiv_module_init(void);
71void __exit chainiv_module_exit(void); 71void chainiv_module_exit(void);
72 72
73static inline struct crypto_ablkcipher *skcipher_geniv_cipher( 73static inline struct crypto_ablkcipher *skcipher_geniv_cipher(
74 struct crypto_ablkcipher *geniv) 74 struct crypto_ablkcipher *geniv)