Lines Matching refs:SignatureListSize
355 (*PkCert)->SignatureListSize = (UINT32) (sizeof(EFI_SIGNATURE_LIST)
451 DataSize = PkCert->SignatureListSize;
601 KekSigList->SignatureListSize = sizeof(EFI_SIGNATURE_LIST)
737 KekSigList->SignatureListSize = (UINT32) KekSigListSize;
911 SigDBCert->SignatureListSize = (UINT32) SigDBSize;
1035 while ((DataSize > 0) && (DataSize >= CertList->SignatureListSize)) {
1036 CertCount = (CertList->SignatureListSize - sizeof (EFI_SIGNATURE_LIST) - CertList->SignatureHeaderSize) / CertList->SignatureSize;
1055 SignatureListSize;
1056 CertList = (EFI_SIGNATURE_LIST *) ((UINT8 *) CertList + CertList->SignatureListSize);
1200 while ((DataSize > 0) && (DataSize >= DbxList->SignatureListSize)) {
1211 DataSize -= DbxList->SignatureListSize;
1212 DbxList = (EFI_SIGNATURE_LIST *) ((UINT8 *) DbxList + DbxList->SignatureListSize);
1225 CertHashCount = (DbxList->SignatureListSize - SiglistHeaderSize) / DbxList->SignatureSize;
1241 DataSize -= DbxList->SignatureListSize;
1242 DbxList = (EFI_SIGNATURE_LIST *) ((UINT8 *) DbxList + DbxList->SignatureListSize);
1286 while ((SiglistSize > 0) && (SiglistSize >= SigList->SignatureListSize)) {
1291 SiglistSize -= SigList->SignatureListSize;
1292 SigList = (EFI_SIGNATURE_LIST *) ((UINT8 *) SigList + SigList->SignatureListSize);
1326 UINTN SignatureListSize;
1464 SignatureListSize = (UINTN) ReadUnaligned32 ((UINT32 *)&SignatureList->SignatureListSize);
1465 CopyMem (NewData, Data, Offset + SignatureListSize);
1468 WriteUnaligned32 ((UINT32 *) &SignatureList->SignatureListSize, (UINT32)(SignatureListSize + SignatureSize));
1470 Offset += SignatureListSize;
1491 SignatureListSize = sizeof(EFI_SIGNATURE_LIST) + SignatureSize;
1492 WriteUnaligned32 ((UINT32 *) &SignatureList->SignatureListSize, (UINT32) SignatureListSize);
2192 SigDBCert->SignatureListSize = (UINT32) SigDBSize;
2437 while ((ItemDataSize > 0) && (ItemDataSize >= CertList->SignatureListSize)) {
2457 ItemDataSize -= CertList->SignatureListSize;
2458 CertList = (EFI_SIGNATURE_LIST *) ((UINT8 *) CertList + CertList->SignatureListSize);
2462 CertCount = (CertList->SignatureListSize - sizeof (EFI_SIGNATURE_LIST) - CertList->SignatureHeaderSize) / CertList->SignatureSize;
2486 ItemDataSize -= CertList->SignatureListSize;
2487 CertList = (EFI_SIGNATURE_LIST *) ((UINT8 *) CertList + CertList->SignatureListSize);
2599 while ((KekDataSize > 0) && (KekDataSize >= CertList->SignatureListSize)) {
2606 CertCount = (CertList->SignatureListSize - sizeof (EFI_SIGNATURE_LIST) - CertList->SignatureHeaderSize) / CertList->SignatureSize;
2612 NewCertList->SignatureListSize -= CertList->SignatureSize;
2628 CopyMem (Data + Offset, CertList, CertList->SignatureListSize);
2629 Offset += CertList->SignatureListSize;
2632 KekDataSize -= CertList->SignatureListSize;
2633 CertList = (EFI_SIGNATURE_LIST*) ((UINT8*) CertList + CertList->SignatureListSize);
2651 while ((KekDataSize > 0) && (KekDataSize >= CertList->SignatureListSize)) {
2652 CertCount = (CertList->SignatureListSize - sizeof (EFI_SIGNATURE_LIST) - CertList->SignatureHeaderSize) / CertList->SignatureSize;
2655 CopyMem (OldData + Offset, CertList, CertList->SignatureListSize);
2656 Offset += CertList->SignatureListSize;
2658 KekDataSize -= CertList->SignatureListSize;
2659 CertList = (EFI_SIGNATURE_LIST *) ((UINT8 *) CertList + CertList->SignatureListSize);
2791 while ((ItemDataSize > 0) && (ItemDataSize >= CertList->SignatureListSize)) {
2807 CertCount = (CertList->SignatureListSize - sizeof (EFI_SIGNATURE_LIST) - CertList->SignatureHeaderSize) / CertList->SignatureSize;
2813 NewCertList->SignatureListSize -= CertList->SignatureSize;
2829 CopyMem (Data + Offset, (UINT8*)(CertList), CertList->SignatureListSize);
2830 Offset += CertList->SignatureListSize;
2833 ItemDataSize -= CertList->SignatureListSize;
2834 CertList = (EFI_SIGNATURE_LIST *) ((UINT8 *) CertList + CertList->SignatureListSize);
2852 while ((ItemDataSize > 0) && (ItemDataSize >= CertList->SignatureListSize)) {
2853 CertCount = (CertList->SignatureListSize - sizeof (EFI_SIGNATURE_LIST) - CertList->SignatureHeaderSize) / CertList->SignatureSize;
2856 CopyMem (OldData + Offset, (UINT8*)(CertList), CertList->SignatureListSize);
2857 Offset += CertList->SignatureListSize;
2859 ItemDataSize -= CertList->SignatureListSize;
2860 CertList = (EFI_SIGNATURE_LIST *) ((UINT8 *) CertList + CertList->SignatureListSize);