Skip to content

Commit

Permalink
Small fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaranha committed Sep 12, 2024
1 parent 48e17a0 commit 2051b62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/epx/relic_ep8_mul.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ static void ep8_mul_gls_imp(ep8_t r, const ep8_t p, const bn_t k) {
bn_rec_frb(_k, 16, _k[0], u, n, ep_curve_is_pairf() == EP_BN);

l = 0;
for (size_t i = 0; i < 8; i++) {
for (size_t i = 0; i < 16; i++) {
l = RLC_MAX(l, bn_bits(_k[i]));
}
if (l < bn_bits(u) / 2) {
Expand Down

0 comments on commit 2051b62

Please sign in to comment.