Searched refs:spriv (Results 1 – 2 of 2) sorted by relevance
/openssl/test/ |
H A D | evp_pkey_dhkem_test.c | 42 EVP_PKEY *rpub = NULL, *spriv = NULL; in test_dhkem_encapsulate() local 46 t->spriv != NULL ? "Auth" : ""); in test_dhkem_encapsulate() 51 if (t->spriv != NULL) { in test_dhkem_encapsulate() 52 if (!TEST_ptr(spriv = new_raw_private_key(t->curve, in test_dhkem_encapsulate() 53 t->spriv, t->sprivlen, in test_dhkem_encapsulate() 57 ret = do_encap(t, rpub, spriv); in test_dhkem_encapsulate() 59 EVP_PKEY_free(spriv); in test_dhkem_encapsulate()
|
H A D | dhkem_test.inc | 42 const unsigned char *spriv; 651 static int do_encap(const TEST_ENCAPDATA *t, EVP_PKEY *rpub, EVP_PKEY *spriv) 669 if (t->spriv == NULL) { 673 if (!TEST_int_eq(EVP_PKEY_auth_encapsulate_init(sctx, spriv, params), 1))
|
Completed in 9 milliseconds