summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crypto/skcipher.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/skcipher.c b/crypto/skcipher.c
index dd5fc1bf6447..7591928be7ca 100644
--- a/crypto/skcipher.c
+++ b/crypto/skcipher.c
@@ -91,7 +91,7 @@ static void crypto_exit_skcipher_ops_blkcipher(struct crypto_tfm *tfm)
91 crypto_free_blkcipher(*ctx); 91 crypto_free_blkcipher(*ctx);
92} 92}
93 93
94int crypto_init_skcipher_ops_blkcipher(struct crypto_tfm *tfm) 94static int crypto_init_skcipher_ops_blkcipher(struct crypto_tfm *tfm)
95{ 95{
96 struct crypto_alg *calg = tfm->__crt_alg; 96 struct crypto_alg *calg = tfm->__crt_alg;
97 struct crypto_skcipher *skcipher = __crypto_skcipher_cast(tfm); 97 struct crypto_skcipher *skcipher = __crypto_skcipher_cast(tfm);
@@ -182,7 +182,7 @@ static void crypto_exit_skcipher_ops_ablkcipher(struct crypto_tfm *tfm)
182 crypto_free_ablkcipher(*ctx); 182 crypto_free_ablkcipher(*ctx);
183} 183}
184 184
185int crypto_init_skcipher_ops_ablkcipher(struct crypto_tfm *tfm) 185static int crypto_init_skcipher_ops_ablkcipher(struct crypto_tfm *tfm)
186{ 186{
187 struct crypto_alg *calg = tfm->__crt_alg; 187 struct crypto_alg *calg = tfm->__crt_alg;
188 struct crypto_skcipher *skcipher = __crypto_skcipher_cast(tfm); 188 struct crypto_skcipher *skcipher = __crypto_skcipher_cast(tfm);