Searched refs:md_tmp (Results 1 – 2 of 2) sorted by relevance
/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()
|
/openssl/providers/implementations/kdfs/ |
H A D | pbkdf1.c | 58 unsigned char md_tmp[EVP_MAX_MD_SIZE]; in kdf_pbkdf1_do_derive() local 70 || !EVP_DigestFinal_ex(ctx, md_tmp, NULL)) in kdf_pbkdf1_do_derive() 83 if (!EVP_DigestUpdate(ctx, md_tmp, mdsize)) in kdf_pbkdf1_do_derive() 85 if (!EVP_DigestFinal_ex(ctx, md_tmp, NULL)) in kdf_pbkdf1_do_derive() 89 memcpy(out, md_tmp, n); in kdf_pbkdf1_do_derive() 92 OPENSSL_cleanse(md_tmp, EVP_MAX_MD_SIZE); in kdf_pbkdf1_do_derive()
|
Completed in 6 milliseconds