Add IFMA constants file.

This commit is contained in:
Henry de Valence 2019-01-18 01:47:58 -08:00
parent f825426ff4
commit 33aa544cf4
4 changed files with 2068 additions and 0 deletions

File diff suppressed because it is too large Load diff

View file

@ -17,6 +17,7 @@ use subtle::ConditionallySelectable;
use edwards;
use window::{LookupTable, NafLookupTable5, NafLookupTable8};
use super::constants;
use super::field::{F51x4Reduced, F51x4Unreduced, Lanes, Shuffle};
#[derive(Copy, Clone, Debug)]

View file

@ -11,3 +11,4 @@ pub mod field;
pub mod edwards;
pub mod constants;

View file

@ -33,5 +33,9 @@ pub(crate) use self::avx2::{
#[cfg(all(target_feature = "avx512ifma"))]
pub mod ifma;
#[cfg(all(target_feature = "avx512ifma"))]
pub(crate) use self::ifma::{
constants::BASEPOINT_ODD_LOOKUP_TABLE, edwards::CachedPoint, edwards::ExtendedPoint,
};
pub mod scalar_mul;