[Error] Add new public key error values
This commit is contained in:
parent
6e79d33e9f
commit
655d8b9c33
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user