aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/crypto/zinc/selftest/poly1305.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-09-11 20:06:05 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2018-09-11 20:06:05 -0600
commit5c77388713d7b33b78739823774c8707de15c3e2 (patch)
tree65deb5b37b5d5a85af3451a3a2ddb6566d185ae1 /src/crypto/zinc/selftest/poly1305.h
parentkconfig: make NEON depend on CPU_V7 (diff)
downloadwireguard-monolithic-historical-5c77388713d7b33b78739823774c8707de15c3e2.tar.xz
wireguard-monolithic-historical-5c77388713d7b33b78739823774c8707de15c3e2.zip
poly1305: rename finish to final
Diffstat (limited to '')
-rw-r--r--src/crypto/zinc/selftest/poly1305.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto/zinc/selftest/poly1305.h b/src/crypto/zinc/selftest/poly1305.h
index 9cd291f..8138a93 100644
--- a/src/crypto/zinc/selftest/poly1305.h
+++ b/src/crypto/zinc/selftest/poly1305.h
@@ -834,7 +834,7 @@ bool __init poly1305_selftest(void)
simd_context);
poly1305_update(&poly1305, poly1305_testvecs[i].input,
poly1305_testvecs[i].ilen, simd_context);
- poly1305_finish(&poly1305, out, simd_context);
+ poly1305_final(&poly1305, out, simd_context);
if (memcmp(out, poly1305_testvecs[i].output,
POLY1305_MAC_SIZE)) {
pr_info("poly1305 self-test %zu: FAIL\n", i + 1);
@@ -856,7 +856,7 @@ bool __init poly1305_selftest(void)
poly1305_testvecs[i].input + j,
poly1305_testvecs[i].ilen - j,
simd_context);
- poly1305_finish(&poly1305, out, simd_context);
+ poly1305_final(&poly1305, out, simd_context);
if (memcmp(out, poly1305_testvecs[i].output,
POLY1305_MAC_SIZE)) {
pr_info("poly1305 self-test %zu (split %zu): FAIL\n",