libsodium: Needed for Dnscrypto-proxy Release 1.3.0
[tomato.git] / release / src / router / libsodium / src / libsodium / include / sodium / crypto_core_salsa2012.h
blobb5decc73a33a566d71859c8353096478feb3e801
1 #ifndef crypto_core_salsa2012_H
2 #define crypto_core_salsa2012_H
4 #include <stddef.h>
5 #include "export.h"
7 #define crypto_core_salsa2012_OUTPUTBYTES 64U
8 #define crypto_core_salsa2012_INPUTBYTES 16U
9 #define crypto_core_salsa2012_KEYBYTES 32U
10 #define crypto_core_salsa2012_CONSTBYTES 16U
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
16 SODIUM_EXPORT
17 size_t crypto_core_salsa2012_outputbytes(void);
19 SODIUM_EXPORT
20 size_t crypto_core_salsa2012_inputbytes(void);
22 SODIUM_EXPORT
23 size_t crypto_core_salsa2012_keybytes(void);
25 SODIUM_EXPORT
26 size_t crypto_core_salsa2012_constbytes(void);
28 SODIUM_EXPORT
29 const char * crypto_core_salsa2012_primitive(void);
31 SODIUM_EXPORT
32 int crypto_core_salsa2012(unsigned char *,const unsigned char *,const unsigned char *,const unsigned char *);
34 #ifdef __cplusplus
36 #endif
38 #define crypto_core_salsa2012_ref crypto_core_salsa2012
40 #endif