From 165d23f43c9b0d667d27b03fad677b9436ee852e Mon Sep 17 00:00:00 2001 From: Bas Westerbaan Date: Mon, 15 Aug 2022 00:40:38 +0200 Subject: [PATCH] dilithium: fix typo Closes #365 --- sign/dilithium/internal/common/params/params.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sign/dilithium/internal/common/params/params.go b/sign/dilithium/internal/common/params/params.go index 13528bb5a..2df20e3a4 100644 --- a/sign/dilithium/internal/common/params/params.go +++ b/sign/dilithium/internal/common/params/params.go @@ -9,7 +9,7 @@ const ( Q = 8380417 // 2²³ - 2¹³ + 1 QBits = 23 Qinv = 4236238847 // = -(q^-1) mod 2³² - ROver256 = 41978 // = (256)⁻¹ R², where R = q mod 2³² + ROver256 = 41978 // = (256)⁻¹ R² mod q, where R=2³² D = 13 // Size of T1 packed. (Note that the formula is not valid in general,