Searched refs:SignatureSize (Results 1 – 10 of 10) sorted by relevance
/device/linaro/bootloader/edk2/SecurityPkg/Pkcs7Verify/Pkcs7VerifyDxe/ |
D | Pkcs7VerifyDxe.c | 178 sizeof (EFI_SIGNATURE_LIST)) / SigList->SignatureSize; in IsContentHashRevoked() 183 …if (CompareMem (SigData->SignatureData, HashVal, (SigList->SignatureSize - sizeof (EFI_GUID))) == … in IsContentHashRevoked() 188 SigData = (EFI_SIGNATURE_DATA *) ((UINT8 *) SigData + SigList->SignatureSize); in IsContentHashRevoked() 277 sizeof (EFI_SIGNATURE_LIST)) / SigList->SignatureSize; in IsCertHashRevoked() 283 SigList->SignatureSize - sizeof (EFI_GUID) - sizeof (EFI_TIME)) == 0) { in IsCertHashRevoked() 290 (EFI_TIME *)((UINT8 *)SigData + SigList->SignatureSize - sizeof (EFI_TIME)), in IsCertHashRevoked() 296 SigData = (EFI_SIGNATURE_DATA *) ((UINT8 *) SigData + SigList->SignatureSize); in IsCertHashRevoked() 424 TsaCertSize = SigList->SignatureSize - sizeof (EFI_GUID); in IsValidTimestamp() 537 RevokedCertSize = SigList->SignatureSize - sizeof (EFI_GUID); in P7CheckRevocation() 686 TrustCertSize = SigList->SignatureSize - sizeof (EFI_GUID); in P7CheckTrust() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Pkcs7Sign/ |
D | Pkcs7Sign.py | 251 SignatureSize = (long)(args.SignatureSizeStr, 16) variable 253 SignatureSize = (long)(args.SignatureSizeStr) variable 254 if SignatureSize < 0: 257 elif SignatureSize > len(args.InputFileBuffer): 261 args.SignatureBuffer = args.InputFileBuffer[0:SignatureSize] 262 args.InputFileBuffer = args.InputFileBuffer[SignatureSize:]
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeImageVerificationLib/ |
D | DxeImageVerificationLib.c | 737 IN UINTN SignatureSize in AddImageExeInfo() argument 785 …InfoEntrySize = sizeof (EFI_IMAGE_EXECUTION_INFO) + NameStringLen + DevicePathSize + SignatureSize; in AddImageExeInfo() 821 SignatureSize in AddImageExeInfo() 933 CertHashCount = (DbxList->SignatureListSize - SiglistHeaderSize) / DbxList->SignatureSize; in IsCertHashFoundInDatabase() 951 CertHash = (EFI_SIGNATURE_DATA *) ((UINT8 *) CertHash + DbxList->SignatureSize); in IsCertHashFoundInDatabase() 983 IN UINTN SignatureSize in IsSignatureFoundInDatabase() argument 1020 …eListSize - sizeof (EFI_SIGNATURE_LIST) - CertList->SignatureHeaderSize) / CertList->SignatureSize; in IsSignatureFoundInDatabase() 1022 …if ((CertList->SignatureSize == sizeof(EFI_SIGNATURE_DATA) - 1 + SignatureSize) && (CompareGuid(&C… in IsSignatureFoundInDatabase() 1024 if (CompareMem (Cert->SignatureData, Signature, SignatureSize) == 0) { in IsSignatureFoundInDatabase() 1029 … SecureBootHook (VariableName, &gEfiImageSecurityDatabaseGuid, CertList->SignatureSize, Cert); in IsSignatureFoundInDatabase() [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/ |
D | SecureBootConfigImpl.c | 358 (*PkCert)->SignatureSize = (UINT32) (sizeof(EFI_SIGNATURE_DATA) - 1 + X509DataSize); in CreatePkX509SignatureList() 605 KekSigList->SignatureSize = sizeof(EFI_SIGNATURE_DATA) - 1 + WIN_CERT_UEFI_RSA2048_SIZE; in EnrollRsa2048ToKek() 739 KekSigList->SignatureSize = (UINT32) (sizeof(EFI_SIGNATURE_DATA) - 1 + X509DataSize); in EnrollX509ToKek() 913 SigDBCert->SignatureSize = (UINT32) (sizeof(EFI_SIGNATURE_DATA) - 1 + X509DataSize); in EnrollX509toSigDB() 998 IN UINTN SignatureSize in IsSignatureFoundInDatabase() argument 1036 …eListSize - sizeof (EFI_SIGNATURE_LIST) - CertList->SignatureHeaderSize) / CertList->SignatureSize; in IsSignatureFoundInDatabase() 1038 …if ((CertList->SignatureSize == sizeof(EFI_SIGNATURE_DATA) - 1 + SignatureSize) && (CompareGuid(&C… in IsSignatureFoundInDatabase() 1040 if (CompareMem (Cert->SignatureData, Signature, SignatureSize) == 0) { in IsSignatureFoundInDatabase() 1047 Cert = (EFI_SIGNATURE_DATA *) ((UINT8 *) Cert + CertList->SignatureSize); in IsSignatureFoundInDatabase() 1225 CertHashCount = (DbxList->SignatureListSize - SiglistHeaderSize) / DbxList->SignatureSize; in IsCertHashFoundInDbx() [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/AuthVariableLib/ |
D | AuthService.c | 787 (SigList->SignatureSize - sizeof (EFI_GUID)) != mSupportSigItem[Index].SigDataSize) { in CheckSignatureListFormat() 815 CertLen = SigList->SignatureSize - sizeof (EFI_GUID); in CheckSignatureListFormat() 823 …Size - sizeof (EFI_SIGNATURE_LIST) - SigList->SignatureHeaderSize) % SigList->SignatureSize != 0) { in CheckSignatureListFormat() 826 …ureListSize - sizeof (EFI_SIGNATURE_LIST) - SigList->SignatureHeaderSize) / SigList->SignatureSize; in CheckSignatureListFormat() 1425 …ize - sizeof (EFI_SIGNATURE_LIST) - NewCertList->SignatureHeaderSize) / NewCertList->SignatureSize; in FilterSignatureList() 1435 (CertList->SignatureSize == NewCertList->SignatureSize)) { in FilterSignatureList() 1437 …eListSize - sizeof (EFI_SIGNATURE_LIST) - CertList->SignatureHeaderSize) / CertList->SignatureSize; in FilterSignatureList() 1442 if (CompareMem (NewCert, Cert, CertList->SignatureSize) == 0) { in FilterSignatureList() 1446 Cert = (EFI_SIGNATURE_DATA *) ((UINT8 *) Cert + CertList->SignatureSize); in FilterSignatureList() 1469 CopyMem (Tail, NewCert, NewCertList->SignatureSize); in FilterSignatureList() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
D | Pkcs7Verify.h | 200 IN UINTN SignatureSize,
|
/device/linaro/bootloader/edk2/NetworkPkg/TlsAuthConfigDxe/ |
D | TlsAuthConfigImpl.c | 378 …eListSize - sizeof (EFI_SIGNATURE_LIST) - CertList->SignatureHeaderSize) / CertList->SignatureSize; in UpdateDeletePage() 383 + Index * CertList->SignatureSize); in UpdateDeletePage() 527 …eListSize - sizeof (EFI_SIGNATURE_LIST) - CertList->SignatureHeaderSize) / CertList->SignatureSize; in DeleteCert() 533 NewCertList->SignatureListSize -= CertList->SignatureSize; in DeleteCert() 539 CopyMem (Data + Offset, (UINT8*)(Cert), CertList->SignatureSize); in DeleteCert() 540 Offset += CertList->SignatureSize; in DeleteCert() 543 Cert = (EFI_SIGNATURE_DATA *) ((UINT8 *) Cert + CertList->SignatureSize); in DeleteCert() 573 …eListSize - sizeof (EFI_SIGNATURE_LIST) - CertList->SignatureHeaderSize) / CertList->SignatureSize; in DeleteCert() 975 CACert->SignatureSize = (UINT32) (sizeof(EFI_SIGNATURE_DATA) - 1 + X509DataSize); in EnrollX509toVariable()
|
/device/linaro/bootloader/edk2/MdePkg/Include/Guid/ |
D | ImageAuthentication.h | 85 UINT32 SignatureSize; member
|
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/ |
D | AuthService.c | 684 …ureListSize - sizeof (EFI_SIGNATURE_LIST) - KekList->SignatureHeaderSize) / KekList->SignatureSize; in ProcessVarWithKek() 691 KekItem = (EFI_SIGNATURE_DATA *) ((UINT8 *) KekItem + KekList->SignatureSize); in ProcessVarWithKek()
|
/device/linaro/bootloader/edk2/NetworkPkg/HttpDxe/ |
D | HttpsSupport.c | 442 …eListSize - sizeof (EFI_SIGNATURE_LIST) - CertList->SignatureHeaderSize) / CertList->SignatureSize; in TlsConfigCertificate() 451 … CertList->SignatureSize - sizeof (Cert->SignatureOwner) in TlsConfigCertificate() 458 Cert = (EFI_SIGNATURE_DATA *) ((UINT8 *) Cert + CertList->SignatureSize); in TlsConfigCertificate()
|