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]

[src]

Return the zero scalar.

[src]

Return the one scalar.

[src]

Compute the multiplicative inverse of this scalar.

[src]

Compute a^2 (mod l).

[src]

Compute ab+c (mod l).

Trait Implementations

impl Copy for UnpackedScalar
[src]

impl Clone for UnpackedScalar
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Index<usize> for UnpackedScalar
[src]

The returned type after indexing.

[src]

Performs the indexing (container[index]) operation.

impl IndexMut<usize> for UnpackedScalar
[src]

[src]

Performs the mutable indexing (container[index]) operation.