Searched refs:md_tmp (Results 1 – 2 of 2) sorted by relevance
/freebsd/crypto/openssl/crypto/evp/ |
H A D | p5_crpt.c | 31 unsigned char md_tmp[EVP_MAX_MD_SIZE]; in PKCS5_PBE_keyivgen_ex() local 63 if (kl < 0 || kl > (int)sizeof(md_tmp)) { in PKCS5_PBE_keyivgen_ex() 97 if (EVP_KDF_derive(kctx, md_tmp, mdsize, params) != 1) in PKCS5_PBE_keyivgen_ex() 99 memcpy(key, md_tmp, kl); in PKCS5_PBE_keyivgen_ex() 100 memcpy(iv, md_tmp + (16 - ivl), ivl); in PKCS5_PBE_keyivgen_ex() 103 OPENSSL_cleanse(md_tmp, EVP_MAX_MD_SIZE); in PKCS5_PBE_keyivgen_ex()
|
/freebsd/crypto/openssl/providers/implementations/kdfs/ |
H A D | pbkdf1.c | 57 unsigned char md_tmp[EVP_MAX_MD_SIZE]; in kdf_pbkdf1_do_derive() local 69 || !EVP_DigestFinal_ex(ctx, md_tmp, NULL)) in kdf_pbkdf1_do_derive() 82 if (!EVP_DigestUpdate(ctx, md_tmp, mdsize)) in kdf_pbkdf1_do_derive() 84 if (!EVP_DigestFinal_ex(ctx, md_tmp, NULL)) in kdf_pbkdf1_do_derive() 88 memcpy(out, md_tmp, n); in kdf_pbkdf1_do_derive() 91 OPENSSL_cleanse(md_tmp, EVP_MAX_MD_SIZE); in kdf_pbkdf1_do_derive()
|