[Error] Add new public key error values

This commit is contained in:
Vincent Hanquez 2015-04-19 09:24:21 +01:00
parent 6e79d33e9f
commit 655d8b9c33
2 changed files with 4 additions and 1 deletions

View File

@ -29,6 +29,10 @@ data CryptoError =
CryptoError_KeySizeInvalid
| CryptoError_IvSizeInvalid
| CryptoError_AEADModeNotSupported
-- public key cryptography error
| CryptoError_SecretKeySizeInvalid
| CryptoError_SecretKeyStructureInvalid
| CryptoError_PublicKeySizeInvalid
deriving (Show,Eq,Enum,Data,Typeable)
instance E.Exception CryptoError

View File

@ -129,7 +129,6 @@ Library
Crypto.Internal.CompatPrim
Crypto.Internal.Bytes
Crypto.Internal.Endian
Crypto.Internal.Hex
Crypto.Internal.Imports
Crypto.Internal.Memory
Crypto.Internal.Words