Home
last modified time | relevance | path

Searched refs:sealctx (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
123 if (!TEST_ptr(sealctx = OSSL_HPKE_CTX_new(base->mode, base->suite, 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()
[all …]

Completed in 9 milliseconds