Fixed comment about expSafe

This commit is contained in:
Olivier Chéron 2018-11-01 09:08:39 +01:00
parent 8da892da5d
commit 9847554392

View File

@ -38,9 +38,8 @@ instance Exception CoprimesAssertionError
-- from expFast, and thus provide the same unstudied and dubious -- from expFast, and thus provide the same unstudied and dubious
-- timing and side channels claims. -- timing and side channels claims.
-- --
-- with GHC 7.10, the powModSecInteger is missing from integer-gmp -- Before GHC 8.4.2, powModSecInteger is missing from integer-gmp,
-- (which is now integer-gmp2), so is has the same security as old -- so expSafe has the same security as expFast.
-- ghc version.
expSafe :: Integer -- ^ base expSafe :: Integer -- ^ base
-> Integer -- ^ exponent -> Integer -- ^ exponent
-> Integer -- ^ modulo -> Integer -- ^ modulo