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
Hash
Hmac
Kdf
Pem
Pk
Rand
SysCall
BaseCryptLib.inf
BaseCryptLib.uni
InternalCryptLib.h
PeiCryptLib.inf
PeiCryptLib.uni
RuntimeCryptLib.inf
RuntimeCryptLib.uni
SmmCryptLib.inf
SmmCryptLib.uni
UnitTestHostBaseCryptLib.inf