Home
last modified time | relevance | path

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

/netbsd/crypto/external/bsd/openssl/dist/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()
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/dh/
H A Ddh_pmeth.c46 size_t kdf_outlen; member
107 dctx->kdf_outlen = sctx->kdf_outlen; in pkey_dh_copy()
187 dctx->kdf_outlen = (size_t)p1; in pkey_dh_ctrl()
191 *(int *)p2 = dctx->kdf_outlen; in pkey_dh_ctrl()
452 if (!dctx->kdf_outlen || !dctx->kdf_oid) in pkey_dh_derive()
455 *keylen = dctx->kdf_outlen; in pkey_dh_derive()
458 if (*keylen != dctx->kdf_outlen) in pkey_dh_derive()
471 *keylen = dctx->kdf_outlen; in pkey_dh_derive()
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/ec/
H A Dec_pmeth.c38 size_t kdf_outlen; member
77 dctx->kdf_outlen = sctx->kdf_outlen; in pkey_ec_copy()
198 *keylen = dctx->kdf_outlen; in pkey_ec_kdf_derive()
201 if (*keylen != dctx->kdf_outlen) in pkey_ec_kdf_derive()
300 dctx->kdf_outlen = (size_t)p1; in pkey_ec_ctrl()
304 *(int *)p2 = dctx->kdf_outlen; in pkey_ec_ctrl()
/netbsd/crypto/external/bsd/openssl/dist/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()
/netbsd/crypto/external/bsd/openssl/dist/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()
/netbsd/crypto/external/bsd/openssl.old/dist/doc/man3/
H A DEVP_PKEY_CTX_ctrl.pod323 the B<kdf_oid>, B<kdf_md> and B<kdf_outlen> parameters must also be specified.
395 When using key derivation, the B<kdf_md> and B<kdf_outlen> parameters must
/netbsd/crypto/external/bsd/openssl/dist/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