Enum ed448_rust::Ed448Error[]

pub enum Ed448Error {
    WrongKeyLength,
    WrongPublicKeyLength,
    WrongSignatureLength,
    InvalidPoint,
    InvalidSignature,
    ContextTooLong,
}

Errors of this crate

Variants

WrongKeyLength

The provided array is not in the correct length for the private key.

It must be crate::KEY_LENGTH.

See PrivateKey::from.

WrongPublicKeyLength

The provided array is not in the correct length for the public key.

It must be crate::KEY_LENGTH.

See PublicKey::from.

WrongSignatureLength

The provided array is not in the correct length for the signature.

It must be SIG_LENGTH.

See PublicKey::verify.

InvalidPoint

The computed point is not valid (maybe forged/altered public key or signature).

InvalidSignature

Signature verification failed.

See PublicKey::verify.

ContextTooLong

The provided context byte array is too long.

It must not be more than 256 byte.

Trait Implementations

impl Clone for Ed448Error

impl Copy for Ed448Error

impl Debug for Ed448Error

impl Eq for Ed448Error

impl PartialEq<Ed448Error> for Ed448Error

impl StructuralEq for Ed448Error

impl StructuralPartialEq for Ed448Error

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.