mirror of
https://github.com/saymrwulf/risc0-curve25519-dalek-source.git
synced 2026-09-07 20:30:39 +00:00
Add IFMA constants file.
This commit is contained in:
parent
f825426ff4
commit
33aa544cf4
4 changed files with 2068 additions and 0 deletions
2062
src/backend/vector/ifma/constants.rs
Normal file
2062
src/backend/vector/ifma/constants.rs
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -17,6 +17,7 @@ use subtle::ConditionallySelectable;
|
||||||
use edwards;
|
use edwards;
|
||||||
use window::{LookupTable, NafLookupTable5, NafLookupTable8};
|
use window::{LookupTable, NafLookupTable5, NafLookupTable8};
|
||||||
|
|
||||||
|
use super::constants;
|
||||||
use super::field::{F51x4Reduced, F51x4Unreduced, Lanes, Shuffle};
|
use super::field::{F51x4Reduced, F51x4Unreduced, Lanes, Shuffle};
|
||||||
|
|
||||||
#[derive(Copy, Clone, Debug)]
|
#[derive(Copy, Clone, Debug)]
|
||||||
|
|
|
||||||
|
|
@ -11,3 +11,4 @@ pub mod field;
|
||||||
|
|
||||||
pub mod edwards;
|
pub mod edwards;
|
||||||
|
|
||||||
|
pub mod constants;
|
||||||
|
|
|
||||||
|
|
@ -33,5 +33,9 @@ pub(crate) use self::avx2::{
|
||||||
|
|
||||||
#[cfg(all(target_feature = "avx512ifma"))]
|
#[cfg(all(target_feature = "avx512ifma"))]
|
||||||
pub mod ifma;
|
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;
|
pub mod scalar_mul;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue