Home
last modified time | relevance | path

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

/openssl/crypto/hpke/
H A Dhpke.c82 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()
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 …]
H A Dhpke_util.c185 if (hpke_kem_tab[i].kem_id == kemid) in ossl_HPKE_KEM_INFO_find_id()
520 suite->kem_id = kem; in ossl_hpke_str2suite()
/openssl/test/
H A Dhpke_test.c965 uint16_t kem_id = hpke_kem_list[kemind]; in test_hpke_modes_suites() local
971 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() argument
1741 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()
/openssl/include/internal/
H A Dhpke_util.h32 uint16_t kem_id; /* code point for key encipherment method */ member
/openssl/providers/implementations/kem/
H A Decx_kem.c359 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()
H A Dec_kem.c415 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()
/openssl/include/openssl/
H A Dhpke.h81 uint16_t kem_id; /* Key Encapsulation Method id */ member
/openssl/doc/man3/
H A DOSSL_HPKE_CTX_new.pod22 uint16_t kem_id;
113 The KEM identifier I<kem_id> is one of the following:

Completed in 23 milliseconds