Add side-channel attack resilient `powModSecInteger`
authorHerbert Valerio Riedel <hvr@gnu.org>
Sun, 27 Oct 2013 22:14:11 +0000 (23:14 +0100)
committerHerbert Valerio Riedel <hvr@gnu.org>
Sun, 27 Oct 2013 22:14:11 +0000 (23:14 +0100)
commit4d7cd68b3c6fd87e80d178f1433f3b67e16a6b98
tree6eb075c8d132b296cc947816114a432fffcd8ba8
parented55293ba922c1e5279a10ebc83ca3570909c5be
Add side-channel attack resilient `powModSecInteger`

This is a follow-up to 97c101b7363f84d925a600acb56a9fa3a997ea0d which
introduced the "ordinary" `powModInteger` operation.

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
GHC/Integer/GMP/Internals.hs
GHC/Integer/GMP/Prim.hs
GHC/Integer/Type.lhs
cbits/gmp-wrappers.cmm