Home
last modified time | relevance | path

Searched refs:ikm (Results 1 – 20 of 20) sorted by relevance

/openssl/providers/implementations/kem/
H A Decx_kem.c55 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 Dec_kem.c46 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 Decx.h28 const unsigned char *ikm, size_t ikmlen);
30 const unsigned char *ikm, size_t ikmlen);
/openssl/crypto/hpke/
H A Dhpke_util.c250 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 Dhpke.c1293 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 Dhpke_util.h74 const unsigned char *ikm, size_t ikmlen);
87 const unsigned char *ikm, size_t ikmlen);
H A Dquic_record_util.h31 const unsigned char *ikm, size_t ikm_len,
/openssl/ssl/quic/
H A Dquic_record_util.c26 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 Dhkdf.c61 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 Devp_pkey_dhkem_test.c129 (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 Dhpke_test.c1733 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 Ddhkem_test.inc13 const unsigned char *ikm;
/openssl/include/crypto/
H A Dec.h99 const unsigned char *ikm, size_t ikmlen);
/openssl/include/openssl/
H A Dhpke.h123 const unsigned char *ikm, size_t ikmlen,
/openssl/doc/man7/
H A DEVP_KEM-EC.pod48 If this value is not set, then a random ikm is used.
H A DEVP_KEM-X25519.pod47 If this value is not set, then a random ikm is used.
H A DEVP_PKEY-X25519.pod20 =item "dhkem-ikm" (B<OSSL_PKEY_PARAM_DHKEM_IKM>) <octet string>
H A DEVP_PKEY-EC.pod150 =item "dhkem-ikm" (B<OSSL_PKEY_PARAM_DHKEM_IKM>) <octet string>
/openssl/doc/man3/
H A DOSSL_HPKE_CTX_new.pod42 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 Dec_key.c411 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()

Completed in 38 milliseconds