X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=SecurityPkg%2FLibrary%2FTpmCommLib%2FTpmComm.c;fp=SecurityPkg%2FLibrary%2FTpmCommLib%2FTpmComm.c;h=5285d72ece109989b6b48d7ac951c3e5c1e25a60;hb=c411b485b63a671a1e276700cff025c73997233c;hp=dee64b24ffefbe0c409d10364006a9c01730c6f4;hpb=39de741e2dcb8f11e9b4438e37224797643d8451;p=mirror_edk2.git diff --git a/SecurityPkg/Library/TpmCommLib/TpmComm.c b/SecurityPkg/Library/TpmCommLib/TpmComm.c index dee64b24ff..5285d72ece 100644 --- a/SecurityPkg/Library/TpmCommLib/TpmComm.c +++ b/SecurityPkg/Library/TpmCommLib/TpmComm.c @@ -21,13 +21,13 @@ SPDX-License-Identifier: BSD-2-Clause-Patent EFI_STATUS EFIAPI TpmCommHashAll ( - IN CONST UINT8 *Data, - IN UINTN DataLen, - OUT TPM_DIGEST *Digest + IN CONST UINT8 *Data, + IN UINTN DataLen, + OUT TPM_DIGEST *Digest ) { - VOID *Sha1Ctx; - UINTN CtxSize; + VOID *Sha1Ctx; + UINTN CtxSize; CtxSize = Sha1GetContextSize (); Sha1Ctx = AllocatePool (CtxSize); @@ -41,4 +41,3 @@ TpmCommHashAll ( return EFI_SUCCESS; } -