Warning, file /include/sodium/crypto_stream_salsa208.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_stream_salsa208_H
0002 #define crypto_stream_salsa208_H
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #include <stddef.h>
0013 #include "export.h"
0014
0015 #ifdef __cplusplus
0016 # ifdef __GNUC__
0017 # pragma GCC diagnostic ignored "-Wlong-long"
0018 # endif
0019 extern "C" {
0020 #endif
0021
0022 #define crypto_stream_salsa208_KEYBYTES 32U
0023 SODIUM_EXPORT
0024 size_t crypto_stream_salsa208_keybytes(void)
0025 __attribute__ ((deprecated));
0026
0027 #define crypto_stream_salsa208_NONCEBYTES 8U
0028 SODIUM_EXPORT
0029 size_t crypto_stream_salsa208_noncebytes(void)
0030 __attribute__ ((deprecated));
0031
0032 #define crypto_stream_salsa208_MESSAGEBYTES_MAX SODIUM_SIZE_MAX
0033 SODIUM_EXPORT
0034 size_t crypto_stream_salsa208_messagebytes_max(void)
0035 __attribute__ ((deprecated));
0036
0037 SODIUM_EXPORT
0038 int crypto_stream_salsa208(unsigned char *c, unsigned long long clen,
0039 const unsigned char *n, const unsigned char *k)
0040 __attribute__ ((deprecated)) __attribute__ ((nonnull));
0041
0042 SODIUM_EXPORT
0043 int crypto_stream_salsa208_xor(unsigned char *c, const unsigned char *m,
0044 unsigned long long mlen, const unsigned char *n,
0045 const unsigned char *k)
0046 __attribute__ ((deprecated)) __attribute__ ((nonnull));
0047
0048 SODIUM_EXPORT
0049 void crypto_stream_salsa208_keygen(unsigned char k[crypto_stream_salsa208_KEYBYTES])
0050 __attribute__ ((deprecated)) __attribute__ ((nonnull));
0051
0052 #ifdef __cplusplus
0053 }
0054 #endif
0055
0056 #endif