Home
last modified time | relevance | path

Searched refs:kdf_ukm (Results 1 – 4 of 4) sorted by relevance

/openssl/providers/implementations/exchange/
H A Ddh_exch.c74 unsigned char *kdf_ukm; member
240 pdhctx->kdf_ukm, in dh_X9_42_kdf_derive()
281 OPENSSL_clear_free(pdhctx->kdf_ukm, pdhctx->kdf_ukmlen); in dh_freectx()
302 dstctx->kdf_ukm = NULL; in dh_dupctx()
321 if (srcctx->kdf_ukm != NULL && srcctx->kdf_ukmlen > 0) { in dh_dupctx()
322 dstctx->kdf_ukm = OPENSSL_memdup(srcctx->kdf_ukm, in dh_dupctx()
324 if (dstctx->kdf_ukm == NULL) in dh_dupctx()
422 OPENSSL_free(pdhctx->kdf_ukm); in dh_set_ctx_params()
423 pdhctx->kdf_ukm = NULL; in dh_set_ctx_params()
429 pdhctx->kdf_ukm = tmp_ukm; in dh_set_ctx_params()
[all …]
H A Decdh_exch.c76 unsigned char *kdf_ukm; member
187 OPENSSL_clear_free(pecdhctx->kdf_ukm, pecdhctx->kdf_ukmlen); in ecdh_freectx()
212 dstctx->kdf_ukm = NULL; in ecdh_dupctx()
232 if (srcctx->kdf_ukm != NULL && srcctx->kdf_ukmlen > 0) { in ecdh_dupctx()
233 dstctx->kdf_ukm = OPENSSL_memdup(srcctx->kdf_ukm, in ecdh_dupctx()
235 if (dstctx->kdf_ukm == NULL) in ecdh_dupctx()
349 OPENSSL_free(pectx->kdf_ukm); in ecdh_set_ctx_params()
350 pectx->kdf_ukm = tmp_ukm; in ecdh_set_ctx_params()
432 !OSSL_PARAM_set_octet_ptr(p, pectx->kdf_ukm, pectx->kdf_ukmlen)) in ecdh_get_ctx_params()
606 pecdhctx->kdf_ukm, in ecdh_X9_63_kdf_derive()
/openssl/crypto/ec/
H A Dec_pmeth.c41 unsigned char *kdf_ukm; member
82 if (sctx->kdf_ukm) { in pkey_ec_copy()
83 dctx->kdf_ukm = OPENSSL_memdup(sctx->kdf_ukm, sctx->kdf_ukmlen); in pkey_ec_copy()
84 if (!dctx->kdf_ukm) in pkey_ec_copy()
87 dctx->kdf_ukm = NULL; in pkey_ec_copy()
98 OPENSSL_free(dctx->kdf_ukm); in pkey_ec_cleanup()
236 dctx->kdf_ukm, dctx->kdf_ukmlen, dctx->kdf_md, in pkey_ec_kdf_derive()
341 OPENSSL_free(dctx->kdf_ukm); in pkey_ec_ctrl()
342 dctx->kdf_ukm = p2; in pkey_ec_ctrl()
350 *(unsigned char **)p2 = dctx->kdf_ukm; in pkey_ec_ctrl()
/openssl/crypto/dh/
H A Ddh_pmeth.c48 unsigned char *kdf_ukm; member
77 OPENSSL_free(dctx->kdf_ukm); in pkey_dh_cleanup()
105 if (sctx->kdf_ukm != NULL) { in pkey_dh_copy()
106 dctx->kdf_ukm = OPENSSL_memdup(sctx->kdf_ukm, sctx->kdf_ukmlen); in pkey_dh_copy()
107 if (dctx->kdf_ukm == NULL) in pkey_dh_copy()
195 OPENSSL_free(dctx->kdf_ukm); in pkey_dh_ctrl()
196 dctx->kdf_ukm = p2; in pkey_dh_ctrl()
204 *(unsigned char **)p2 = dctx->kdf_ukm; in pkey_dh_ctrl()
451 dctx->kdf_ukm, dctx->kdf_ukmlen, dctx->kdf_md)) in pkey_dh_derive()

Completed in 14 milliseconds