1 #ifndef crypto_core_salsa2012_H 2 #define crypto_core_salsa2012_H 3 4 #include <stddef.h> 5 #include "export.h" 6 7 #ifdef __cplusplus 8 extern "C" { 9 #endif 10 11 #define crypto_core_salsa2012_OUTPUTBYTES 64U 12 SODIUM_EXPORT 13 size_t crypto_core_salsa2012_outputbytes(void); 14 15 #define crypto_core_salsa2012_INPUTBYTES 16U 16 SODIUM_EXPORT 17 size_t crypto_core_salsa2012_inputbytes(void); 18 19 #define crypto_core_salsa2012_KEYBYTES 32U 20 SODIUM_EXPORT 21 size_t crypto_core_salsa2012_keybytes(void); 22 23 #define crypto_core_salsa2012_CONSTBYTES 16U 24 SODIUM_EXPORT 25 size_t crypto_core_salsa2012_constbytes(void); 26 27 SODIUM_EXPORT 28 int crypto_core_salsa2012(unsigned char *out, const unsigned char *in, 29 const unsigned char *k, const unsigned char *c); 30 31 #ifdef __cplusplus 32 } 33 #endif 34 35 #endif 36