From a3a0974822c02ab38ab7a7d21ab79f4b22d00291 Mon Sep 17 00:00:00 2001 From: "Yao, Jiewen" Date: Tue, 18 Aug 2015 02:11:10 +0000 Subject: Add restriction that HashFinal() must be after at least one HashUpdate(). Just follow UEFI spec. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao, Jiewen" Reviewed-by: "Zhang, Chao B" git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18229 6f19259b-4bc3-4df7-8a09-765794883524 --- SecurityPkg/Hash2DxeCrypto/Driver.h | 1 + 1 file changed, 1 insertion(+) (limited to 'SecurityPkg/Hash2DxeCrypto/Driver.h') diff --git a/SecurityPkg/Hash2DxeCrypto/Driver.h b/SecurityPkg/Hash2DxeCrypto/Driver.h index 771aedc1ed..a145858fa0 100644 --- a/SecurityPkg/Hash2DxeCrypto/Driver.h +++ b/SecurityPkg/Hash2DxeCrypto/Driver.h @@ -57,6 +57,7 @@ typedef struct { EFI_HASH2_PROTOCOL Hash2Protocol; VOID *HashContext; VOID *HashInfoContext; + BOOLEAN Updated; } HASH2_INSTANCE_DATA; #define HASH2_INSTANCE_DATA_FROM_THIS(a) \ -- cgit v1.2.3