Home
last modified time | relevance | path

Searched refs:p7Bio (Results 1 – 3 of 3) sorted by relevance

/base/security/appverify/interfaces/innerkits/appverify/src/util/
Dhap_verify_openssl_utils.cpp162 BIO* p7Bio = PKCS7_dataDecode(pkcs7Context.p7, nullptr, nullptr, nullptr); in VerifyPkcs7SignedData() local
163 if (p7Bio == nullptr) { in VerifyPkcs7SignedData()
169 int32_t readLen = BIO_read(p7Bio, buf, sizeof(buf)); in VerifyPkcs7SignedData()
172 readLen = BIO_read(p7Bio, buf, sizeof(buf)); in VerifyPkcs7SignedData()
177 BIO_free_all(p7Bio); in VerifyPkcs7SignedData()
185 BIO_free_all(p7Bio); in VerifyPkcs7SignedData()
189 if (!VerifySignInfo(signerInfoStack, p7Bio, i, pkcs7Context)) { in VerifyPkcs7SignedData()
191 BIO_free_all(p7Bio); in VerifyPkcs7SignedData()
195 BIO_free_all(p7Bio); in VerifyPkcs7SignedData()
200 BIO* p7Bio, int32_t signInfoNum, Pkcs7Context& pkcs7Context) { in VerifySignInfo() argument
[all …]
/base/update/updater/services/package/pkg_verify/
Dpkcs7_signed_data.cpp123 BIO *p7Bio = BIO_new(BIO_s_mem()); in Init() local
124 if (p7Bio == nullptr) { in Init()
129 if (static_cast<uint32_t>(BIO_write(p7Bio, sourceData, sourceDataLen)) != sourceDataLen) { in Init()
132 BIO_free(p7Bio); in Init()
140 pkcs7_ = d2i_PKCS7_bio(p7Bio, nullptr); in Init()
143 BIO_free(p7Bio); in Init()
151 BIO_free(p7Bio); in Init()
156 BIO_free(p7Bio); in Init()
/base/security/appverify/interfaces/innerkits/appverify/include/util/
Dhap_verify_openssl_utils.h70 BIO* p7Bio, int32_t signInfoNum, Pkcs7Context& pkcs7Context);
73 …static bool VerifyShaWithRsaPss(const PKCS7_SIGNER_INFO* signInfo, BIO* p7Bio, EVP_PKEY* pkey, boo…
83 static const EVP_MD_CTX* FindMdCtxInBio(BIO* p7Bio, int32_t mdType);