Skip to content

Commit 39ba87a

Browse files
bwesterbarmfazh
authored andcommitted
dilithium: fix typo
Closes #365
1 parent 0a9554f commit 39ba87a

File tree

1 file changed

+1
-1
lines changed
  • sign/dilithium/internal/common/params

1 file changed

+1
-1
lines changed

sign/dilithium/internal/common/params/params.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const (
99
Q = 8380417 // 2²³ - 2¹³ + 1
1010
QBits = 23
1111
Qinv = 4236238847 // = -(q^-1) mod 2³²
12-
ROver256 = 41978 // = (256)⁻¹ R², where R = q mod 2³²
12+
ROver256 = 41978 // = (256)⁻¹ R² mod q, where R=2³²
1313
D = 13
1414

1515
// Size of T1 packed. (Note that the formula is not valid in general,

0 commit comments

Comments
 (0)