Skip to content

Commit

Permalink
Small spedup.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaranha committed Jul 30, 2024
1 parent 2b0fb52 commit d7d9b1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bn/relic_bn_smb.c
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,8 @@ int bn_smb_jac(const bn_t a, const bn_t b) {
if (bn_sign(t0) == RLC_NEG) {
t ^= t1->dp[0];
bn_neg(t0, t0);
} else if (bn_sign(t1) == RLC_NEG) {
}
if (bn_sign(t1) == RLC_NEG) {
bn_neg(t1, t1);
}
}
Expand Down

0 comments on commit d7d9b1a

Please sign in to comment.