Closed kriskwiatkowski closed 2 years ago
Shouldn't this be? (256)⁻¹ R² mod q, where R = 2³²
> sage -c "Q=8380417;L=32;R=2^L;print((R^2)/(2^8)%Q)" 41978
https://github.com/cloudflare/circl/blob/0a9554f37a47ea95082a1c70c0551377007c5ac9/sign/dilithium/internal/common/params/params.go#L12
Yeah, that's a typo.
Thank you. I started to think, I'm missing something here.
Shouldn't this be? (256)⁻¹ R² mod q, where R = 2³²
https://github.com/cloudflare/circl/blob/0a9554f37a47ea95082a1c70c0551377007c5ac9/sign/dilithium/internal/common/params/params.go#L12