#include "api.h" #include "randombytes.h" #include #include #define NTESTS 10000 int test_keys() { unsigned char key_a[CRYPTO_BYTES], key_b[CRYPTO_BYTES]; unsigned char pk[CRYPTO_PUBLICKEYBYTES]; unsigned char sendb[CRYPTO_CIPHERTEXTBYTES]; unsigned char sk_a[CRYPTO_SECRETKEYBYTES]; int i; for(i=0; i