Changes to update Tomato RAF.
[tomato.git] / release / src / router / dnscrypt / src / libnacl / crypto_box / curve25519xsalsa20poly1305 / ref / keypair.c
blob233bc9503acf9b66897971e36b90196d0962e75a
1 #include "crypto_scalarmult_curve25519.h"
2 #include "crypto_box.h"
3 #include "randombytes.h"
5 int crypto_box_keypair(
6 unsigned char *pk,
7 unsigned char *sk
10 randombytes(sk,32);
11 return crypto_scalarmult_curve25519_base(pk,sk);