Skip to content

Commit

Permalink
Add credits.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaranha committed Oct 31, 2024
1 parent 5a628a5 commit 106fe92
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/fpx/relic_fpx_srt.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ int fp2_srt(fp2_t c, const fp2_t a) {
fp_new(t[1]);

if (fp_prime_get_mod8() % 4 == 3) {
/* "From Optimized One-Dimensional SQIsign Verification on Intel and
* Cortex-M4" by Aardal et al: https://eprint.iacr.org/2024/1563 */
fp_sqr(t[0], a[0]);
fp_sqr(t[1], a[1]);
fp_add(t[0], t[0], t[1]);
Expand Down

0 comments on commit 106fe92

Please sign in to comment.