From 9847554392dc0e6188d0e120924ed09c74c6e456 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Ch=C3=A9ron?= Date: Thu, 1 Nov 2018 09:08:39 +0100 Subject: [PATCH] Fixed comment about expSafe --- Crypto/Number/ModArithmetic.hs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Crypto/Number/ModArithmetic.hs b/Crypto/Number/ModArithmetic.hs index 4ca6317..11a618e 100644 --- a/Crypto/Number/ModArithmetic.hs +++ b/Crypto/Number/ModArithmetic.hs @@ -38,9 +38,8 @@ instance Exception CoprimesAssertionError -- from expFast, and thus provide the same unstudied and dubious -- timing and side channels claims. -- --- with GHC 7.10, the powModSecInteger is missing from integer-gmp --- (which is now integer-gmp2), so is has the same security as old --- ghc version. +-- Before GHC 8.4.2, powModSecInteger is missing from integer-gmp, +-- so expSafe has the same security as expFast. expSafe :: Integer -- ^ base -> Integer -- ^ exponent -> Integer -- ^ modulo