Lines Matching refs:dest
148 KDF_HKDF *dest; in kdf_hkdf_dup() local
150 dest = kdf_hkdf_new(src->provctx); in kdf_hkdf_dup()
151 if (dest != NULL) { in kdf_hkdf_dup()
152 if (!ossl_prov_memdup(src->salt, src->salt_len, &dest->salt, in kdf_hkdf_dup()
153 &dest->salt_len) in kdf_hkdf_dup()
155 &dest->key , &dest->key_len) in kdf_hkdf_dup()
157 &dest->prefix, &dest->prefix_len) in kdf_hkdf_dup()
159 &dest->label, &dest->label_len) in kdf_hkdf_dup()
161 &dest->data, &dest->data_len) in kdf_hkdf_dup()
163 &dest->info, &dest->info_len) in kdf_hkdf_dup()
164 || !ossl_prov_digest_copy(&dest->digest, &src->digest)) in kdf_hkdf_dup()
166 dest->mode = src->mode; in kdf_hkdf_dup()
167 OSSL_FIPS_IND_COPY(dest, src) in kdf_hkdf_dup()
169 return dest; in kdf_hkdf_dup()
172 kdf_hkdf_free(dest); in kdf_hkdf_dup()