Struct curve25519_dalek::edwards::EdwardsBasepointTable [] [src]

pub struct EdwardsBasepointTable(_);

A precomputed table of multiples of a basepoint, for accelerating fixed-base scalar multiplication. One table, for the Ed25519 basepoint, is provided in the constants module.

The basepoint tables are reasonably large (30KB), so they should probably be boxed.

Methods

impl EdwardsBasepointTable
[src]

[src]

Create a table of precomputed multiples of basepoint.

[src]

Get the basepoint for this table as an EdwardsPoint.

XXX maybe this would be better as a From impl

Trait Implementations

impl Clone for EdwardsBasepointTable
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a, 'b> Mul<&'b Scalar> for &'a EdwardsBasepointTable
[src]

The resulting type after applying the * operator.

[src]

Construct an EdwardsPoint from a Scalar \(a\) by computing the multiple \(aB\) of this basepoint \(B\).

impl<'a, 'b> Mul<&'a EdwardsBasepointTable> for &'b Scalar
[src]

The resulting type after applying the * operator.

[src]

Construct an EdwardsPoint from a Scalar \(a\) by computing the multiple \(aB\) of this basepoint \(B\).

impl Debug for EdwardsBasepointTable
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations