Searched refs:hashCtx (Results 1 - 2 of 2) sorted by relevance
/developtools/hapsigner/hapsigntool_cpp/signer/src/ |
H A D | local_signer.cpp | 71 EVP_MD_CTX* hashCtx = NULL; 89 bool result = !(hashCtx = EVP_MD_CTX_new()) || 90 (EVP_DigestSignInit(hashCtx, &privateKeyCtx, hash, NULL, m_keyPair) <= 0) || 91 (EVP_DigestSignUpdate(hashCtx, data.data(), data.size()) <= 0) || 92 (EVP_DigestSignFinal(hashCtx, NULL, &sigLen) <= 0) || 94 (EVP_DigestSignFinal(hashCtx, sigResult, &sigLen) <= 0); 102 EVP_MD_CTX_free(hashCtx);
|
/developtools/hapsigner/hapsigntool_cpp/profile/src/ |
H A D | pkcs7_data.cpp | 557 int PKCS7Data::Pkcs7AddTimeDigestAndSignAttr(PKCS7_SIGNER_INFO* info, EVP_MD_CTX* hashCtx) in Pkcs7AddTimeDigestAndSignAttr() argument 570 if (!EVP_DigestFinal_ex(hashCtx, hashData, &hashLen)) { in Pkcs7AddTimeDigestAndSignAttr() 627 EVP_MD_CTX* hashCtx = NULL; variable 646 ioTmp = PKCS7SearchDigest(&hashCtx, ioTmp, numberID); 648 if (ioTmp == NULL || !EVP_MD_CTX_copy_ex(ctxTmp, hashCtx)) {
|
Completed in 3 milliseconds