From f4397f12d0144a44c01d7fec5eab4548a5d0a947 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 6 Mar 2016 13:55:04 +0100 Subject: [PATCH] Remove unneeded prototypes --- .../poly1305/donna/poly1305_donna.h | 20 ------------------- .../poly1305/sse2/poly1305_sse2.h | 20 ------------------- 2 files changed, 40 deletions(-) diff --git a/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.h b/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.h index 344ee83c..45fd20fc 100644 --- a/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.h +++ b/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.h @@ -8,24 +8,4 @@ extern struct crypto_onetimeauth_poly1305_implementation crypto_onetimeauth_poly1305_donna_implementation; -static int crypto_onetimeauth_poly1305_donna(unsigned char *out, - const unsigned char *in, - unsigned long long inlen, - const unsigned char *k); - -static int crypto_onetimeauth_poly1305_donna_verify(const unsigned char *h, - const unsigned char *in, - unsigned long long inlen, - const unsigned char *k); - -static int crypto_onetimeauth_poly1305_donna_init(crypto_onetimeauth_poly1305_state *state, - const unsigned char *key); - -static int crypto_onetimeauth_poly1305_donna_update(crypto_onetimeauth_poly1305_state *state, - const unsigned char *in, - unsigned long long inlen); - -static int crypto_onetimeauth_poly1305_donna_final(crypto_onetimeauth_poly1305_state *state, - unsigned char *out); - #endif /* poly1305_donna_H */ diff --git a/src/libsodium/crypto_onetimeauth/poly1305/sse2/poly1305_sse2.h b/src/libsodium/crypto_onetimeauth/poly1305/sse2/poly1305_sse2.h index 8029b00a..b5747a80 100644 --- a/src/libsodium/crypto_onetimeauth/poly1305/sse2/poly1305_sse2.h +++ b/src/libsodium/crypto_onetimeauth/poly1305/sse2/poly1305_sse2.h @@ -8,24 +8,4 @@ extern struct crypto_onetimeauth_poly1305_implementation crypto_onetimeauth_poly1305_sse2_implementation; -static int crypto_onetimeauth_poly1305_sse2(unsigned char *out, - const unsigned char *in, - unsigned long long inlen, - const unsigned char *k); - -static int crypto_onetimeauth_poly1305_sse2_verify(const unsigned char *h, - const unsigned char *in, - unsigned long long inlen, - const unsigned char *k); - -static int crypto_onetimeauth_poly1305_sse2_init(crypto_onetimeauth_poly1305_state *state, - const unsigned char *key); - -static int crypto_onetimeauth_poly1305_sse2_update(crypto_onetimeauth_poly1305_state *state, - const unsigned char *in, - unsigned long long inlen); - -static int crypto_onetimeauth_poly1305_sse2_final(crypto_onetimeauth_poly1305_state *state, - unsigned char *out); - #endif /* poly1305_sse2_H */