Additional QA clean-up

This commit is contained in:
Olivier Chéron 2018-04-29 10:43:55 +02:00
parent b3a1506d82
commit d0ac50c1af
2 changed files with 4 additions and 3 deletions

View File

@ -12,7 +12,6 @@
-- data types are compatible with the encoding specified in RFC 7748.
--
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE MagicHash #-}
module Crypto.PubKey.Curve448
( SecretKey
, PublicKey

6
QA.hs
View File

@ -23,10 +23,10 @@ newtype ModuleName = ModuleName String
allowedExtensions =
[ ScopedTypeVariables, BangPatterns, ForeignFunctionInterface, DeriveDataTypeable, ViewPatterns, GeneralizedNewtypeDeriving, ExistentialQuantification, EmptyDataDecls
, TypeFamilies, KindSignatures ]
, TypeFamilies, KindSignatures, DataKinds ]
perModuleAllowedExtensions =
[ ("Crypto/Hash/Utils.hs", [MagicHash])
, ("Crypto/Hash/SHAKE.hs", [UndecidableInstances,TypeOperators,ConstraintKinds,DataKinds,KindSignatures])
, ("Crypto/Hash/SHAKE.hs", [UndecidableInstances,TypeOperators,ConstraintKinds])
, ("Crypto/Internal/ByteArray.hs", [MagicHash, UnboxedTuples])
, ("Crypto/Internal/Memory.hs", [MagicHash, UnboxedTuples])
, ("Crypto/Internal/Compat.hs", [CPP])
@ -42,8 +42,10 @@ perModuleAllowedExtensions =
, ("Crypto/Cipher/AES.hs", [CPP])
, ("Crypto/Cipher/Types/Block.hs", [Rank2Types, MultiParamTypeClasses])
, ("Crypto/Cipher/Types/AEAD.hs", [Rank2Types])
, ("Crypto/Cipher/CAST5/Primitive.hs", [MagicHash])
, ("Crypto/Cipher/Camellia/Primitive.hs", [MagicHash])
, ("Crypto/Cipher/DES/Primitive.hs", [FlexibleInstances])
, ("Crypto/Cipher/Twofish/Primitive.hs", [MagicHash])
, ("Crypto/PubKey/Curve25519.hs", [MagicHash])
, ("Crypto/Number/Compat.hs", [UnboxedTuples,MagicHash,CPP])
]