Trait curve25519_dalek::subtle::CTEq [] [src]

pub trait CTEq {
    fn ct_eq(&self, other: &Self) -> u8;
}

Trait for items whose equality to another item may be tested in constant time.

Required Methods

Determine if two items are equal in constant time.

Returns

1u8 if the two items are equal, and 0u8 otherwise.

Implementors