libsodium: Needed for Dnscrypto-proxy Release 1.3.0
[tomato.git] / release / src / router / libsodium / src / libsodium / crypto_box / curve25519xsalsa20poly1305 / box_curve25519xsalsa20poly1305_api.c
blob6f04bf86e3c3eb90c3816bd55ba1a59e6ef13b94
1 #include "crypto_box_curve25519xsalsa20poly1305.h"
3 size_t
4 crypto_box_curve25519xsalsa20poly1305_publickeybytes(void) {
5 return crypto_box_curve25519xsalsa20poly1305_PUBLICKEYBYTES;
8 size_t
9 crypto_box_curve25519xsalsa20poly1305_secretkeybytes(void) {
10 return crypto_box_curve25519xsalsa20poly1305_SECRETKEYBYTES;
13 size_t
14 crypto_box_curve25519xsalsa20poly1305_beforenmbytes(void) {
15 return crypto_box_curve25519xsalsa20poly1305_BEFORENMBYTES;
18 size_t
19 crypto_box_curve25519xsalsa20poly1305_noncebytes(void) {
20 return crypto_box_curve25519xsalsa20poly1305_NONCEBYTES;
23 size_t
24 crypto_box_curve25519xsalsa20poly1305_zerobytes(void) {
25 return crypto_box_curve25519xsalsa20poly1305_ZEROBYTES;
28 size_t
29 crypto_box_curve25519xsalsa20poly1305_boxzerobytes(void) {
30 return crypto_box_curve25519xsalsa20poly1305_BOXZEROBYTES;
33 size_t
34 crypto_box_curve25519xsalsa20poly1305_macbytes(void) {
35 return crypto_box_curve25519xsalsa20poly1305_MACBYTES;
38 const char *
39 crypto_box_curve25519xsalsa20poly1305_primitive(void) {
40 return "curve25519xsalsa20poly1305";