vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.h in rbnacl-libsodium-1.0.8 vs vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.h in rbnacl-libsodium-1.0.9

- old
+ new

@@ -2,30 +2,11 @@ #define poly1305_donna_H #include <stddef.h> #include "crypto_onetimeauth_poly1305.h" +#include "../onetimeauth_poly1305.h" 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 */