Lines Matching refs:CertList
1393 EFI_SIGNATURE_LIST *CertList;
1432 CertList
1433 while ((Size > 0) && (Size >= CertList->SignatureListSize)) {
1434 if (CompareGuid (&CertList->SignatureType, &NewCertList->SignatureType) &&
1435 (CertList->SignatureSize == NewCertList->SignatureSize)) {
1436 Cert = (EFI_SIGNATURE_DATA *) ((UINT8 *) CertList + sizeof (EFI_SIGNATURE_LIST) + CertList->SignatureHeaderSize);
1437 CertCount = (CertList->SignatureListSize - sizeof (EFI_SIGNATURE_LIST) - CertList->SignatureHeaderSize) / CertList->SignatureSize;
1442 if (CompareMem (NewCert, Cert, CertList->SignatureSize) == 0) {
1446 Cert = (EFI_SIGNATURE_DATA *) ((UINT8 *) Cert + CertList->SignatureSize);
1453 Size -= CertList->SignatureListSize;
1454 CertList = (EFI_SIGNATURE_LIST *) ((UINT8 *) CertList + CertList->SignatureListSize);
1482 CertList = (EFI_SIGNATURE_LIST *) (Tail - SignatureListSize);
1483 CertList->SignatureListSize = (UINT32) SignatureListSize;
2173 EFI_SIGNATURE_LIST *CertList;
2324 CertList = (EFI_SIGNATURE_LIST *) Data;
2325 Cert = (EFI_SIGNATURE_DATA *) ((UINT8 *) CertList + sizeof (EFI_SIGNATURE_LIST) + CertList->SignatureHeaderSize);
2326 if ((RootCertSize != (CertList->SignatureSize - (sizeof (EFI_SIGNATURE_DATA) - 1))) ||
2360 // Ready to verify Pkcs7 SignedData. Go through KEK Signature Database to find out X.509 CertList.
2363 CertList = (EFI_SIGNATURE_LIST *) Data;
2364 while ((KekDataSize > 0) && (KekDataSize >= CertList->SignatureListSize)) {
2365 if (CompareGuid (&CertList->SignatureType, &gEfiCertX509Guid)) {
2366 Cert = (EFI_SIGNATURE_DATA *) ((UINT8 *) CertList + sizeof (EFI_SIGNATURE_LIST) + CertList->SignatureHeaderSize);
2367 CertCount = (CertList->SignatureListSize - sizeof (EFI_SIGNATURE_LIST) - CertList->SignatureHeaderSize) / CertList->SignatureSize;
2370 // Iterate each Signature Data Node within this CertList for a verify
2373 RootCertSize = CertList->SignatureSize - (sizeof (EFI_SIGNATURE_DATA) - 1);
2389 Cert = (EFI_SIGNATURE_DATA *) ((UINT8 *) Cert + CertList->SignatureSize);
2392 KekDataSize -= CertList->SignatureListSize;
2393 CertList = (EFI_SIGNATURE_LIST *) ((UINT8 *) CertList + CertList->SignatureListSize);
2455 CertList = (EFI_SIGNATURE_LIST *) PayloadPtr;
2456 Cert = (EFI_SIGNATURE_DATA *) ((UINT8 *) CertList + sizeof (EFI_SIGNATURE_LIST) + CertList->SignatureHeaderSize);
2458 RootCertSize = CertList->SignatureSize - (sizeof (EFI_SIGNATURE_DATA) - 1);