diff --git a/Crypto/PubKey/ECC/P256.hs b/Crypto/PubKey/ECC/P256.hs index 8e54df8..0e79729 100644 --- a/Crypto/PubKey/ECC/P256.hs +++ b/Crypto/PubKey/ECC/P256.hs @@ -52,7 +52,7 @@ import Crypto.Number.Serialize.Internal (os2ip, i2ospOf) import qualified Crypto.Number.Serialize as S (os2ip, i2ospOf) -- | A P256 scalar -newtype Scalar = Scalar Bytes +newtype Scalar = Scalar ScrubbedBytes deriving (Eq,ByteArrayAccess) -- | A P256 point