Skip to content

Commit

Permalink
addressed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
karthikbhargavan committed Dec 16, 2024
1 parent a51b250 commit 2ce6936
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 118 deletions.
1 change: 0 additions & 1 deletion libcrux-ml-kem/src/serialize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,6 @@ fn deserialize_then_decompress_10<Vector: Operations>(
hax_lib::fstar!(r#"assert (v (($COEFFICIENTS_IN_RING_ELEMENT *! sz 10) /! sz 8) == 320)"#);
let mut re = PolynomialRingElement::<Vector>::ZERO();

let _coefficients_length = re.coefficients.len();
cloop! {
for (i, bytes) in serialized.chunks_exact(20).enumerate() {
let coefficient = Vector::deserialize_10(bytes);
Expand Down
2 changes: 1 addition & 1 deletion libcrux-ml-kem/src/vector/portable/vector_type.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::vector::traits::FIELD_ELEMENTS_IN_VECTOR;

/// Values having this type hold a representative 'x' of the Kyber field.
/// Values having this type hold a representative 'x' of the ML-KEM field.
/// We use 'fe' as a shorthand for this type.
pub(crate) type FieldElement = i16;

Expand Down
116 changes: 0 additions & 116 deletions specs/kyber/tests/interop_with_libcrux.rs

This file was deleted.

0 comments on commit 2ce6936

Please sign in to comment.