| 1 | #include <cross_platform.h> |
| 2 | |
| 3 | #ifndef crypto_rng_salsa20_H |
| 4 | #define crypto_rng_salsa20_H |
| 5 | |
| 6 | #define crypto_rng_salsa20_ref_KEYBYTES 32 |
| 7 | #define crypto_rng_salsa20_ref_OUTPUTBYTES 736 |
| 8 | |
| 9 | #ifdef __cplusplus |
| 10 | extern "C" { |
| 11 | #endif |
| 12 | extern int INTERFACE crypto_rng_salsa20_ref(unsigned char *,unsigned char *,const unsigned char *); |
| 13 | #ifdef __cplusplus |
| 14 | } |
| 15 | #endif |
| 16 | |
| 17 | #define crypto_rng_salsa20 crypto_rng_salsa20_ref |
| 18 | #define crypto_rng_salsa20_KEYBYTES crypto_rng_salsa20_ref_KEYBYTES |
| 19 | #define crypto_rng_salsa20_OUTPUTBYTES crypto_rng_salsa20_ref_OUTPUTBYTES |
| 20 | #define crypto_rng_salsa20_IMPLEMENTATION "crypto_rng/salsa20/ref" |
| 21 | #ifndef crypto_rng_salsa20_ref_VERSION |
| 22 | #define crypto_rng_salsa20_ref_VERSION "-" |
| 23 | #endif |
| 24 | #define crypto_rng_salsa20_VERSION crypto_rng_salsa20_ref_VERSION |
| 25 | |
| 26 | #endif |