Home
last modified time | relevance | path

Searched refs:openctx (Results 1 – 1 of 1) sorted by relevance

/openssl/test/
H A Dhpke_test.c98 OSSL_HPKE_CTX *sealctx = NULL, *openctx = NULL; in do_testhpke() local
173 if (!TEST_ptr(openctx = OSSL_HPKE_CTX_new(base->mode, base->suite, in do_testhpke()
182 if (!TEST_true(OSSL_HPKE_CTX_set1_psk(openctx, base->pskid, in do_testhpke()
188 if (!TEST_true(OSSL_HPKE_CTX_set1_authpub(openctx, in do_testhpke()
192 if (!TEST_true(OSSL_HPKE_decap(openctx, enc, enclen, privR, in do_testhpke()
198 if (!TEST_true(OSSL_HPKE_open(openctx, ptout, &ptoutlen, in do_testhpke()
206 if (!TEST_true(OSSL_HPKE_CTX_get_seq(openctx, &lastseq))) in do_testhpke()
242 OSSL_HPKE_CTX_free(openctx); in do_testhpke()

Completed in 13 milliseconds