/openssl/providers/implementations/kem/ |
H A D | ecx_kem.c | 56 size_t ikmlen; 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() 265 ctx->ikmlen = tmplen; in ecxkem_set_ctx_params() 339 const unsigned char *ikm, size_t ikmlen) in ossl_ecx_dhkem_derive_private() argument 348 if (ikmlen < info->Nsk) { in ossl_ecx_dhkem_derive_private() 351 ikmlen, info->Nsk); in ossl_ecx_dhkem_derive_private() 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 393 size_t seedlen = ikmlen; in derivekey() [all …]
|
H A D | ec_kem.c | 47 size_t ikmlen; 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() 307 ctx->ikmlen = tmplen; in eckem_set_ctx_params() 382 const unsigned char *ikm, size_t ikmlen) in ossl_ec_dhkem_derive_private() argument 408 if (ikmlen < info->Nsecret) { in ossl_ec_dhkem_derive_private() 411 ikmlen, info->Nsecret); in ossl_ec_dhkem_derive_private() 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 462 size_t seedlen = ikmlen; in derivekey() [all …]
|
/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 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 315 + suiteidlen + labellen + ikmlen; in ossl_hpke_labeled_extract() 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() 1312 || ikmlen > OSSL_HPKE_MAX_PARMLEN) { 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);
|
/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 | 14 size_t ikmlen;
|
/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/man3/ |
H A D | OSSL_HPKE_CTX_new.pod | 42 const unsigned char *ikm, size_t ikmlen, 219 implementation we apply a limit of 66 octets for the I<ikmlen>, I<psklen>, and 307 parameter of size I<ikmlen>. If either I<ikm> is NULL or I<ikmlen> is zero, 309 If required I<ikmlen> should be greater than or equal to 384 setting a deterministic input key material I<ikm> of size I<ikmlen> into 388 I<ikmlen> should be greater than or equal to OSSL_HPKE_get_recommended_ikmelen(). 441 I<ikmlen> should be at least this size.
|
/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()
|