sentc_crypto_core/
error.rs1#[derive(Debug)]
2pub enum Error
3{
4 DecryptionFailedCiphertextShort,
5
6 KeyCreationFailed,
7
8 EncryptionFailed,
9 EncryptionFailedRng,
10 DecryptionFailed,
11
12 PwHashFailed,
13 PwSplitFailedLeft,
14 PwSplitFailedRight,
15 HashAuthKeyFailed,
16
17 KeyDecryptFailed,
18 KeyDecryptionVerifyFailed,
19
20 SignKeyCreateFailed,
21 InitSignFailed,
22 DataToSignTooShort,
23 InitVerifyFailed,
24
25 AlgNotFound,
26
27 DecodePrivateKeyFailed,
28
29 HmacAuthFailedLength,
30
31 OpeRangeError,
32 OpeHdgInvalidInputs,
33 OpeStringToLarge,
34}