aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/poly1305.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/poly1305.cpp')
-rw-r--r--src/crypto/poly1305.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/crypto/poly1305.cpp b/src/crypto/poly1305.cpp
index c89383c73a..7fcbab4108 100644
--- a/src/crypto/poly1305.cpp
+++ b/src/crypto/poly1305.cpp
@@ -221,11 +221,3 @@ void poly1305_update(poly1305_context *st, const unsigned char *m, size_t bytes)
}
} // namespace poly1305_donna
-
-void poly1305_auth(unsigned char mac[16], const unsigned char *m, size_t bytes, const unsigned char key[32]) {
- using namespace poly1305_donna;
- poly1305_context ctx;
- poly1305_init(&ctx, key);
- poly1305_update(&ctx, m, bytes);
- poly1305_finish(&ctx, mac);
-}