Lines Matching refs:sha256
40 unsigned char *key, size_t keylen, EVP_MD *sha256,
53 EVP_MD *sha256; member
84 EVP_MD_free(ctx->sha256); in kdf_scrypt_free()
106 if (src->sha256 != NULL && !EVP_MD_up_ref(src->sha256)) in kdf_scrypt_dup()
122 dest->sha256 = src->sha256; in kdf_scrypt_dup()
162 EVP_MD_free(ctx->sha256); in set_digest()
163 ctx->sha256 = EVP_MD_fetch(ctx->libctx, "sha256", ctx->propq); in set_digest()
164 if (ctx->sha256 == NULL) { in set_digest()
202 if (ctx->sha256 == NULL && !set_digest(ctx)) in kdf_scrypt_derive()
207 ctx->maxmem_bytes, key, keylen, ctx->sha256, in kdf_scrypt_derive()
446 unsigned char *key, size_t keylen, EVP_MD *sha256, in scrypt_alg() argument
529 if (ossl_pkcs5_pbkdf2_hmac_ex(pass, passlen, salt, saltlen, 1, sha256, in scrypt_alg()
536 if (ossl_pkcs5_pbkdf2_hmac_ex(pass, passlen, B, (int)Blen, 1, sha256, in scrypt_alg()