xref: /freebsd/sys/contrib/libsodium/src/libsodium/crypto_stream/salsa20/stream_salsa20.h (revision 3611ec604864a7d4dcc9a3ea898c80eb35eef8a0)
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