Skip to main content

CtNegateModMpError

Type Alias CtNegateModMpError 

Source
pub type CtNegateModMpError = CtAddModMpMpError;
Expand description

Error returned by ct_negate_mod_mp().

An alias of CtAddModMpMpError, see there for the error conditions.

Aliased Type§

pub enum CtNegateModMpError {
    InconsistentOperandLengths,
}

Variants§

§

InconsistentOperandLengths

The modulus’ length in units of bytes doesn’t fit into the result’s.