libsodium: Needed for Dnscrypto-proxy Release 1.3.0
[tomato.git] / release / src / router / libsodium / src / libsodium / include / sodium / crypto_core_salsa208.h
blob4cc2fa518573ced895d9f97511d571cb893ff926
1 #ifndef crypto_core_salsa208_H
2 #define crypto_core_salsa208_H
4 #include <stddef.h>
5 #include "export.h"
7 #define crypto_core_salsa208_OUTPUTBYTES 64U
8 #define crypto_core_salsa208_INPUTBYTES 16U
9 #define crypto_core_salsa208_KEYBYTES 32U
10 #define crypto_core_salsa208_CONSTBYTES 16U
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
16 SODIUM_EXPORT
17 size_t crypto_core_salsa208_outputbytes(void);
19 SODIUM_EXPORT
20 size_t crypto_core_salsa208_inputbytes(void);
22 SODIUM_EXPORT
23 size_t crypto_core_salsa208_keybytes(void);
25 SODIUM_EXPORT
26 size_t crypto_core_salsa208_constbytes(void);
28 SODIUM_EXPORT
29 const char * crypto_core_salsa208_primitive(void);
31 SODIUM_EXPORT
32 int crypto_core_salsa208(unsigned char *,const unsigned char *,const unsigned char *,const unsigned char *);
34 #ifdef __cplusplus
36 #endif
38 #define crypto_core_salsa208_ref crypto_core_salsa208
40 #endif