blob: 53524a62699631c15c039584c4efd22607195a8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "crypto_stream.h"
int crypto_stream(
unsigned char *out,
unsigned long long outlen,
const unsigned char *n,
const unsigned char *k
)
{
unsigned char d[crypto_stream_BEFORENMBYTES];
crypto_stream_beforenm(d, k);
crypto_stream_afternm(out, outlen, n, d);
return 0;
}
|