audk/CryptoPkg/Library/BaseCryptLib
Bob Morgan f22feb0e3b CryptoPkg/BaseCryptLib: Eliminate extra buffer copy in Pkcs7Verify()
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3617

Create a read-only openSSL BIO wrapper for the existing input
buffer passed to Pkcs7Verify() instead of copying the buffer
into an empty writable BIO which causes memory allocations
within openSSL.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Xiaoyu Lu <xiaoyux.lu@intel.com>
Cc: Guomin Jiang <guomin.jiang@intel.com>
Signed-off-by: Bob Morgan <bobm@nvidia.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
2021-10-13 01:45:18 +00:00
..
Cipher CryptoPkg/BaseCryptLib: Retire Aes Ecb mode algorithm 2020-05-15 07:22:36 +00:00
Hash CryptoPkg: Make the MD5 disable as default for security 2020-11-17 19:26:50 +00:00
Hmac CryptoPkg/BaseCryptLib: Retire HMAC SHA1 algorithm 2020-05-15 07:22:36 +00:00
Kdf CryptoPkg: Fix coding style 2019-08-19 08:45:29 +08:00
Pem CryptoPkg/BaseCryptLib: Retire the TDES algorithm 2020-05-15 07:22:36 +00:00
Pk CryptoPkg/BaseCryptLib: Eliminate extra buffer copy in Pkcs7Verify() 2021-10-13 01:45:18 +00:00
Rand CryptoPkg/BaseCryptLib: remove unused code for IPF 2019-05-17 13:13:41 +08:00
SysCall CryptoPkg: BaseCryptLib: Add unit tests (Host and Shell based) 2020-10-18 00:49:58 +00:00
BaseCryptLib.inf CryptoPkg: BaseCryptLib: Add RSA PSS verify support 2021-05-14 03:35:33 +00:00
BaseCryptLib.uni CryptoPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:22 -07:00
InternalCryptLib.h CryptoPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:22 -07:00
PeiCryptLib.inf CryptoPkg: BaseCryptLib: Add RSA PSS verify support 2021-05-14 03:35:33 +00:00
PeiCryptLib.uni CryptoPkg/BaseCryptLib: Retire HMAC SHA1 algorithm 2020-05-15 07:22:36 +00:00
RuntimeCryptLib.inf CryptoPkg/BaseCryptLib: Enabled CryptSha512 for Smm/Runtime drivers 2021-06-24 02:46:14 +00:00
RuntimeCryptLib.uni CryptoPkg/BaseCryptLib: Retire HMAC SHA1 algorithm 2020-05-15 07:22:36 +00:00
SmmCryptLib.inf CryptoPkg/BaseCryptLib: Enabled CryptSha512 for Smm/Runtime drivers 2021-06-24 02:46:14 +00:00
SmmCryptLib.uni CryptoPkg/BaseCryptLib: Retire HMAC SHA1 algorithm 2020-05-15 07:22:36 +00:00
UnitTestHostBaseCryptLib.inf CryptoPkg: BaseCryptLib: Add RSA PSS verify support 2021-05-14 03:35:33 +00:00