Searched refs:use_kat (Results 1 – 1 of 1) sorted by relevance
/openssl/demos/keyexch/ |
H A D | x25519.c | 119 int use_kat, in keyexch_x25519_after() argument 203 static int keyexch_x25519(int use_kat) in keyexch_x25519() argument 214 if (keyexch_x25519_before(libctx, use_kat ? peer1_privk_data : NULL, in keyexch_x25519() 218 if (keyexch_x25519_before(libctx, use_kat ? peer2_privk_data : NULL, in keyexch_x25519() 227 if (keyexch_x25519_after(libctx, use_kat, &peer1, peer2.pubk_data) == 0) in keyexch_x25519() 230 if (keyexch_x25519_after(libctx, use_kat, &peer2, peer1.pubk_data) == 0) in keyexch_x25519() 247 if (use_kat && CRYPTO_memcmp(peer1.secret, expected_result, in keyexch_x25519()
|
Completed in 4 milliseconds