Lines Matching refs:src
101 const KDF_SCRYPT *src = (const KDF_SCRYPT *)vctx; in kdf_scrypt_dup() local
104 dest = kdf_scrypt_new_inner(src->libctx); in kdf_scrypt_dup()
106 if (src->sha256 != NULL && !EVP_MD_up_ref(src->sha256)) in kdf_scrypt_dup()
108 if (src->propq != NULL) { in kdf_scrypt_dup()
109 dest->propq = OPENSSL_strdup(src->propq); in kdf_scrypt_dup()
113 if (!ossl_prov_memdup(src->salt, src->salt_len, in kdf_scrypt_dup()
115 || !ossl_prov_memdup(src->pass, src->pass_len, in kdf_scrypt_dup()
118 dest->N = src->N; in kdf_scrypt_dup()
119 dest->r = src->r; in kdf_scrypt_dup()
120 dest->p = src->p; in kdf_scrypt_dup()
121 dest->maxmem_bytes = src->maxmem_bytes; in kdf_scrypt_dup()
122 dest->sha256 = src->sha256; in kdf_scrypt_dup()