Struct curve25519_dalek::scalar::UnpackedScalar
[−]
[src]
pub struct UnpackedScalar(pub [i64; 12]);
The UnpackedScalar
struct represents an element in ℤ/lℤ as 12
21-bit limbs.
Methods
impl UnpackedScalar
[src]
fn multiply_add(a: &UnpackedScalar,
b: &UnpackedScalar,
c: &UnpackedScalar)
-> UnpackedScalar
b: &UnpackedScalar,
c: &UnpackedScalar)
-> UnpackedScalar
Compute ab+c (mod l)
.
Trait Implementations
impl Copy for UnpackedScalar
[src]
impl Clone for UnpackedScalar
[src]
fn clone(&self) -> UnpackedScalar
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Index<usize> for UnpackedScalar
[src]
type Output = i64
The returned type after indexing
fn index<'a>(&'a self, _index: usize) -> &'a i64
The method for the indexing (container[index]
) operation