summaryrefslogtreecommitdiff
path: root/src/libsodium/crypto_stream/chacha20/ref/api.h
blob: 3d85867059228d7852b476adaddd9a9bfdc6dabf (plain)
1
2
3
4
5
6
7
8
9
10
11
12

#include "crypto_stream_chacha20.h"

int
crypto_stream_chacha20_ref(unsigned char *c, unsigned long long clen,
                           const unsigned char *n, const unsigned char *k);

int
crypto_stream_chacha20_ref_xor_ic(unsigned char *c, const unsigned char *m,
                                  unsigned long long mlen,
                                  const unsigned char *n, uint64_t ic,
                                  const unsigned char *k);