Lines Matching refs:SignatureListSize
779 while ((SigDataSize > 0) && (SigDataSize >= SigList->SignatureListSize)) {
823 if ((SigList->SignatureListSize - sizeof (EFI_SIGNATURE_LIST) - SigList->SignatureHeaderSize) % SigList->SignatureSize != 0) {
826 SigCount += (SigList->SignatureListSize - sizeof (EFI_SIGNATURE_LIST) - SigList->SignatureHeaderSize) / SigList->SignatureSize;
828 SigDataSize -= SigList->SignatureListSize;
829 SigList = (EFI_SIGNATURE_LIST *) ((UINT8 *) SigList + SigList->SignatureListSize);
1404 UINTN SignatureListSize;
1423 while ((*NewDataSize > 0) && (*NewDataSize >= NewCertList->SignatureListSize)) {
1425 NewCertCount = (NewCertList->SignatureListSize - sizeof (EFI_SIGNATURE_LIST) - NewCertList->SignatureHeaderSize) / NewCertList->SignatureSize;
1433 while ((Size > 0) && (Size >= CertList->SignatureListSize)) {
1437 CertCount = (CertList->SignatureListSize - sizeof (EFI_SIGNATURE_LIST) - CertList->SignatureHeaderSize) / CertList->SignatureSize;
1453 Size -= CertList->SignatureListSize;
1454 CertList = (EFI_SIGNATURE_LIST *) ((UINT8 *) CertList + CertList->SignatureListSize);
1478 // Update SignatureListSize in the kept EFI_SIGNATURE_LIST.
1481 SignatureListSize = sizeof (EFI_SIGNATURE_LIST) + NewCertList->SignatureHeaderSize + (CopiedCount * NewCertList->SignatureSize);
1482 CertList = (EFI_SIGNATURE_LIST *) (Tail - SignatureListSize);
1483 CertList->SignatureListSize = (UINT32) SignatureListSize;
1486 *NewDataSize -= NewCertList->SignatureListSize;
1487 NewCertList = (EFI_SIGNATURE_LIST *) ((UINT8 *) NewCertList + NewCertList->SignatureListSize);
2364 while ((KekDataSize > 0) && (KekDataSize >= CertList->SignatureListSize)) {
2367 CertCount = (CertList->SignatureListSize - sizeof (EFI_SIGNATURE_LIST) - CertList->SignatureHeaderSize) / CertList->SignatureSize;
2392 KekDataSize -= CertList->SignatureListSize;
2393 CertList = (EFI_SIGNATURE_LIST *) ((UINT8 *) CertList + CertList->SignatureListSize);