Home
last modified time | relevance | path

Searched refs:mdctx_ (Results 1 – 2 of 2) sorted by relevance

/third_party/node/src/
Dnode_crypto.cc4282 mdctx_(nullptr), in Hash()
4316 md = EVP_MD_CTX_md(orig->mdctx_.get()); in New()
4335 0 >= EVP_MD_CTX_copy(hash->mdctx_.get(), orig->mdctx_.get())) { in New()
4342 mdctx_.reset(EVP_MD_CTX_new()); in HashInit()
4343 if (!mdctx_ || EVP_DigestInit_ex(mdctx_.get(), md, nullptr) <= 0) { in HashInit()
4344 mdctx_.reset(); in HashInit()
4364 if (!mdctx_) in HashUpdate()
4366 EVP_DigestUpdate(mdctx_.get(), data, len); in HashUpdate()
4408 size_t default_len = EVP_MD_CTX_size(hash->mdctx_.get()); in HashDigest()
4411 ret = EVP_DigestFinal_ex(hash->mdctx_.get(), hash->md_value_, in HashDigest()
[all …]
Dnode_crypto.h652 EVPMDPointer mdctx_;
684 EVPMDPointer mdctx_; variable