From 827407fbed4ef4f610d87ec0138251e375c7e627 Mon Sep 17 00:00:00 2001 From: Vincent Hanquez Date: Fri, 3 Apr 2015 08:17:47 +0100 Subject: [PATCH] use BinaryPolynomial when it is one in F2m --- Crypto/Number/F2m.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Crypto/Number/F2m.hs b/Crypto/Number/F2m.hs index ee62c96..ce4677d 100644 --- a/Crypto/Number/F2m.hs +++ b/Crypto/Number/F2m.hs @@ -34,7 +34,7 @@ addF2m = xor {-# INLINE addF2m #-} -- | Binary polynomial reduction modulo using long division algorithm. -modF2m :: Integer -- ^ Irreducible binary polynomial +modF2m :: BinaryPolynomial -- ^ Irreducible binary polynomial -> Integer -> Integer modF2m fx = go where