Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Pk/
DCryptPkcs7Verify.c466 X509_STORE_CTX CertCtx; in Pkcs7GetCertificatesList() local
492 ZeroMem (&CertCtx, sizeof (CertCtx)); in Pkcs7GetCertificatesList()
534 if (!X509_STORE_CTX_init (&CertCtx, NULL, Signer, Pkcs7->d.sign->cert)) { in Pkcs7GetCertificatesList()
540 if (CertCtx.chain == NULL) { in Pkcs7GetCertificatesList()
541 if (((CertCtx.chain = sk_X509_new_null ()) == NULL) || in Pkcs7GetCertificatesList()
542 (!sk_X509_push (CertCtx.chain, CertCtx.cert))) { in Pkcs7GetCertificatesList()
546 (VOID)sk_X509_delete_ptr (CertCtx.untrusted, Signer); in Pkcs7GetCertificatesList()
556 if (CertCtx.check_issued (&CertCtx, Cert, Cert)) { in Pkcs7GetCertificatesList()
563 if (CertCtx.untrusted != NULL) { in Pkcs7GetCertificatesList()
565 for (Index = 0; Index < sk_X509_num (CertCtx.untrusted); Index++) { in Pkcs7GetCertificatesList()
[all …]
DCryptX509.c408 X509_STORE_CTX CertCtx; in X509VerifyCert() local
476 if (!X509_STORE_CTX_init (&CertCtx, CertStore, X509Cert, NULL)) { in X509VerifyCert()
483 Status = (BOOLEAN) X509_verify_cert (&CertCtx); in X509VerifyCert()
484 X509_STORE_CTX_cleanup (&CertCtx); in X509VerifyCert()