pub enum Nist256p {}
Expand description

A type representing a standard curve defined by National Institute of Standards and Technology (variant 256p)

Trait Implementations

Length of P modulus (bytes)
Length of the scalar (bytes)
P modulus parameter Length: MOD_LENGTH + 4 Read more
A parameter of a curve Length: MOD_LENGTH + 4 Read more
B parameter of a curve Length: MOD_LENGTH + 4 Read more
X coordinate of a base point (point of origin on a curve) Length: MOD_LENGTH + 4 Read more
Y coordinate of a base point (point of origin on a curve) Length: MOD_LENGTH + 4 Read more
Z coordinate of a base point (point of origin on a curve) It is equal to 1 Length: MOD_LENGTH + 4 Read more
Order point of the curve Length: SCALAR_LENGTH + 4 Read more
Modulo reduction constant precalculated with RedMod service in a SetupConstant mode Read more
Function that can be used during runtime to verify if a curve is correctly defined. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.