/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/ |
AuthService.c | 308 EFI_VARIABLE_AUTHENTICATION *CertData;
315 CertData = NULL;
322 CertData = (EFI_VARIABLE_AUTHENTICATION *) Data;
323 CertBlock = (EFI_CERT_BLOCK_RSA_2048_SHA256 *) (CertData->AuthInfo.CertData);
329 if ((CertData->AuthInfo.Hdr.wCertificateType != WIN_CERT_TYPE_EFI_GUID) ||
330 !CompareGuid (&CertData->AuthInfo.CertType, Global->CertRsa2048Sha256Guid[VirtualMode])
354 Status = Sha256Update (HashContext, &CertData->MonotonicCount, sizeof (UINT64));
484 EFI_VARIABLE_AUTHENTICATION *CertData;
506 CertData = (EFI_VARIABLE_AUTHENTICATION *) Data; [all...] |
AuthService.h | 25 #define AUTHINFO_SIZE (((UINTN)(((EFI_VARIABLE_AUTHENTICATION *) 0)->AuthInfo.CertData)) + sizeof (EFI_CERT_BLOCK_RSA_2048_SHA256))
|
/device/linaro/bootloader/edk2/MdePkg/Include/Guid/ |
WinCertificate.h | 62 /// WIN_CERTIFICATE_UEFI_GUID.CertData
82 /// format of the CertData. .
89 /// the CertData will be EFI_CERT_BLOCK_RSA_2048_SHA256 structure.
91 UINT8 CertData[1];
|
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Library/ |
AuthVariableLib.h | 24 (OFFSET_OF (WIN_CERTIFICATE_UEFI_GUID, CertData)) + \
31 (OFFSET_OF (WIN_CERTIFICATE_UEFI_GUID, CertData)))
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/AuthVariableLib/ |
AuthService.c | 502 EFI_VARIABLE_AUTHENTICATION *CertData;
510 CertData = NULL;
517 CertData = (EFI_VARIABLE_AUTHENTICATION *) Data;
518 CertBlock = (EFI_CERT_BLOCK_RSA_2048_SHA256 *) (CertData->AuthInfo.CertData);
524 if ((CertData->AuthInfo.Hdr.wCertificateType != WIN_CERT_TYPE_EFI_GUID) ||
525 !CompareGuid (&CertData->AuthInfo.CertType, &gEfiCertTypeRsa2048Sha256Guid)) {
553 Status = Sha256Update (mHashCtx, &CertData->MonotonicCount, sizeof (UINT64));
750 EFI_SIGNATURE_DATA *CertData;
814 CertData = (EFI_SIGNATURE_DATA *) ((UINT8 *) SigList + sizeof (EFI_SIGNATURE_LIST) + SigList->SignatureHead (…) [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/Library/FmpAuthenticationLibPkcs7/ |
FmpAuthenticationLibPkcs7.c | 79 P7Length = Image->AuthInfo.Hdr.dwLength - (OFFSET_OF(WIN_CERTIFICATE_UEFI_GUID, CertData));
80 P7Data = Image->AuthInfo.CertData;
180 if (Image->AuthInfo.Hdr.dwLength <= OFFSET_OF(WIN_CERTIFICATE_UEFI_GUID, CertData)) {
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/FmpAuthenticationLibRsa2048Sha256/ |
FmpAuthenticationLibRsa2048Sha256.c | 87 if (Image->AuthInfo.Hdr.dwLength != OFFSET_OF(WIN_CERTIFICATE_UEFI_GUID, CertData) + sizeof(EFI_CERT_BLOCK_RSA_2048_SHA256)) {
88 DEBUG((DEBUG_ERROR, "FmpAuthenticatedHandlerRsa2048Sha256 - dwLength: 0x%04x, dwLength - 0x%04x\n", (UINTN)Image->AuthInfo.Hdr.dwLength, (UINTN)OFFSET_OF(WIN_CERTIFICATE_UEFI_GUID, CertData) + sizeof(EFI_CERT_BLOCK_RSA_2048_SHA256)));
92 CertBlockRsa2048Sha256 = (EFI_CERT_BLOCK_RSA_2048_SHA256 *)Image->AuthInfo.CertData;
318 if (Image->AuthInfo.Hdr.dwLength <= OFFSET_OF(WIN_CERTIFICATE_UEFI_GUID, CertData)) {
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeImageVerificationLib/ |
DxeImageVerificationLib.c | [all...] |
DxeImageVerificationLib.h | 88 UINT8 CertData[1];
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/PlatformVarCleanupLib/ |
PlatVarCleanupLib.c | 371 DescriptorSize = OFFSET_OF (EFI_VARIABLE_AUTHENTICATION_2, AuthInfo) + OFFSET_OF (WIN_CERTIFICATE_UEFI_GUID, CertData);
396 DescriptorData->AuthInfo.Hdr.dwLength = OFFSET_OF (WIN_CERTIFICATE_UEFI_GUID, CertData);
456 (OFFSET_OF (WIN_CERTIFICATE_UEFI_GUID, CertData)) + \
476 DescriptorData->AuthInfo.Hdr.dwLength = OFFSET_OF (WIN_CERTIFICATE_UEFI_GUID, CertData) + sizeof (EFI_CERT_BLOCK_RSA_2048_SHA256);
[all...] |
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/ |
SecureBootConfigImpl.h | 264 UINT8 CertData[1];
|
SecureBootConfigImpl.c | 194 DescriptorSize = OFFSET_OF (EFI_VARIABLE_AUTHENTICATION_2, AuthInfo) + OFFSET_OF (WIN_CERTIFICATE_UEFI_GUID, CertData);
219 DescriptorData->AuthInfo.Hdr.dwLength = OFFSET_OF (WIN_CERTIFICATE_UEFI_GUID, CertData);
[all...] |
/device/linaro/bootloader/edk2/SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/ |
EdkiiSystemCapsuleLib.c | 385 if (ImageAuth->AuthInfo.Hdr.dwLength <= OFFSET_OF(WIN_CERTIFICATE_UEFI_GUID, CertData)) {
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/ |
Variable.c | [all...] |