From ee4f9a0cf40a5519db5bb966e5b434e274dcb543 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 3 Sep 2023 02:53:02 -0400 Subject: [PATCH] spelling: transposes Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- pke/kyber/kyber1024/internal/mat.go | 2 +- pke/kyber/kyber512/internal/mat.go | 2 +- pke/kyber/kyber768/internal/mat.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pke/kyber/kyber1024/internal/mat.go b/pke/kyber/kyber1024/internal/mat.go index e8a35affa..404aacfb0 100644 --- a/pke/kyber/kyber1024/internal/mat.go +++ b/pke/kyber/kyber1024/internal/mat.go @@ -73,7 +73,7 @@ func (m *Mat) Derive(seed *[32]byte, transpose bool) { } } -// Tranposes A in place. +// Transposes A in place. func (m *Mat) Transpose() { for i := 0; i < K-1; i++ { for j := i + 1; j < K; j++ { diff --git a/pke/kyber/kyber512/internal/mat.go b/pke/kyber/kyber512/internal/mat.go index 9871a7741..735ecf556 100644 --- a/pke/kyber/kyber512/internal/mat.go +++ b/pke/kyber/kyber512/internal/mat.go @@ -71,7 +71,7 @@ func (m *Mat) Derive(seed *[32]byte, transpose bool) { } } -// Tranposes A in place. +// Transposes A in place. func (m *Mat) Transpose() { for i := 0; i < K-1; i++ { for j := i + 1; j < K; j++ { diff --git a/pke/kyber/kyber768/internal/mat.go b/pke/kyber/kyber768/internal/mat.go index e8a35affa..404aacfb0 100644 --- a/pke/kyber/kyber768/internal/mat.go +++ b/pke/kyber/kyber768/internal/mat.go @@ -73,7 +73,7 @@ func (m *Mat) Derive(seed *[32]byte, transpose bool) { } } -// Tranposes A in place. +// Transposes A in place. func (m *Mat) Transpose() { for i := 0; i < K-1; i++ { for j := i + 1; j < K; j++ {