errata and basepoint_odd_lookup_table test for better understanding

(cherry picked from commit 2d0c5323cb)
Signed-off-by: Isis Lovecruft <isis@patternsinthevoid.net>
This commit is contained in:
root 2019-09-04 13:15:09 +08:00 committed by Isis Lovecruft
parent 4b268a9d7e
commit 5ba95b13e4
No known key found for this signature in database
GPG key ID: AB41313533E8E812

View file

@ -47,7 +47,6 @@ use traits::Identity;
use super::constants;
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
/// operations.
@ -526,6 +525,7 @@ mod test {
#[test]
fn basepoint_odd_lookup_table_verify() {
use constants;
use backend::vector::avx2::constants::{BASEPOINT_ODD_LOOKUP_TABLE};
let basepoint_odd_table = NafLookupTable8::<CachedPoint>::from(&constants::ED25519_BASEPOINT_POINT);
println!("basepoint_odd_lookup_table = {:?}", basepoint_odd_table);