mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-06 20:41:14 +00:00
errata and basepoint_odd_lookup_table test for better understanding
This commit is contained in:
parent
8da05f7e90
commit
2d0c5323cb
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,6 @@ use traits::Identity;
|
||||||
|
|
||||||
use super::constants;
|
use super::constants;
|
||||||
use super::field::{FieldElement2625x4, Lanes, Shuffle};
|
use super::field::{FieldElement2625x4, Lanes, Shuffle};
|
||||||
use backend::vector::avx2::constants::{BASEPOINT_ODD_LOOKUP_TABLE};
|
|
||||||
|
|
||||||
/// A point on Curve25519, using parallel Edwards formulas for curve
|
/// A point on Curve25519, using parallel Edwards formulas for curve
|
||||||
/// operations.
|
/// operations.
|
||||||
|
|
@ -526,6 +525,7 @@ mod test {
|
||||||
#[test]
|
#[test]
|
||||||
fn basepoint_odd_lookup_table_verify() {
|
fn basepoint_odd_lookup_table_verify() {
|
||||||
use constants;
|
use constants;
|
||||||
|
use backend::vector::avx2::constants::{BASEPOINT_ODD_LOOKUP_TABLE};
|
||||||
|
|
||||||
let basepoint_odd_table = NafLookupTable8::<CachedPoint>::from(&constants::ED25519_BASEPOINT_POINT);
|
let basepoint_odd_table = NafLookupTable8::<CachedPoint>::from(&constants::ED25519_BASEPOINT_POINT);
|
||||||
println!("basepoint_odd_lookup_table = {:?}", basepoint_odd_table);
|
println!("basepoint_odd_lookup_table = {:?}", basepoint_odd_table);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue