Skip to content

Commit

Permalink
Remove use crate::vector::FIELD_MODULUS
Browse files Browse the repository at this point in the history
  • Loading branch information
mamonet committed Sep 23, 2024
1 parent 737bf43 commit c7c3b3e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions libcrux-ml-kem/src/vector/avx2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ mod ntt;
mod sampling;
mod serialize;

use crate::vector::FIELD_MODULUS;

#[derive(Clone, Copy)]
#[hax_lib::fstar::before(interface,"noeq")]
#[hax_lib::fstar::after(interface,"let repr (x:t_SIMD256Vector) : t_Array i16 (sz 16) = Libcrux_intrinsics.Avx2_extract.vec256_as_i16x16 x.f_elements")]
Expand Down
2 changes: 0 additions & 2 deletions libcrux-ml-kem/src/vector/portable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ use vector_type::*;

pub(crate) use vector_type::PortableVector;

use crate::vector::FIELD_MODULUS;

#[cfg(hax)]
impl crate::vector::traits::Repr for PortableVector {
fn repr(x: Self) -> [i16; 16] {
Expand Down

0 comments on commit c7c3b3e

Please sign in to comment.