summaryrefslogtreecommitdiff
path: root/crypto/lrw.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-12-04 20:20:05 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-06 18:39:00 -0800
commit5b59efbc3a58b39023116df15d61f86dd376f583 (patch)
tree7ea6055d403d2f831c3107a8333e0970d62e28ef /crypto/lrw.c
parent92bf300df93f9447ba2c1db477546dffc27fce1b (diff)
downloadlinux-crypto-5b59efbc3a58b39023116df15d61f86dd376f583.tar.gz
linux-crypto-5b59efbc3a58b39023116df15d61f86dd376f583.zip
[CRYPTO] lrw: round --> lrw_round
Fixes: crypto/lrw.c:99: warning: conflicting types for built-in function ‘round’ Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/lrw.c')
-rw-r--r--crypto/lrw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/lrw.c b/crypto/lrw.c
index 5d043158..56642586 100644
--- a/crypto/lrw.c
+++ b/crypto/lrw.c
@@ -95,7 +95,7 @@ static inline void inc(be128 *iv)
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 */
s->fn(s->tfm, dst, dst); /* CC <- E(Key2,PP) */
@@ -160,7 +160,7 @@ static int crypt(struct blkcipher_desc *d,
inc(iv);
first:
- round(&s, wdst, wsrc);
+ lrw_round(&s, wdst, wsrc);
wsrc += bs;
wdst += bs;