mirror of
https://github.com/saymrwulf/risc0-curve25519-dalek-source.git
synced 2026-09-04 20:03:40 +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 window::{LookupTable, NafLookupTable5, NafLookupTable8};
|
||||
|
||||
use super::constants;
|
||||
use super::field::{F51x4Reduced, F51x4Unreduced, Lanes, Shuffle};
|
||||
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
|
|
|
|||
|
|
@ -11,3 +11,4 @@ pub mod field;
|
|||
|
||||
pub mod edwards;
|
||||
|
||||
pub mod constants;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue