/openssl/providers/implementations/kem/ |
H A D | ecx_kem.c | 55 unsigned char *ikm; member 173 OPENSSL_clear_free(ctx->ikm, ctx->ikmlen); in ecxkem_freectx() 263 OPENSSL_clear_free(ctx->ikm, ctx->ikmlen); in ecxkem_set_ctx_params() 264 ctx->ikm = tmp; in ecxkem_set_ctx_params() 339 const unsigned char *ikm, size_t ikmlen) in ossl_ecx_dhkem_derive_private() argument 364 OSSL_DHKEM_LABEL_DKP_PRK, ikm, ikmlen)) in ossl_ecx_dhkem_derive_private() 387 const unsigned char *ikm, size_t ikmlen) in derivekey() argument 392 unsigned char *seed = (unsigned char *)ikm; in derivekey() 424 if (seed != ikm) in derivekey() 574 sender_ephemkey = derivekey(ctx, ctx->ikm, ctx->ikmlen); in dhkem_encap()
|
H A D | ec_kem.c | 46 unsigned char *ikm; member 208 OPENSSL_clear_free(ctx->ikm, ctx->ikmlen); in eckem_freectx() 304 OPENSSL_clear_free(ctx->ikm, ctx->ikmlen); in eckem_set_ctx_params() 306 ctx->ikm = tmp; in eckem_set_ctx_params() 382 const unsigned char *ikm, size_t ikmlen) in ossl_ec_dhkem_derive_private() argument 420 OSSL_DHKEM_LABEL_DKP_PRK, ikm, ikmlen)) in ossl_ec_dhkem_derive_private() 457 const unsigned char *ikm, size_t ikmlen) in derivekey() argument 461 unsigned char *seed = (unsigned char *)ikm; in derivekey() 482 if (seed != ikm) in derivekey() 673 sender_ephemkey = derivekey(ctx, ctx->ikm, ctx->ikmlen); in dhkem_encap()
|
/openssl/providers/implementations/include/prov/ |
H A D | ecx.h | 28 const unsigned char *ikm, size_t ikmlen); 30 const unsigned char *ikm, size_t ikmlen);
|
/openssl/crypto/hpke/ |
H A D | hpke_util.c | 250 const unsigned char *ikm, size_t ikmlen, in kdf_derive() argument 260 if (ikm != NULL) in kdf_derive() 262 (char *)ikm, ikmlen); in kdf_derive() 276 const unsigned char *ikm, size_t ikmlen) in ossl_hpke_kdf_extract() argument 279 salt, saltlen, ikm, ikmlen, NULL, 0); in ossl_hpke_kdf_extract() 301 const unsigned char *ikm, size_t ikmlen) in ossl_hpke_labeled_extract() argument 326 || !WPACKET_memcpy(&pkt, ikm, ikmlen) in ossl_hpke_labeled_extract()
|
H A D | hpke.c | 1293 const unsigned char *ikm, size_t ikmlen, in OSSL_HPKE_keygen() argument 1310 if ((ikmlen > 0 && ikm == NULL) in OSSL_HPKE_keygen() 1311 || (ikmlen == 0 && ikm != NULL) in OSSL_HPKE_keygen() 1329 if (ikm != NULL) in OSSL_HPKE_keygen() 1331 (char *)ikm, ikmlen); in OSSL_HPKE_keygen()
|
/openssl/include/internal/ |
H A D | hpke_util.h | 74 const unsigned char *ikm, size_t ikmlen); 87 const unsigned char *ikm, size_t ikmlen);
|
H A D | quic_record_util.h | 31 const unsigned char *ikm, size_t ikm_len,
|
/openssl/ssl/quic/ |
H A D | quic_record_util.c | 26 const unsigned char *ikm, size_t ikm_len, in ossl_quic_hkdf_extract() argument 57 (unsigned char *)ikm, ikm_len); in ossl_quic_hkdf_extract()
|
/openssl/providers/implementations/kdfs/ |
H A D | hkdf.c | 61 const unsigned char *ikm, size_t ikm_len, 457 const unsigned char *ikm, size_t ikm_len, in HKDF() argument 472 salt, salt_len, ikm, ikm_len, prk, prk_len)) in HKDF() 508 const unsigned char *ikm, size_t ikm_len, in HKDF_Extract() argument 522 salt_len, ikm, ikm_len, prk, EVP_MD_get_size(evp_md), NULL) in HKDF_Extract()
|
/openssl/test/ |
H A D | evp_pkey_dhkem_test.c | 129 (char *)t->ikm, t->ikmlen); in test_ec_dhkem_derivekey_fail() 142 (char *)t->ikm, t->ikmlen); in test_ec_dhkem_derivekey_fail() 153 (char *)t->ikm, t->ikmlen - 1); in test_ec_dhkem_derivekey_fail() 480 (char *)t->ikm, t->ikmlen); in test_ec_dhkem_derivekey() 733 (char *)t->ikm, t->ikmlen); in test_ecx_dhkem_derivekey()
|
H A D | hpke_test.c | 1733 const unsigned char *ikm, size_t ikmlen, in test_hpke_one_ikm_gen() argument 1743 ikm, ikmlen, testctx, NULL))) in test_hpke_one_ikm_gen()
|
H A D | dhkem_test.inc | 13 const unsigned char *ikm;
|
/openssl/include/crypto/ |
H A D | ec.h | 99 const unsigned char *ikm, size_t ikmlen);
|
/openssl/include/openssl/ |
H A D | hpke.h | 123 const unsigned char *ikm, size_t ikmlen,
|
/openssl/doc/man7/ |
H A D | EVP_KEM-EC.pod | 48 If this value is not set, then a random ikm is used.
|
H A D | EVP_KEM-X25519.pod | 47 If this value is not set, then a random ikm is used.
|
H A D | EVP_PKEY-X25519.pod | 20 =item "dhkem-ikm" (B<OSSL_PKEY_PARAM_DHKEM_IKM>) <octet string>
|
H A D | EVP_PKEY-EC.pod | 150 =item "dhkem-ikm" (B<OSSL_PKEY_PARAM_DHKEM_IKM>) <octet string>
|
/openssl/doc/man3/ |
H A D | OSSL_HPKE_CTX_new.pod | 42 const unsigned char *ikm, size_t ikmlen, 306 OSSL_HPKE_keygen() also has an option to use that scheme, using the I<ikm> 307 parameter of size I<ikmlen>. If either I<ikm> is NULL or I<ikmlen> is zero, 384 setting a deterministic input key material I<ikm> of size I<ikmlen> into
|
/openssl/crypto/ec/ |
H A D | ec_key.c | 411 const unsigned char *ikm, size_t ikmlen) in ossl_ec_generate_key_dhkem() argument 420 if (ossl_ec_dhkem_derive_private(eckey, eckey->priv_key, ikm, ikmlen) <= 0) in ossl_ec_generate_key_dhkem()
|