projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ea376a
)
crypto: echainiv - echainiv_read_iv() can be static
author
Wu Fengguang
<
[email protected]
>
Sat, 23 May 2015 03:22:47 +0000
(11:22 +0800)
committer
Herbert Xu
<
[email protected]
>
Mon, 25 May 2015 10:41:28 +0000
(18:41 +0800)
Signed-off-by: Fengguang Wu <
[email protected]
>
Signed-off-by: Herbert Xu <
[email protected]
>
crypto/echainiv.c
patch
|
blob
|
history
diff --git
a/crypto/echainiv.c
b/crypto/echainiv.c
index e5a9878e65325e2bc072e63d9612c05b311a94d2..d0e325d094ed72a612da0b081741b49c458d6264 100644
(file)
--- 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;