|
/// MAC verification failed - The tag doesn't verify for the given ciphertext and secret key |
AuthenticationErrorThe requested output length is too long for the chosen algorithm |
pub const AuthenticationError = error{AuthenticationFailed};
|
OutputTooLongErrorFinite field operation returned the identity element |
/// The requested output length is too long for the chosen algorithm
pub const OutputTooLongError = error{OutputTooLong};
|
IdentityElementErrorEncoded input cannot be decoded |
/// Finite field operation returned the identity element
pub const IdentityElementError = error{IdentityElement};
|
EncodingErrorThe signature doesn't verify for the given message and public key |
/// Encoded input cannot be decoded
pub const EncodingError = error{InvalidEncoding};
|
SignatureVerificationErrorBoth a public and secret key have been provided, but they are incompatible |
/// The signature doesn't verify for the given message and public key
pub const SignatureVerificationError = error{SignatureVerificationFailed};
|
KeyMismatchErrorEncoded input is not in canonical form |
/// Both a public and secret key have been provided, but they are incompatible
pub const KeyMismatchError = error{KeyMismatch};
|
NonCanonicalErrorSquare root has no solutions |
/// Encoded input is not in canonical form
pub const NonCanonicalError = error{NonCanonical};
|
NotSquareErrorVerification string doesn't match the provided password and parameters |
/// Square root has no solutions
pub const NotSquareError = error{NotSquare};
|
PasswordVerificationErrorParameters would be insecure to use |
/// Verification string doesn't match the provided password and parameters
pub const PasswordVerificationError = error{PasswordVerificationFailed};
|
WeakParametersErrorPublic key would be insecure to use |
/// Parameters would be insecure to use
pub const WeakParametersError = error{WeakParameters};
|
WeakPublicKeyErrorPoint is not in the prime order group |
/// Public key would be insecure to use
pub const WeakPublicKeyError = error{WeakPublicKey};
|
UnexpectedSubgroupErrorAny error related to cryptography operations |
/// Point is not in the prime order group
pub const UnexpectedSubgroupError = error{UnexpectedSubgroup};
|
Error |
/// Any error related to cryptography operations pub const Error = AuthenticationError || OutputTooLongError || IdentityElementError || EncodingError || SignatureVerificationError || KeyMismatchError || NonCanonicalError || NotSquareError || PasswordVerificationError || WeakParametersError || WeakPublicKeyError || UnexpectedSubgroupError; |
| Generated by zstd-live on 2025-10-12 02:30:37 UTC. |