Home
last modified time | relevance | path

Searched refs:ikmlen (Results 1 – 13 of 13) sorted by relevance

/openssl/providers/implementations/kem/
H A Decx_kem.c56 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 Dec_kem.c47 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 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
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 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()
1312 || ikmlen > OSSL_HPKE_MAX_PARMLEN) { 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);
/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.inc14 size_t ikmlen;
/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/man3/
H A DOSSL_HPKE_CTX_new.pod42 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 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 40 milliseconds