| Index | Module | Size | Phase |
|---|---|---|---|
| 0410 | CryptoPPI.efi | 0x11A20 (72224 bytes) | PEI |
This PEIM provides a PPI (PEI-to-PEI Interface) for cryptographic operations during the PEI phase. It implements RSA key generation/signing/verification (including RSA-PSS and RSA-OAEP padding schemes), X.509 certificate parsing, PKCS7 signature verification, ASN.1 DER encoding/decoding, SHA-1 hashing, big-number arithmetic with Montgomery reduction, cryptographic random number generation, and key derivation. It includes an internal memory manager (Mmgr) for heap allocation within the constrained PEI environment.
MmgrInitHeap / MmgrAllocPointer / MmgrFreePointer -- Internal PEI heap managerBnAlloc / BnFree / BnCompare -- Big number arithmetic primitivesBnMontSqr / IntnMontReduce -- Montgomery multiplication/reductionIntnMultiply / IntnMod / IntnShiftLeft -- Core big integer math