Skip to content

Commit

Permalink
Restoring towering for BN-446.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaranha committed Mar 31, 2024
1 parent bd42269 commit 2201eda
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/fpx/relic_fpx_field.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ int fp2_field_get_qnr() {
return 32;
#elif FP_PRIME == 158 || FP_PRIME == 256
return 4;
#elif FP_PRIME == 446 && !defined(FP_QNRES)
return 16;
#else
return core_get()->qnr2;
#endif
Expand Down

0 comments on commit 2201eda

Please sign in to comment.