Skip to content

Commit

Permalink
Merge pull request #12 from anakinxc/beta
Browse files Browse the repository at this point in the history
Fix stack-buffer-overflow
  • Loading branch information
Jamie Cui authored Aug 23, 2022
2 parents c3ab1c1 + fe6a744 commit feb0b10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yasl/mpctools/ot/aes_bench.cc
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ static void BM_EmpToolMultiAes(benchmark::State& state) {
size_t n = state.range(0);
state.ResumeTiming();
for (size_t i = 0; i < n; i++) {
emp::ParaEnc<kKeyWidth, kKeyWidth>(plain_block, aes_key);
emp::ParaEnc<kKeyWidth, 1>(plain_block, aes_key);
}
}
}
Expand Down

0 comments on commit feb0b10

Please sign in to comment.