Split out files for loading and scalars, clean up mod imports.

This commit is contained in:
2019-05-26 16:15:24 -07:00
parent 4ce8797da2
commit 0e6664f232
5 changed files with 920 additions and 909 deletions

View File

@@ -1,11 +1,14 @@
mod constants;
mod fe;
mod loads;
mod point;
mod scalars;
use digest::Digest;
use rand::Rng;
use sha2::Sha512;
use self::point::*;
use self::scalars::{curve25519_scalar_mask,x25519_sc_muladd,x25519_sc_reduce};
use self::point::{Point,Point2};
#[cfg(test)]
use testing::run_test;
#[cfg(test)]