summaryrefslogtreecommitdiffstats
path: root/crypto/echainiv.c
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2015-05-22 23:22:47 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2015-05-25 06:41:28 -0400
commit622ff8752756d4fbbf7975d9ef27a1a07820f55e (patch)
tree14691d2eaa9965539bbb53675bcd03f370a2ac65 /crypto/echainiv.c
parent2ea376a3adf8ddf30c50c2709bbf3cdab9baa6a8 (diff)
crypto: echainiv - echainiv_read_iv() can be static
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/echainiv.c')
-rw-r--r--crypto/echainiv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/echainiv.c b/crypto/echainiv.c
index e5a9878e6532..d0e325d094ed 100644
--- a/crypto/echainiv.c
+++ b/crypto/echainiv.c
@@ -67,7 +67,7 @@ static int echainiv_setauthsize(struct crypto_aead *tfm,
67} 67}
68 68
69/* We don't care if we get preempted and read/write IVs from the next CPU. */ 69/* We don't care if we get preempted and read/write IVs from the next CPU. */
70void echainiv_read_iv(u8 *dst, unsigned size) 70static void echainiv_read_iv(u8 *dst, unsigned size)
71{ 71{
72 u32 *a = (u32 *)dst; 72 u32 *a = (u32 *)dst;
73 u32 __percpu *b = echainiv_iv; 73 u32 __percpu *b = echainiv_iv;
@@ -78,7 +78,7 @@ void echainiv_read_iv(u8 *dst, unsigned size)
78 } 78 }
79} 79}
80 80
81void echainiv_write_iv(const u8 *src, unsigned size) 81static void echainiv_write_iv(const u8 *src, unsigned size)
82{ 82{
83 const u32 *a = (const u32 *)src; 83 const u32 *a = (const u32 *)src;
84 u32 __percpu *b = echainiv_iv; 84 u32 __percpu *b = echainiv_iv;