summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2015-05-23 11:22:47 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2015-05-25 18:41:28 +0800
commite17a5cfe0ff226cad9791e910f70d7863ae88830 (patch)
tree4f7623c23a3de843cbf63f6e4586afcad2d224d6
parent1b424dc27d461540e917a6798b267c4493a845dd (diff)
downloadlinux-crypto-e17a5cfe0ff226cad9791e910f70d7863ae88830.tar.gz
linux-crypto-e17a5cfe0ff226cad9791e910f70d7863ae88830.zip
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>
-rw-r--r--crypto/echainiv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/echainiv.c b/crypto/echainiv.c
index e5a9878e..d0e325d0 100644
--- a/crypto/echainiv.c
+++ b/crypto/echainiv.c
@@ -67,7 +67,7 @@ static int echainiv_setauthsize(struct crypto_aead *tfm,
}
/* We don't care if we get preempted and read/write IVs from the next CPU. */
-void echainiv_read_iv(u8 *dst, unsigned size)
+static void echainiv_read_iv(u8 *dst, unsigned size)
{
u32 *a = (u32 *)dst;
u32 __percpu *b = echainiv_iv;
@@ -78,7 +78,7 @@ void echainiv_read_iv(u8 *dst, unsigned size)
}
}
-void echainiv_write_iv(const u8 *src, unsigned size)
+static void echainiv_write_iv(const u8 *src, unsigned size)
{
const u32 *a = (const u32 *)src;
u32 __percpu *b = echainiv_iv;