Searched refs:kem_id (Results 1 – 8 of 8) sorted by relevance
82 static int hpke_kem_id_nist_curve(uint16_t kem_id) in hpke_kem_id_nist_curve() argument86 kem_info = ossl_HPKE_KEM_INFO_find_id(kem_id); in hpke_kem_id_nist_curve()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()707 suitebuf[0] = ctx->suite.kem_id / 256; in hpke_do_middle()708 suitebuf[1] = ctx->suite.kem_id % 256; in hpke_do_middle()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()[all …]
185 if (hpke_kem_tab[i].kem_id == kemid) in ossl_HPKE_KEM_INFO_find_id()520 suite->kem_id = kem; in ossl_hpke_str2suite()
965 uint16_t kem_id = hpke_kem_list[kemind]; in test_hpke_modes_suites() local971 hpke_suite.kem_id = kem_id; in test_hpke_modes_suites()1057 if (hpke_suite.kem_id == OSSL_HPKE_KEM_ID_P256) { in test_hpke_modes_suites()1101 kem_str_list[kemind], kem_id, in test_hpke_modes_suites()1681 suite.kem_id = OSSL_HPKE_KEM_ID_P521; in test_hpke_random_suites()1696 suite.kem_id = OSSL_HPKE_KEM_ID_X25519; /* back to default */ in test_hpke_random_suites()1711 suite.kem_id = 0x4517; /* bad kem */ in test_hpke_random_suites()1732 static int test_hpke_one_ikm_gen(uint16_t kem_id, in test_hpke_one_ikm_gen() argument1741 hpke_suite.kem_id = kem_id; in test_hpke_one_ikm_gen()1816 hpke_suite.kem_id = OSSL_HPKE_KEM_ID_P256; in test_hpke_compressed()
32 uint16_t kem_id; /* code point for key encipherment method */ member
359 suiteid[0] = info->kem_id / 256; in ossl_ecx_dhkem_derive_private()360 suiteid[1] = info->kem_id % 256; in ossl_ecx_dhkem_derive_private()517 info->kem_id, dhkm, dhkmlen, in derive_secret()
415 suiteid[0] = info->kem_id / 256; in ossl_ec_dhkem_derive_private()416 suiteid[1] = info->kem_id % 256; in ossl_ec_dhkem_derive_private()614 info->kem_id, dhkm, dhkmlen, in derive_secret()
81 uint16_t kem_id; /* Key Encapsulation Method id */ member
22 uint16_t kem_id;113 The KEM identifier I<kem_id> is one of the following:
Completed in 36 milliseconds