Searched refs:AUTHINFO_SIZE (Results 1 - 6 of 6) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/
H A DAuthService.h25 #define AUTHINFO_SIZE (((UINTN)(((EFI_VARIABLE_AUTHENTICATION *) 0)->AuthInfo.CertData)) + sizeof (EFI_CERT_BLOCK_RSA_2048_SHA256)) macro
H A DAuthService.c345 Status = Sha256Update (HashContext, Data + AUTHINFO_SIZE, (UINTN) (DataSize - AUTHINFO_SIZE));
550 (UINT8*)Data + AUTHINFO_SIZE,
551 DataSize - AUTHINFO_SIZE,
564 if ((DataSize == AUTHINFO_SIZE) && IsPk) {
699 (UINT8*)Data + AUTHINFO_SIZE,
700 DataSize - AUTHINFO_SIZE,
805 if (DataSize == AUTHINFO_SIZE) {
H A DVariable.c2583 if (DataSize < AUTHINFO_SIZE) {
2589 PayloadSize = DataSize - AUTHINFO_SIZE;
2675 (UINT8*)Data + AUTHINFO_SIZE,
2676 DataSize - AUTHINFO_SIZE,
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/VariableAuthenticated/RuntimeDxe/
H A DAuthService.h25 #define AUTHINFO_SIZE ((OFFSET_OF (EFI_VARIABLE_AUTHENTICATION, AuthInfo)) + \ macro
H A DAuthService.c558 Status = Sha256Update (mHashCtx, Data + AUTHINFO_SIZE, (UINTN) (DataSize - AUTHINFO_SIZE));
1115 if (DataSize == AUTHINFO_SIZE) {
1199 return UpdateVariable (VariableName, VendorGuid, (UINT8*)Data + AUTHINFO_SIZE, DataSize - AUTHINFO_SIZE, Attributes, KeyIndex, MonotonicCount, Variable, NULL);
H A DVariable.c2171 if (DataSize < AUTHINFO_SIZE) {
2177 PayloadSize = DataSize - AUTHINFO_SIZE;

Completed in 101 milliseconds