add new EC errors

This commit is contained in:
Vincent Hanquez 2016-12-01 12:50:10 +00:00
parent a5fb2ee23a
commit d80a87da48

View File

@ -34,6 +34,10 @@ data CryptoError =
| CryptoError_SecretKeyStructureInvalid
| CryptoError_PublicKeySizeInvalid
| CryptoError_SharedSecretSizeInvalid
-- elliptic cryptography error
| CryptoError_PointSizeInvalid
| CryptoError_PointFormatInvalid
| CryptoError_PointFormatUnsupported
-- Message authentification error
| CryptoError_MacKeyInvalid
| CryptoError_AuthenticationTagSizeInvalid