| 1 | #include <cross_platform.h> |
| 2 | |
| 3 | #ifndef crypto_core_salsa20_H |
| 4 | #define crypto_core_salsa20_H |
| 5 | |
| 6 | #define crypto_core_salsa20_ref_OUTPUTBYTES 64 |
| 7 | #define crypto_core_salsa20_ref_INPUTBYTES 16 |
| 8 | #define crypto_core_salsa20_ref_KEYBYTES 32 |
| 9 | #define crypto_core_salsa20_ref_CONSTBYTES 16 |
| 10 | |
| 11 | #ifdef __cplusplus |
| 12 | extern "C" { |
| 13 | #endif |
| 14 | extern int INTERFACE crypto_core_salsa20_ref(unsigned char *,const unsigned char *,const unsigned char *,const unsigned char *); |
| 15 | #ifdef __cplusplus |
| 16 | } |
| 17 | #endif |
| 18 | |
| 19 | #define crypto_core_salsa20 crypto_core_salsa20_ref |
| 20 | #define crypto_core_salsa20_OUTPUTBYTES crypto_core_salsa20_ref_OUTPUTBYTES |
| 21 | #define crypto_core_salsa20_INPUTBYTES crypto_core_salsa20_ref_INPUTBYTES |
| 22 | #define crypto_core_salsa20_KEYBYTES crypto_core_salsa20_ref_KEYBYTES |
| 23 | #define crypto_core_salsa20_CONSTBYTES crypto_core_salsa20_ref_CONSTBYTES |
| 24 | #define crypto_core_salsa20_IMPLEMENTATION "crypto_core/salsa20/ref" |
| 25 | #ifndef crypto_core_salsa20_ref_VERSION |
| 26 | #define crypto_core_salsa20_ref_VERSION "-" |
| 27 | #endif |
| 28 | #define crypto_core_salsa20_VERSION crypto_core_salsa20_ref_VERSION |
| 29 | |
| 30 | #endif |