]> git.proxmox.com Git - mirror_edk2.git/commit - SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
Add context check and init in BaseCrypto2Hash().
authorYao, Jiewen <Jiewen.Yao@intel.com>
Mon, 17 Aug 2015 05:48:30 +0000 (05:48 +0000)
committerjyao1 <jyao1@Edk2>
Mon, 17 Aug 2015 05:48:30 +0000 (05:48 +0000)
commit099bff5def30b277157b2387d5d910e2ad14f84e
treebd47e6b58d9c5cdcd379e4e0d2e58af92d9ad7ce
parent13a220a998a9d504cdeb7a858cc083f6879ec26e
Add context check and init in BaseCrypto2Hash().

Follow UEFI specification to add context check and init in BaseCrypto2Hash(), so that other function can get proper status on hash operation.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <Jiewen.Yao@intel.com>
Reviewed-by: "Zhang, Chao B" <chao.b.zhang@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18227 6f19259b-4bc3-4df7-8a09-765794883524
SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c