Enum aluvm::isa::Curve25519Op [−][src]
pub enum Curve25519Op { Gen(Reg32, Reg8), Mul(RegBlockAR, Reg32, Reg32, Reg32), Add(Reg32, Reg32, Reg32, bool), Neg(Reg32, Reg8), }
Expand description
Operations on Curve25519 elliptic curve
Variants
Generates new elliptic curve point value saved into destination
register in r512
set using scalar value from the source r256
register
Mul(RegBlockAR, Reg32, Reg32, Reg32)
Multiplies elliptic curve point on a scalar
Adds two elliptic curve points
Negates elliptic curve point
Trait Implementations
Returns number of bytes which instruction and its argument occupies
Returns range of instruction btecodes covered by a set of operations
Returns byte representing instruction code (without its arguments)
Writes instruction arguments as bytecode, omitting instruction code byte
Reads the instruction from bytecode
If the instruction call or references any external library, returns the call site in that library. Read more
ISA Extensions used by the provided instruction set. Read more
Checks whether provided ISA extension ID is supported by the current instruction set
Returns computational complexity of the instruction
Executes given instruction taking all registers as input and output. Read more
ISA Extension IDs represented as a standard string (space-separated) Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Curve25519Op
impl Send for Curve25519Op
impl Sync for Curve25519Op
impl Unpin for Curve25519Op
impl UnwindSafe for Curve25519Op
Blanket Implementations
Mutably borrows from an owned value. Read more