Home
last modified time | relevance | path

Searched refs:kdf_outlen (Results 1 – 5 of 5) sorted by relevance

/freebsd/crypto/openssl/crypto/dh/
H A Ddh_pmeth.c51 size_t kdf_outlen; member
113 dctx->kdf_outlen = sctx->kdf_outlen; in pkey_dh_copy()
189 dctx->kdf_outlen = (size_t)p1; in pkey_dh_ctrl()
193 *(int *)p2 = dctx->kdf_outlen; in pkey_dh_ctrl()
437 if (!dctx->kdf_outlen || !dctx->kdf_oid) in pkey_dh_derive()
440 *keylen = dctx->kdf_outlen; in pkey_dh_derive()
443 if (*keylen != dctx->kdf_outlen) in pkey_dh_derive()
457 *keylen = dctx->kdf_outlen; in pkey_dh_derive()
/freebsd/crypto/openssl/crypto/ec/
H A Dec_pmeth.c44 size_t kdf_outlen; member
83 dctx->kdf_outlen = sctx->kdf_outlen; in pkey_ec_copy()
225 *keylen = dctx->kdf_outlen; in pkey_ec_kdf_derive()
228 if (*keylen != dctx->kdf_outlen) in pkey_ec_kdf_derive()
337 dctx->kdf_outlen = (size_t)p1; in pkey_ec_ctrl()
341 *(int *)p2 = dctx->kdf_outlen; in pkey_ec_ctrl()
/freebsd/crypto/openssl/providers/implementations/exchange/
H A Ddh_exch.c77 size_t kdf_outlen; member
187 *secretlen = pdhctx->kdf_outlen; in dh_X9_42_kdf_derive()
191 if (pdhctx->kdf_outlen > outlen) { in dh_X9_42_kdf_derive()
206 if (!ossl_dh_kdf_X9_42_asn1(secret, pdhctx->kdf_outlen, in dh_X9_42_kdf_derive()
215 *secretlen = pdhctx->kdf_outlen; in dh_X9_42_kdf_derive()
368 pdhctx->kdf_outlen = outlen; in dh_set_ctx_params()
481 if (p != NULL && !OSSL_PARAM_set_size_t(p, pdhctx->kdf_outlen)) in dh_get_ctx_params()
H A Decdh_exch.c79 size_t kdf_outlen; member
300 pectx->kdf_outlen = outlen; in ecdh_set_ctx_params()
385 if (p != NULL && !OSSL_PARAM_set_size_t(p, pectx->kdf_outlen)) in ecdh_get_ctx_params()
516 *psecretlen = pecdhctx->kdf_outlen; in ecdh_X9_63_kdf_derive()
520 if (pecdhctx->kdf_outlen > outlen) { in ecdh_X9_63_kdf_derive()
534 if (!ossl_ecdh_kdf_X9_63(secret, pecdhctx->kdf_outlen, in ecdh_X9_63_kdf_derive()
541 *psecretlen = pecdhctx->kdf_outlen; in ecdh_X9_63_kdf_derive()
/freebsd/crypto/openssl/doc/man3/
H A DEVP_PKEY_CTX_ctrl.pod512 the I<kdf_oid>, I<kdf_md> and I<kdf_outlen> parameters must also be specified.
594 When using key derivation, the I<kdf_md> and I<kdf_outlen> parameters must