]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - include/crypto/poly1305.h
Move c_src dirs back to toplevel
[bcachefs-tools-debian] / include / crypto / poly1305.h
diff --git a/include/crypto/poly1305.h b/include/crypto/poly1305.h
new file mode 100644 (file)
index 0000000..9fcfbfe
--- /dev/null
@@ -0,0 +1,13 @@
+/*
+ * Common values for the Poly1305 algorithm
+ */
+
+#ifndef _CRYPTO_POLY1305_H
+#define _CRYPTO_POLY1305_H
+
+#include <sodium/crypto_onetimeauth_poly1305.h>
+
+#define POLY1305_KEY_SIZE      crypto_onetimeauth_poly1305_KEYBYTES
+#define POLY1305_DIGEST_SIZE   crypto_onetimeauth_poly1305_BYTES
+
+#endif