aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/poly1305.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh/poly1305.h')
-rw-r--r--include/libssh/poly1305.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/libssh/poly1305.h b/include/libssh/poly1305.h
index 9174bd17..513f1b99 100644
--- a/include/libssh/poly1305.h
+++ b/include/libssh/poly1305.h
@@ -5,9 +5,7 @@
#ifndef POLY1305_H
#define POLY1305_H
-
-#define POLY1305_KEYLEN 32
-#define POLY1305_TAGLEN 16
+#include "libssh/chacha20-poly1305-common.h"
void poly1305_auth(uint8_t out[POLY1305_TAGLEN], const uint8_t *m, size_t inlen,
const uint8_t key[POLY1305_KEYLEN])