bcachefs-tools/include/crypto/poly1305.h

14 lines
290 B
C
Raw Normal View History

2017-01-08 12:13:18 +03:00
/*
* Common values for the Poly1305 algorithm
*/
#ifndef _CRYPTO_POLY1305_H
#define _CRYPTO_POLY1305_H
2016-10-04 06:22:17 +03:00
#include <sodium/crypto_onetimeauth_poly1305.h>
2017-01-08 12:13:18 +03:00
2016-10-04 06:22:17 +03:00
#define POLY1305_KEY_SIZE crypto_onetimeauth_poly1305_KEYBYTES
#define POLY1305_DIGEST_SIZE crypto_onetimeauth_poly1305_BYTES
2017-01-08 12:13:18 +03:00
#endif