From 82b749575db9953cc5d4073b704e078d75ba9e5b Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 3 Sep 2023 02:33:59 -0400 Subject: [PATCH] spelling: the Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- sign/dilithium/mode2/internal/sample.go | 2 +- sign/dilithium/mode2aes/internal/sample.go | 2 +- sign/dilithium/mode3/internal/sample.go | 2 +- sign/dilithium/mode3aes/internal/sample.go | 2 +- sign/dilithium/mode5/internal/sample.go | 2 +- sign/dilithium/mode5aes/internal/sample.go | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sign/dilithium/mode2/internal/sample.go b/sign/dilithium/mode2/internal/sample.go index fa866293c..c47185ada 100644 --- a/sign/dilithium/mode2/internal/sample.go +++ b/sign/dilithium/mode2/internal/sample.go @@ -240,7 +240,7 @@ func PolyDeriveUniformLeGamma1(p *common.Poly, seed *[64]byte, nonce uint16) { } // For each i, sample ps[i] uniformly with τ non-zero coefficients in {q-1,1} -// using the the given seed and w1[i]. ps[i] may be nil and is ignored +// using the given seed and w1[i]. ps[i] may be nil and is ignored // in that case. ps[i] will be normalized. // // Can only be called when DeriveX4Available is true. diff --git a/sign/dilithium/mode2aes/internal/sample.go b/sign/dilithium/mode2aes/internal/sample.go index fa866293c..c47185ada 100644 --- a/sign/dilithium/mode2aes/internal/sample.go +++ b/sign/dilithium/mode2aes/internal/sample.go @@ -240,7 +240,7 @@ func PolyDeriveUniformLeGamma1(p *common.Poly, seed *[64]byte, nonce uint16) { } // For each i, sample ps[i] uniformly with τ non-zero coefficients in {q-1,1} -// using the the given seed and w1[i]. ps[i] may be nil and is ignored +// using the given seed and w1[i]. ps[i] may be nil and is ignored // in that case. ps[i] will be normalized. // // Can only be called when DeriveX4Available is true. diff --git a/sign/dilithium/mode3/internal/sample.go b/sign/dilithium/mode3/internal/sample.go index ccde1f2ed..256ec731f 100644 --- a/sign/dilithium/mode3/internal/sample.go +++ b/sign/dilithium/mode3/internal/sample.go @@ -238,7 +238,7 @@ func PolyDeriveUniformLeGamma1(p *common.Poly, seed *[64]byte, nonce uint16) { } // For each i, sample ps[i] uniformly with τ non-zero coefficients in {q-1,1} -// using the the given seed and w1[i]. ps[i] may be nil and is ignored +// using the given seed and w1[i]. ps[i] may be nil and is ignored // in that case. ps[i] will be normalized. // // Can only be called when DeriveX4Available is true. diff --git a/sign/dilithium/mode3aes/internal/sample.go b/sign/dilithium/mode3aes/internal/sample.go index fa866293c..c47185ada 100644 --- a/sign/dilithium/mode3aes/internal/sample.go +++ b/sign/dilithium/mode3aes/internal/sample.go @@ -240,7 +240,7 @@ func PolyDeriveUniformLeGamma1(p *common.Poly, seed *[64]byte, nonce uint16) { } // For each i, sample ps[i] uniformly with τ non-zero coefficients in {q-1,1} -// using the the given seed and w1[i]. ps[i] may be nil and is ignored +// using the given seed and w1[i]. ps[i] may be nil and is ignored // in that case. ps[i] will be normalized. // // Can only be called when DeriveX4Available is true. diff --git a/sign/dilithium/mode5/internal/sample.go b/sign/dilithium/mode5/internal/sample.go index fa866293c..c47185ada 100644 --- a/sign/dilithium/mode5/internal/sample.go +++ b/sign/dilithium/mode5/internal/sample.go @@ -240,7 +240,7 @@ func PolyDeriveUniformLeGamma1(p *common.Poly, seed *[64]byte, nonce uint16) { } // For each i, sample ps[i] uniformly with τ non-zero coefficients in {q-1,1} -// using the the given seed and w1[i]. ps[i] may be nil and is ignored +// using the given seed and w1[i]. ps[i] may be nil and is ignored // in that case. ps[i] will be normalized. // // Can only be called when DeriveX4Available is true. diff --git a/sign/dilithium/mode5aes/internal/sample.go b/sign/dilithium/mode5aes/internal/sample.go index fa866293c..c47185ada 100644 --- a/sign/dilithium/mode5aes/internal/sample.go +++ b/sign/dilithium/mode5aes/internal/sample.go @@ -240,7 +240,7 @@ func PolyDeriveUniformLeGamma1(p *common.Poly, seed *[64]byte, nonce uint16) { } // For each i, sample ps[i] uniformly with τ non-zero coefficients in {q-1,1} -// using the the given seed and w1[i]. ps[i] may be nil and is ignored +// using the given seed and w1[i]. ps[i] may be nil and is ignored // in that case. ps[i] will be normalized. // // Can only be called when DeriveX4Available is true.