Lines Matching refs:sealctx
98 OSSL_HPKE_CTX *sealctx = NULL, *openctx = NULL; in do_testhpke() local
123 if (!TEST_ptr(sealctx = OSSL_HPKE_CTX_new(base->mode, base->suite, in do_testhpke()
127 if (!TEST_true(OSSL_HPKE_CTX_set1_ikme(sealctx, base->ikmE, base->ikmElen))) in do_testhpke()
138 if (!TEST_true(OSSL_HPKE_CTX_set1_authpriv(sealctx, authpriv))) in do_testhpke()
148 if (!TEST_true(OSSL_HPKE_CTX_set1_psk(sealctx, base->pskid, in do_testhpke()
152 if (!TEST_true(OSSL_HPKE_encap(sealctx, enc, &enclen, in do_testhpke()
161 if (!TEST_true(OSSL_HPKE_seal(sealctx, ct, &ctlen, in do_testhpke()
168 if (!TEST_true(OSSL_HPKE_CTX_get_seq(sealctx, &lastseq))) in do_testhpke()
219 if (!TEST_false(OSSL_HPKE_export(sealctx, eval, len, in do_testhpke()
223 if (!TEST_true(OSSL_HPKE_export(sealctx, eval, len, in do_testhpke()
234 if (!TEST_false(OSSL_HPKE_seal(sealctx, ct, &ctlen, in do_testhpke()
241 OSSL_HPKE_CTX_free(sealctx); in do_testhpke()