HomeSort by: relevance | last modified time | path
    Searched refs:kem_id (Results 1 - 15 of 15) sorted by relevancy

  /src/crypto/external/apache2/openssl/dist/crypto/hpke/
hpke.c 79 * @param kem_id is the externally supplied kem_id
82 static int hpke_kem_id_nist_curve(uint16_t kem_id)
86 kem_info = ossl_HPKE_KEM_INFO_find_id(kem_id);
325 if ((kem_info_ = ossl_HPKE_KEM_INFO_find_id(suite.kem_id)) == NULL)
361 suite->kem_id = kem_info->kem_id;
468 kem_info = ossl_HPKE_KEM_INFO_find_id(ctx->suite.kem_id);
473 if (hpke_kem_id_nist_curve(ctx->suite.kem_id) == 1) {
583 kem_info = ossl_HPKE_KEM_INFO_find_id(ctx->suite.kem_id);
    [all...]
hpke_util.c 185 if (hpke_kem_tab[i].kem_id == kemid)
523 suite->kem_id = kem;
  /src/crypto/external/apache2/openssl/dist/include/internal/
hpke_util.h 32 uint16_t kem_id; /* code point for key encipherment method */ member in struct:__anon418
  /src/crypto/external/apache2/openssl/dist/include/openssl/
hpke.h 81 uint16_t kem_id; /* Key Encapsulation Method id */ member in struct:__anon455
  /src/external/bsd/wpa/dist/src/crypto/
crypto_openssl.c 4600 enum hpke_kem_id kem_id; member in struct:hpke_context
4630 static struct hpke_context * hpke_get_context(enum hpke_kem_id kem_id,
4642 ctx->kem_id = kem_id;
4643 switch (kem_id) {
4737 WPA_PUT_BE16(&suite_id[3], ctx->kem_id);
4741 WPA_PUT_BE16(&suite_id[4], ctx->kem_id);
5154 static struct wpabuf * hpke_base_seal_int(enum hpke_kem_id kem_id,
5167 ctx = hpke_get_context(kem_id, kdf_id, aead_id, peer_pub);
5318 static struct wpabuf * hpke_base_open_int(enum hpke_kem_id kem_id,
    [all...]
crypto.h 1360 struct wpabuf * hpke_base_seal(enum hpke_kem_id kem_id,
1373 struct wpabuf * hpke_base_open(enum hpke_kem_id kem_id,
crypto_module_tests.c 2198 enum hpke_kem_id kem_id; member in struct:hpke_test
2213 .kem_id = HPKE_DHKEM_P256_HKDF_SHA256,
2228 .kem_id = HPKE_DHKEM_P256_HKDF_SHA256,
2243 .kem_id = HPKE_DHKEM_P521_HKDF_SHA512,
2258 .kem_id = HPKE_DHKEM_P384_HKDF_SHA384,
2273 .kem_id = HPKE_DHKEM_P256_HKDF_SHA256,
2288 .kem_id = HPKE_DHKEM_P384_HKDF_SHA384,
2303 .kem_id = HPKE_DHKEM_P521_HKDF_SHA512,
2356 res_pt = hpke_base_open(test->kem_id, test->kdf_id, test->aead_id,
2405 res_ct = hpke_base_seal(test->kem_id, test->kdf_id, test->aead_id
    [all...]
  /src/crypto/external/apache2/openssl/dist/providers/implementations/kem/
ec_kem.c 416 suiteid[0] = info->kem_id / 256;
417 suiteid[1] = info->kem_id % 256;
616 info->kem_id, dhkm, dhkmlen,
ecx_kem.c 360 suiteid[0] = info->kem_id / 256;
361 suiteid[1] = info->kem_id % 256;
518 info->kem_id, dhkm, dhkmlen,
  /src/crypto/external/apache2/openssl/dist/test/
hpke_test.c 1057 uint16_t kem_id = hpke_kem_list[kemind]; local
1063 hpke_suite.kem_id = kem_id;
1150 if (hpke_suite.kem_id == OSSL_HPKE_KEM_ID_P256) {
1194 kem_str_list[kemind], kem_id,
1777 suite.kem_id = OSSL_HPKE_KEM_ID_P521;
1792 suite.kem_id = OSSL_HPKE_KEM_ID_X25519; /* back to default */
1807 suite.kem_id = 0x4517; /* bad kem */
1817 * @param kem_id the KEM to use (RFC9180 code point)
1828 static int test_hpke_one_ikm_gen(uint16_t kem_id,
    [all...]
  /src/external/bsd/wpa/dist/src/common/
dpp.h 424 enum hpke_kem_id kem_id; member in struct:dpp_introduction
713 int dpp_hpke_suite(int iana_group, enum hpke_kem_id *kem_id,
dpp_crypto.c 2481 int dpp_hpke_suite(int iana_group, enum hpke_kem_id *kem_id,
2486 *kem_id = HPKE_DHKEM_P256_HKDF_SHA256;
2491 *kem_id = HPKE_DHKEM_P384_HKDF_SHA384;
2496 *kem_id = HPKE_DHKEM_P521_HKDF_SHA512;
2501 *kem_id = HPKE_DHKEM_P256_HKDF_SHA256;
2506 *kem_id = HPKE_DHKEM_P384_HKDF_SHA384;
2511 *kem_id = HPKE_DHKEM_P521_HKDF_SHA512;
dpp.c 4265 if (dpp_hpke_suite(curve->ike_group, &intro->kem_id, &intro->kdf_id,
  /src/external/bsd/wpa/dist/src/ap/
dpp_hostapd.c 2792 enum hpke_kem_id kem_id; local
2846 if (dpp_hpke_suite(curve->ike_group, &kem_id, &kdf_id, &aead_id) < 0) {
2853 pt = hpke_base_open(kem_id, kdf_id, aead_id, own_key, NULL, 0,
  /src/external/bsd/wpa/dist/wpa_supplicant/
dpp_supplicant.c 3803 wpa_printf(MSG_DEBUG, "HPKE(kem_id=%u kdf_id=%u aead_id=%u)",
3804 intro->kem_id, intro->kdf_id, intro->aead_id);
3840 enc_ct = hpke_base_seal(intro->kem_id, intro->kdf_id, intro->aead_id,

Completed in 81 milliseconds