You've already forked slimbootloader
mirror of
https://github.com/Dasharo/slimbootloader.git
synced 2026-03-06 15:26:20 -08:00
feat: Add FIPS self test support
Added fips_selftest run before any crypto use in Stage1A. updated IppCrypto to 1.0.1 version Signed-off-by: Antara Borwankar <antara.borwankar@intel.com>
This commit is contained in:
committed by
Guo Dong
parent
615454fec9
commit
df944f5298
@@ -86,7 +86,12 @@ DoRsaVerify (
|
||||
CopyMem (OutHash, Digest, DigestSize);
|
||||
}
|
||||
|
||||
#if FixedPcdGetBool(PcdIppcrypto2Lib)
|
||||
// RSA Pkcs 1.5 requires to pass message to be verified
|
||||
Status = RsaVerify2_Pkcs_1_5 (PublicKey, SignatureHdr, Data, Length);
|
||||
#else
|
||||
Status = RsaVerify_Pkcs_1_5 (PublicKey, SignatureHdr, Digest);
|
||||
#endif
|
||||
|
||||
} else if(SignatureHdr->SigType == SIGNING_TYPE_RSA_PSS) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user