1 2 #ifndef stream_salsa20_H 3 #define stream_salsa20_H 4 5 #include <stdint.h> 6 7 typedef struct crypto_stream_salsa20_implementation { 8 int (*stream)(unsigned char *c, unsigned long long clen, 9 const unsigned char *n, const unsigned char *k); 10 int (*stream_xor_ic)(unsigned char *c, const unsigned char *m, 11 unsigned long long mlen, 12 const unsigned char *n, uint64_t ic, 13 const unsigned char *k); 14 } crypto_stream_salsa20_implementation; 15 16 #endif 17