Lines Matching refs:SigList
136 EFI_SIGNATURE_LIST *SigList;
153 SigList = (EFI_SIGNATURE_LIST *)(RevokedDb[Index]);
158 if (SigList == NULL) {
165 if (!CalculateDataHash (Content, ContentSize, &SigList->SignatureType, HashVal)) {
175 SigData = (EFI_SIGNATURE_DATA *) ((UINT8 *) SigList + sizeof (EFI_SIGNATURE_LIST) +
176 SigList->SignatureHeaderSize);
177 EntryCount = (SigList->SignatureListSize - SigList->SignatureHeaderSize -
178 sizeof (EFI_SIGNATURE_LIST)) / SigList->SignatureSize;
183 if (CompareMem (SigData->SignatureData, HashVal, (SigList->SignatureSize - sizeof (EFI_GUID))) == 0) {
188 SigData = (EFI_SIGNATURE_DATA *) ((UINT8 *) SigData + SigList->SignatureSize);
219 EFI_SIGNATURE_LIST *SigList;
242 SigList = (EFI_SIGNATURE_LIST *)(RevokedDb[Index]);
246 if (SigList == NULL) {
254 if (CompareGuid (&SigList->SignatureType, &gEfiCertX509Sha256Guid)) {
257 } else if (CompareGuid (&SigList->SignatureType, &gEfiCertX509Sha384Guid)) {
260 } else if (CompareGuid (&SigList->SignatureType, &gEfiCertX509Sha512Guid)) {
274 SigData = (EFI_SIGNATURE_DATA *) ((UINT8 *) SigList + sizeof (EFI_SIGNATURE_LIST) +
275 SigList->SignatureHeaderSize);
276 EntryCount = (SigList->SignatureListSize - SigList->SignatureHeaderSize -
277 sizeof (EFI_SIGNATURE_LIST)) / SigList->SignatureSize;
283 SigList->SignatureSize - sizeof (EFI_GUID) - sizeof (EFI_TIME)) == 0) {
290 (EFI_TIME *)((UINT8 *)SigData + SigList->SignatureSize - sizeof (EFI_TIME)),
296 SigData = (EFI_SIGNATURE_DATA *) ((UINT8 *) SigData + SigList->SignatureSize);
383 EFI_SIGNATURE_LIST *SigList;
404 SigList = (EFI_SIGNATURE_LIST *) (TimeStampDb[Index]);
409 if (SigList == NULL) {
416 if (!CompareGuid (&SigList->SignatureType, &gEfiCertX509Guid)) {
421 SigData = (EFI_SIGNATURE_DATA *) ((UINT8 *) SigList + sizeof (EFI_SIGNATURE_LIST) +
422 SigList->SignatureHeaderSize);
424 TsaCertSize = SigList->SignatureSize - sizeof (EFI_GUID);
483 EFI_SIGNATURE_LIST *SigList;
517 SigList = (EFI_SIGNATURE_LIST *)(RevokedDb[Index]);
522 if (SigList == NULL) {
529 if (!CompareGuid (&SigList->SignatureType, &gEfiCertX509Guid)) {
533 SigData = (EFI_SIGNATURE_DATA *) ((UINT8 *) SigList + sizeof (EFI_SIGNATURE_LIST) +
534 SigList->SignatureHeaderSize);
537 RevokedCertSize = SigList->SignatureSize - sizeof (EFI_GUID);
646 EFI_SIGNATURE_LIST *SigList;
666 SigList = (EFI_SIGNATURE_LIST *)(AllowedDb[Index]);
671 if (SigList == NULL) {
678 if (!CompareGuid (&SigList->SignatureType, &gEfiCertX509Guid)) {
682 SigData = (EFI_SIGNATURE_DATA *) ((UINT8 *) SigList + sizeof (EFI_SIGNATURE_LIST) +
683 SigList->SignatureHeaderSize);
686 TrustCertSize = SigList->SignatureSize - sizeof (EFI_GUID);