提交 9ebed9d1 编写于 作者: D David S. Miller

[CRYPTO] lrw: round --> lrw_round

Fixes:

crypto/lrw.c:99: warning: conflicting types for built-in function ‘round’
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 8df3b0a2
...@@ -95,7 +95,7 @@ static inline void inc(be128 *iv) ...@@ -95,7 +95,7 @@ static inline void inc(be128 *iv)
iv->a = cpu_to_be64(be64_to_cpu(iv->a) + 1); iv->a = cpu_to_be64(be64_to_cpu(iv->a) + 1);
} }
static inline void round(struct sinfo *s, void *dst, const void *src) static inline void lrw_round(struct sinfo *s, void *dst, const void *src)
{ {
be128_xor(dst, &s->t, src); /* PP <- T xor P */ be128_xor(dst, &s->t, src); /* PP <- T xor P */
s->fn(s->tfm, dst, dst); /* CC <- E(Key2,PP) */ s->fn(s->tfm, dst, dst); /* CC <- E(Key2,PP) */
...@@ -160,7 +160,7 @@ static int crypt(struct blkcipher_desc *d, ...@@ -160,7 +160,7 @@ static int crypt(struct blkcipher_desc *d,
inc(iv); inc(iv);
first: first:
round(&s, wdst, wsrc); lrw_round(&s, wdst, wsrc);
wsrc += bs; wsrc += bs;
wdst += bs; wdst += bs;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册