Skip to content

Commit 854f0bc

Browse files
authored
Merge pull request #1265 from pq-code-package/mlken
Remove post-quantum Barbie reference (mlken -> mlkem)
2 parents 8dd1c23 + 3308ef9 commit 854f0bc

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

dev/aarch64_clean/src/intt.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
// Bounds:
5656
// If C is chosen so that |src| < q * C, then |dst| < q * (0.0508 * C + 1/2)
5757
//
58-
// See mlken/reduce.c and test/test_bounds.py for more details.
58+
// See mlkem/src/poly.c and test/test_bounds.py for more details.
5959
.macro mulmodq dst, src, const, idx0, idx1
6060
// Signed barrett multiplication @[NeonNTT, Section 3.1.2] using
6161
// round-to-nearest-even-integer approximation. Following loc.cit.,

dev/aarch64_clean/src/ntt.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
// Bounds:
5656
// If C is chosen so that |src| < q * C, then |dst| < q * (0.0508 * C + 1/2)
5757
//
58-
// See mlken/reduce.c and test/test_bounds.py for more details.
58+
// See mlkem/src/poly.c and test/test_bounds.py for more details.
5959
.macro mulmodq dst, src, const, idx0, idx1
6060
// Signed barrett multiplication @[NeonNTT, Section 3.1.2] using
6161
// round-to-nearest-even-integer approximation. Following loc.cit.,

dev/aarch64_opt/src/intt.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
// Bounds:
5555
// If C is chosen so that |src| < q * C, then |dst| < q * (0.0508 * C + 1/2)
5656

57-
// See mlken/reduce.c and test/test_bounds.py for more details.
57+
// See mlkem/src/poly.c and test/test_bounds.py for more details.
5858
.macro mulmodq dst, src, const, idx0, idx1
5959
// Signed barrett multiplication @[NeonNTT, Section 3.1.2] using
6060
// round-to-nearest-even-integer approximation. Following loc.cit.,

dev/aarch64_opt/src/ntt.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
// Bounds:
5555
// If C is chosen so that |src| < q * C, then |dst| < q * (0.0508 * C + 1/2)
5656

57-
// See mlken/reduce.c and test/test_bounds.py for more details.
57+
// See mlkem/src/poly.c and test/test_bounds.py for more details.
5858
.macro mulmodq dst, src, const, idx0, idx1
5959
// Signed barrett multiplication @[NeonNTT, Section 3.1.2] using
6060
// round-to-nearest-even-integer approximation. Following loc.cit.,

mlkem/src/native/riscv64/src/rv64v_poly.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ void mlk_rv64v_poly_tomont(int16_t *r)
717717
*
718718
* Description: Applies Barrett reduction to all coefficients of a polynomial
719719
* for details of the Barrett reduction see
720-
* comments in reduce.c
720+
* comments in poly.c
721721
*
722722
* Arguments: - int16_t *r: pointer to input/output polynomial
723723
**************************************************/

mlkem/src/poly_k.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ __contract__(
436436
*
437437
* Description: Applies Barrett reduction to each coefficient
438438
* of each element of a vector of polynomials;
439-
* for details of the Barrett reduction see comments in reduce.c
439+
* for details of the Barrett reduction see comments in poly.c
440440
*
441441
* Arguments: - mlk_polyvec r: pointer to input/output polynomial
442442
*

0 commit comments

Comments
 (0)