Searched refs:use_kat (Results 1 - 1 of 1) sorted by relevance
/netbsd-current/crypto/external/bsd/openssl/dist/demos/keyexch/ |
H A D | x25519.c | 22 * below when use_kat=0. A known answer test is demonstrated 23 * when use_kat=1. 119 int use_kat, 203 static int keyexch_x25519(int use_kat) argument 214 if (keyexch_x25519_before(libctx, use_kat ? peer1_privk_data : NULL, 218 if (keyexch_x25519_before(libctx, use_kat ? peer2_privk_data : NULL, 227 if (keyexch_x25519_after(libctx, use_kat, &peer1, peer2.pubk_data) == 0) 230 if (keyexch_x25519_after(libctx, use_kat, &peer2, peer1.pubk_data) == 0) 247 if (use_kat && CRYPTO_memcmp(peer1.secret, expected_result, 117 keyexch_x25519_after( OSSL_LIB_CTX *libctx, int use_kat, PEER_DATA *local_peer, const unsigned char *remote_peer_pubk_data) argument
|
Completed in 75 milliseconds