libsodium: Needed for Dnscrypto-proxy Release 1.3.0
[tomato.git] / release / src / router / libsodium / src / libsodium / crypto_secretbox / xsalsa20poly1305 / secretbox_xsalsa20poly1305_api.c
blob498437f3621baf0c8449cc8fc2210e997335a303
1 #include "crypto_secretbox_xsalsa20poly1305.h"
3 size_t
4 crypto_secretbox_xsalsa20poly1305_keybytes(void) {
5 return crypto_secretbox_xsalsa20poly1305_KEYBYTES;
8 size_t
9 crypto_secretbox_xsalsa20poly1305_noncebytes(void) {
10 return crypto_secretbox_xsalsa20poly1305_NONCEBYTES;
13 size_t
14 crypto_secretbox_xsalsa20poly1305_zerobytes(void) {
15 return crypto_secretbox_xsalsa20poly1305_ZEROBYTES;
18 size_t
19 crypto_secretbox_xsalsa20poly1305_boxzerobytes(void) {
20 return crypto_secretbox_xsalsa20poly1305_BOXZEROBYTES;
23 const char *
24 crypto_secretbox_xsalsa20poly1305_primitive(void) {
25 return "xsalsa20poly1305";