Lines Matching refs:kem_id
82 static int hpke_kem_id_nist_curve(uint16_t kem_id) in hpke_kem_id_nist_curve() argument
86 kem_info = ossl_HPKE_KEM_INFO_find_id(kem_id); in hpke_kem_id_nist_curve()
323 if ((kem_info_ = ossl_HPKE_KEM_INFO_find_id(suite.kem_id)) == NULL) in hpke_suite_check()
359 suite->kem_id = kem_info->kem_id; in hpke_random_suite()
466 kem_info = ossl_HPKE_KEM_INFO_find_id(ctx->suite.kem_id); in hpke_encap()
471 if (hpke_kem_id_nist_curve(ctx->suite.kem_id) == 1) { in hpke_encap()
579 kem_info = ossl_HPKE_KEM_INFO_find_id(ctx->suite.kem_id); in hpke_decap()
584 if (hpke_kem_id_nist_curve(ctx->suite.kem_id) == 1) { in hpke_decap()
668 if (ossl_HPKE_KEM_INFO_find_id(ctx->suite.kem_id) == NULL) { in hpke_do_middle()
707 suitebuf[0] = ctx->suite.kem_id / 256; in hpke_do_middle()
708 suitebuf[1] = ctx->suite.kem_id % 256; in hpke_do_middle()
983 kem_info = ossl_HPKE_KEM_INFO_find_id(ctx->suite.kem_id); in OSSL_HPKE_CTX_set1_authpub()
986 if (hpke_kem_id_nist_curve(ctx->suite.kem_id) == 1) { in OSSL_HPKE_CTX_set1_authpub()
1273 suitebuf[0] = ctx->suite.kem_id / 256; in OSSL_HPKE_export()
1274 suitebuf[1] = ctx->suite.kem_id % 256; in OSSL_HPKE_export()
1317 if (hpke_kem_id_nist_curve(suite.kem_id) == 1) { in OSSL_HPKE_keygen()