From 54fbf9e24f9f2f6c55b7e90d6221d3f2df6d27b7 Mon Sep 17 00:00:00 2001 From: Amos Treiber Date: Fri, 8 Sep 2023 15:50:45 +0200 Subject: [PATCH] Add input dimensions of s for AS+E --- src/lib/pubkey/frodokem/frodo_matrix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/pubkey/frodokem/frodo_matrix.cpp b/src/lib/pubkey/frodokem/frodo_matrix.cpp index de67d8b73e3..67bb1da6244 100644 --- a/src/lib/pubkey/frodokem/frodo_matrix.cpp +++ b/src/lib/pubkey/frodokem/frodo_matrix.cpp @@ -123,7 +123,7 @@ FrodoMatrix FrodoMatrix::mul_add_as_plus_e(const FrodoKEMConstants& constants, const FrodoMatrix& e, StrongSpan seed_a) { // Generate-and-multiply: generate matrix A (N x N) row-wise, multiply by s on the right. - // Inputs: s^T, e (N x N_BAR), seed for matrix A + // Inputs: s^T (N_BAR x N), e (N x N_BAR), seed for matrix A // Output: The elements of the FrodoMatrix will correspond to A*s + e (N x N_BAR). BOTAN_ASSERT(std::get<0>(e.dimensions()) == std::get<1>(s.dimensions()) &&