Skip to content

Commit

Permalink
Add input dimensions of s for AS+E
Browse files Browse the repository at this point in the history
  • Loading branch information
atreiber94 authored and reneme committed Sep 28, 2023
1 parent 4861b8f commit 54fbf9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/pubkey/frodokem/frodo_matrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ FrodoMatrix FrodoMatrix::mul_add_as_plus_e(const FrodoKEMConstants& constants,
const FrodoMatrix& e,
StrongSpan<const FrodoSeedA> 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()) &&
Expand Down

0 comments on commit 54fbf9e

Please sign in to comment.