summaryrefslogtreecommitdiff
path: root/src/libsodium/crypto_onetimeauth
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsodium/crypto_onetimeauth')
-rw-r--r--src/libsodium/crypto_onetimeauth/poly1305/donna/auth_poly1305_donna.c3
-rw-r--r--src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/libsodium/crypto_onetimeauth/poly1305/donna/auth_poly1305_donna.c b/src/libsodium/crypto_onetimeauth/poly1305/donna/auth_poly1305_donna.c
index acd04c0..eb05e02 100644
--- a/src/libsodium/crypto_onetimeauth/poly1305/donna/auth_poly1305_donna.c
+++ b/src/libsodium/crypto_onetimeauth/poly1305/donna/auth_poly1305_donna.c
@@ -86,12 +86,13 @@ crypto_onetimeauth_poly1305_donna_final(crypto_onetimeauth_poly1305_state *state
return 0;
}
-
+/* LCOV_EXCL_START */
const char *
crypto_onetimeauth_poly1305_donna_implementation_name(void)
{
return POLY1305_IMPLEMENTATION_NAME;
}
+/* LCOV_EXCL_STOP */
struct crypto_onetimeauth_poly1305_implementation
crypto_onetimeauth_poly1305_donna_implementation = {
diff --git a/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305.c b/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305.c
index 3eb28e5..14253b7 100644
--- a/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305.c
+++ b/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305.c
@@ -2,6 +2,7 @@
#include "crypto_onetimeauth_poly1305.h"
#include "donna/poly1305_donna.h"
+/* LCOV_EXCL_START */
static const crypto_onetimeauth_poly1305_implementation *implementation =
&crypto_onetimeauth_poly1305_donna_implementation;
@@ -18,6 +19,7 @@ crypto_onetimeauth_poly1305_implementation_name(void)
{
return implementation->implementation_name();
}
+/* LCOV_EXCL_STOP */
int
crypto_onetimeauth_poly1305(unsigned char *out, const unsigned char *in,