Lines Matching refs:CertList
936 // Iterate each Signature Data Node within this CertList for verify.
987 EFI_SIGNATURE_LIST *CertList;
1018 CertList = (EFI_SIGNATURE_LIST *) Data;
1019 while ((DataSize > 0) && (DataSize >= CertList->SignatureListSize)) {
1020 CertCount = (CertList->SignatureListSize - sizeof (EFI_SIGNATURE_LIST) - CertList->SignatureHeaderSize) / CertList->SignatureSize;
1021 Cert = (EFI_SIGNATURE_DATA *) ((UINT8 *) CertList + sizeof (EFI_SIGNATURE_LIST) + CertList->SignatureHeaderSize);
1022 if ((CertList->SignatureSize == sizeof(EFI_SIGNATURE_DATA) - 1 + SignatureSize) && (CompareGuid(&CertList->SignatureType, CertType))) {
1029 SecureBootHook (VariableName, &gEfiImageSecurityDatabaseGuid, CertList->SignatureSize, Cert);
1033 Cert = (EFI_SIGNATURE_DATA *) ((UINT8 *) Cert + CertList->SignatureSize);
1041 DataSize -= CertList->SignatureListSize;
1042 CertList = (EFI_SIGNATURE_LIST *) ((UINT8 *) CertList + CertList->SignatureListSize);
1129 EFI_SIGNATURE_LIST *CertList;
1144 CertList = NULL;
1174 CertList = (EFI_SIGNATURE_LIST *) DbtData;
1175 while ((DbtDataSize > 0) && (DbtDataSize >= CertList->SignatureListSize)) {
1176 if (CompareGuid (&CertList->SignatureType, &gEfiCertX509Guid)) {
1177 Cert = (EFI_SIGNATURE_DATA *) ((UINT8 *) CertList + sizeof (EFI_SIGNATURE_LIST) + CertList->SignatureHeaderSize);
1178 CertCount = (CertList->SignatureListSize - sizeof (EFI_SIGNATURE_LIST) - CertList->SignatureHeaderSize) / CertList->SignatureSize;
1181 // Iterate each Signature Data Node within this CertList for verify.
1184 RootCertSize = CertList->SignatureSize - sizeof (EFI_GUID);
1197 Cert = (EFI_SIGNATURE_DATA *) ((UINT8 *) Cert + CertList->SignatureSize);
1200 DbtDataSize -= CertList->SignatureListSize;
1201 CertList = (EFI_SIGNATURE_LIST *) ((UINT8 *) CertList + CertList->SignatureListSize);
1233 EFI_SIGNATURE_LIST *CertList;
1254 CertList = NULL;
1286 CertList = (EFI_SIGNATURE_LIST *) Data;
1288 while ((CertListSize > 0) && (CertListSize >= CertList->SignatureListSize)) {
1289 if (CompareGuid (&CertList->SignatureType, &gEfiCertX509Guid)) {
1290 CertData = (EFI_SIGNATURE_DATA *) ((UINT8 *) CertList + sizeof (EFI_SIGNATURE_LIST) + CertList->SignatureHeaderSize);
1291 CertCount = (CertList->SignatureListSize - sizeof (EFI_SIGNATURE_LIST) - CertList->SignatureHeaderSize) / CertList->SignatureSize;
1295 // Iterate each Signature Data Node within this CertList for verify.
1298 RootCertSize = CertList->SignatureSize - sizeof (EFI_GUID);
1312 SecureBootHook (EFI_IMAGE_SECURITY_DATABASE1, &gEfiImageSecurityDatabaseGuid, CertList->SignatureSize, CertData);
1317 CertData = (EFI_SIGNATURE_DATA *) ((UINT8 *) CertData + CertList->SignatureSize);
1321 CertListSize -= CertList->SignatureListSize;
1322 CertList = (EFI_SIGNATURE_LIST *) ((UINT8 *) CertList + CertList->SignatureListSize);
1408 EFI_SIGNATURE_LIST *CertList;
1421 CertList = NULL;
1444 CertList = (EFI_SIGNATURE_LIST *) Data;
1445 while ((DataSize > 0) && (DataSize >= CertList->SignatureListSize)) {
1446 if (CompareGuid (&CertList->SignatureType, &gEfiCertX509Guid)) {
1447 CertData = (EFI_SIGNATURE_DATA *) ((UINT8 *) CertList + sizeof (EFI_SIGNATURE_LIST) + CertList->SignatureHeaderSize);
1448 CertCount = (CertList->SignatureListSize - sizeof (EFI_SIGNATURE_LIST) - CertList->SignatureHeaderSize) / CertList->SignatureSize;
1452 // Iterate each Signature Data Node within this CertList for verify.
1455 RootCertSize = CertList->SignatureSize - sizeof (EFI_GUID);
1499 CertData = (EFI_SIGNATURE_DATA *) ((UINT8 *) CertData + CertList->SignatureSize);
1503 DataSize -= CertList->SignatureListSize;
1504 CertList = (EFI_SIGNATURE_LIST *) ((UINT8 *) CertList + CertList->SignatureListSize);
1511 SecureBootHook (EFI_IMAGE_SECURITY_DATABASE, &gEfiImageSecurityDatabaseGuid, CertList->SignatureSize, CertData);