Lines Matching refs:dest
153 TLS1_PRF *dest; in kdf_tls1_prf_dup() local
155 dest = kdf_tls1_prf_new(src->provctx); in kdf_tls1_prf_dup()
156 if (dest != NULL) { in kdf_tls1_prf_dup()
158 && (dest->P_hash = EVP_MAC_CTX_dup(src->P_hash)) == NULL) in kdf_tls1_prf_dup()
161 && (dest->P_sha1 = EVP_MAC_CTX_dup(src->P_sha1)) == NULL) in kdf_tls1_prf_dup()
163 if (!ossl_prov_memdup(src->sec, src->seclen, &dest->sec, &dest->seclen)) in kdf_tls1_prf_dup()
165 if (!ossl_prov_memdup(src->seed, src->seedlen, &dest->seed, in kdf_tls1_prf_dup()
166 &dest->seedlen)) in kdf_tls1_prf_dup()
168 OSSL_FIPS_IND_COPY(dest, src) in kdf_tls1_prf_dup()
170 return dest; in kdf_tls1_prf_dup()
173 kdf_tls1_prf_free(dest); in kdf_tls1_prf_dup()