Lines Matching refs:CertList
282 EFI_SIGNATURE_LIST *CertList;
290 CertList = NULL;
362 CertList = (EFI_SIGNATURE_LIST *) Data;
365 while ((ItemDataSize > 0) && (ItemDataSize >= CertList->SignatureListSize)) {
367 if (CompareGuid (&CertList->SignatureType, &gEfiCertX509Guid)) {
373 ItemDataSize -= CertList->SignatureListSize;
374 CertList = (EFI_SIGNATURE_LIST *) ((UINT8 *) CertList + CertList->SignatureListSize);
378 CertCount = (CertList->SignatureListSize - sizeof (EFI_SIGNATURE_LIST) - CertList->SignatureHeaderSize) / CertList->SignatureSize;
380 Cert = (EFI_SIGNATURE_DATA *) ((UINT8 *) CertList
382 + CertList->SignatureHeaderSize
383 + Index * CertList->SignatureSize);
402 ItemDataSize -= CertList->SignatureListSize;
403 CertList = (EFI_SIGNATURE_LIST *) ((UINT8 *) CertList + CertList->SignatureListSize);
466 EFI_SIGNATURE_LIST *CertList;
477 CertList = NULL;
515 CertList = (EFI_SIGNATURE_LIST *) OldData;
518 while ((ItemDataSize > 0) && (ItemDataSize >= CertList->SignatureListSize)) {
519 if (CompareGuid (&CertList->SignatureType, &gEfiCertX509Guid)) {
523 CopyMem (Data + Offset, CertList, (sizeof(EFI_SIGNATURE_LIST) + CertList->SignatureHeaderSize));
525 Offset += (sizeof(EFI_SIGNATURE_LIST) + CertList->SignatureHeaderSize);
526 Cert = (EFI_SIGNATURE_DATA *) ((UINT8 *) CertList + sizeof (EFI_SIGNATURE_LIST) + CertList->SignatureHeaderSize);
527 CertCount = (CertList->SignatureListSize - sizeof (EFI_SIGNATURE_LIST) - CertList->SignatureHeaderSize) / CertList->SignatureSize;
533 NewCertList->SignatureListSize -= CertList->SignatureSize;
539 CopyMem (Data + Offset, (UINT8*)(Cert), CertList->SignatureSize);
540 Offset += CertList->SignatureSize;
543 Cert = (EFI_SIGNATURE_DATA *) ((UINT8 *) Cert + CertList->SignatureSize);
549 CopyMem (Data + Offset, (UINT8*)(CertList), CertList->SignatureListSize);
550 Offset += CertList->SignatureListSize;
553 ItemDataSize -= CertList->SignatureListSize;
554 CertList = (EFI_SIGNATURE_LIST *) ((UINT8 *) CertList + CertList->SignatureListSize);
569 CertList = (EFI_SIGNATURE_LIST *) Data;
572 while ((ItemDataSize > 0) && (ItemDataSize >= CertList->SignatureListSize)) {
573 CertCount = (CertList->SignatureListSize - sizeof (EFI_SIGNATURE_LIST) - CertList->SignatureHeaderSize) / CertList->SignatureSize;
576 CertList), CertList->SignatureListSize);
577 Offset += CertList->SignatureListSize;
579 ItemDataSize -= CertList->SignatureListSize;
580 CertList = (EFI_SIGNATURE_LIST *) ((UINT8 *) CertList + CertList->SignatureListSize);