edk2/CryptoPkg/Library/BaseCryptLibNull/Bn
Levi Yun 4cc6026cb4 CryptoPkg: add some Bn interfaces to build TCG TPM library
This is preparation patch for build TCG TPM v2.0 implementation[0].

To build TCG TPM v2.0 implementation[0],
below Bn interfaces are required:

  - BN_CTX_start() -> BigNumContextStart()
  - BN_CTX_end()   -> BigNumContextEnd()
  - BN_CTX_get()   -> BigNumContextGet()
  - BN_mul()       -> BigNumMul()
  - BN_Gcd()       -> BigNumGcd()

and add BigNumDiv2() to receive remain too.

Link: https://github.com/TrustedComputingGroup/TPM[0]
Signed-off-by: Yeoreum Yun <yeoreum.yun@arm.com>
2026-02-24 13:49:35 +00:00
..
CryptBnNull.c CryptoPkg: add some Bn interfaces to build TCG TPM library 2026-02-24 13:49:35 +00:00