Warning, file /include/sodium/crypto_core_salsa20.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 #ifndef crypto_core_salsa20_H
0002 #define crypto_core_salsa20_H
0003
0004 #include <stddef.h>
0005 #include "export.h"
0006
0007 #ifdef __cplusplus
0008 extern "C" {
0009 #endif
0010
0011 #define crypto_core_salsa20_OUTPUTBYTES 64U
0012 SODIUM_EXPORT
0013 size_t crypto_core_salsa20_outputbytes(void);
0014
0015 #define crypto_core_salsa20_INPUTBYTES 16U
0016 SODIUM_EXPORT
0017 size_t crypto_core_salsa20_inputbytes(void);
0018
0019 #define crypto_core_salsa20_KEYBYTES 32U
0020 SODIUM_EXPORT
0021 size_t crypto_core_salsa20_keybytes(void);
0022
0023 #define crypto_core_salsa20_CONSTBYTES 16U
0024 SODIUM_EXPORT
0025 size_t crypto_core_salsa20_constbytes(void);
0026
0027 SODIUM_EXPORT
0028 int crypto_core_salsa20(unsigned char *out, const unsigned char *in,
0029 const unsigned char *k, const unsigned char *c)
0030 __attribute__ ((nonnull(1, 2, 3)));
0031
0032 #ifdef __cplusplus
0033 }
0034 #endif
0035
0036 #endif