12 Commits

Author SHA1 Message Date
PMheart
11232d53f5 Codestyle: Fixed by Uncrustify 2022-04-25 21:30:42 +02:00
Marvin Häuser
9d152dc686 OcCryptoLib: Fix potential Mont BN overflows 2022-04-25 19:32:19 +02:00
PMheart
228f8ca1fb Codestyle: Apply codestyle changes with Uncrustify 2022-04-25 14:51:15 +02:00
vit9696
19cefe626c OcCryptoLib: Use caller-provided buffer for BigNumPowMod 2022-03-06 16:40:55 +03:00
vit9696
59da77c87f OcCryptoLib: Use caller-provided scratch in BigNumCalculateMontParams 2022-03-06 16:33:34 +03:00
vit9696
1da000afab OcCryptoLib: Use single buffer in BigNumCalculateMontParams 2022-03-06 16:10:22 +03:00
vit9696
d9e2c49b82 OcCryptoLib: Kill heap optimisation in BigNumCalculateMontParams
This optimisation once again gives us nothing on realistic values
due to roughly uniform distribution.
2022-03-06 15:48:26 +03:00
vit9696
8d9d387e38 OcCryptoLib: Drop BigNumMod memory allocation
BigNumCalculateMontParams previously did not check BigNumMod for memory
allocation failure anyway, which was thus harder to diagnose due to
the Montgomery Inverse of N still returning correctly.
2022-03-06 15:25:02 +03:00
vit9696
8551daca79 OcCryptoLib: Improve portability 2022-03-06 11:49:16 +03:00
vit9696
1560cec90c OcGuardLib: Switch to edk2-stable201911 2019-11-29 17:32:17 +03:00
Download-Fritz
3e9ef5ac41 OcCryptoLib: Import changes missed in f18ec0022b 2019-11-11 22:28:14 +01:00
Download-Fritz
410d10d3fc
OcCryptoLib: Import new RSA stack
Import a new RSA stack and test utilities to support IMG4 image verification.
2019-11-06 19:26:45 +01:00