]> git.proxmox.com Git - mirror_edk2.git/commit
CryptoPkg/Library: Add BaseCryptLibOnProtocolPpi instances
authorMichael D Kinney <michael.d.kinney@intel.com>
Thu, 21 Nov 2019 17:24:53 +0000 (09:24 -0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 7 Feb 2020 16:32:13 +0000 (16:32 +0000)
commitcd70de1cc0c954dd9608e63093fac0d4f50be630
tree3e1247c095fc701db4caeb69769a441fca0c2dcb
parentcc1d13c9228d988071834b12c8494efb28b55802
CryptoPkg/Library: Add BaseCryptLibOnProtocolPpi instances

https://bugzilla.tianocore.org/show_bug.cgi?id=2420

Based on the following package with changes to merge into
CryptoPkg.

https://github.com/microsoft/mu_plus/tree/dev/201908/SharedCryptoPkg

Add the PeiCryptLib, DxeCryptLib, and SmmCryptLib instances
of the BaseCryptLib library classes that are implemented using
the services of EDK II Crypto Protocols/PPIs.

These library instances all set a dependency expression on the
EDK II Crypto Protocols/PPIs, so any modules that use these
library instances are not dispatched until the modules that
produce the EDK II Crypto Protocols/PPIs are dispatched.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Xiaoyu Lu <xiaoyux.lu@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
CryptoPkg/Library/BaseCryptLibOnProtocolPpi/CryptLib.c [new file with mode: 0644]
CryptoPkg/Library/BaseCryptLibOnProtocolPpi/CryptLib.uni [new file with mode: 0644]
CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.c [new file with mode: 0644]
CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf [new file with mode: 0644]
CryptoPkg/Library/BaseCryptLibOnProtocolPpi/PeiCryptLib.c [new file with mode: 0644]
CryptoPkg/Library/BaseCryptLibOnProtocolPpi/PeiCryptLib.inf [new file with mode: 0644]
CryptoPkg/Library/BaseCryptLibOnProtocolPpi/SmmCryptLib.c [new file with mode: 0644]
CryptoPkg/Library/BaseCryptLibOnProtocolPpi/SmmCryptLib.inf [new file with mode: 0644]