File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ typedef struct _ctx_t {
232
232
/** Value of constant one in Montgomery form. */
233
233
bn_st one ;
234
234
#endif /* FP_RDC == MONTY */
235
- #if FP_INV == JUMPDS || !defined(STRIP )
235
+ #if FP_INV == JMPDS || !defined(STRIP )
236
236
/** Value of constant for divstep-based inversion. */
237
237
bn_st inv ;
238
238
#endif /* FP_INV */
Original file line number Diff line number Diff line change @@ -1847,6 +1847,7 @@ int ep_param_embed(void) {
1847
1847
case EP_K16 :
1848
1848
return 16 ;
1849
1849
case EP_K18 :
1850
+ case EP_FM18 :
1850
1851
case EP_SG18 :
1851
1852
return 18 ;
1852
1853
case EP_B24 :
Original file line number Diff line number Diff line change @@ -440,7 +440,7 @@ void fp_param_set(int param) {
440
440
fp_prime_set_pairf (t0 , EP_B12 );
441
441
break ;
442
442
#elif FP_PRIME == 508
443
- case K508 :
443
+ case K18_508 :
444
444
/* x = -(2^64 + 2^51 - 2^46 - 2^12). */
445
445
bn_set_2b (t0 , 64 );
446
446
bn_set_2b (t1 , 51 );
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ static void fp_prime_set(const bn_t p) {
83
83
84
84
#endif /* FP_RDC == MONTY */
85
85
86
- #if FP_INV == JUMPDS || !defined(STRIP )
86
+ #if FP_INV == JMPDS || !defined(STRIP )
87
87
88
88
int d = (45907 * FP_PRIME + 26313 ) / 19929 ;
89
89
@@ -243,7 +243,7 @@ void fp_prime_init(void) {
243
243
bn_make (& (ctx -> conv ), RLC_FP_DIGS );
244
244
bn_make (& (ctx -> one ), RLC_FP_DIGS );
245
245
#endif
246
- #if FP_INV == JUMPDS || !defined(STRIP )
246
+ #if FP_INV == JMPDS || !defined(STRIP )
247
247
bn_make (& (ctx -> inv ), RLC_FP_DIGS );
248
248
#endif /* FP_INV */
249
249
bn_make (& (ctx -> srt ), RLC_FP_DIGS );
@@ -262,7 +262,7 @@ void fp_prime_clean(void) {
262
262
bn_clean (& (ctx -> one ));
263
263
bn_clean (& (ctx -> conv ));
264
264
#endif
265
- #if FP_INV == JUMPDS || !defined(STRIP )
265
+ #if FP_INV == JMPDS || !defined(STRIP )
266
266
bn_clean (& (ctx -> inv ));
267
267
#endif /* FP_INV */
268
268
bn_clean (& (ctx -> srt ));
You can’t perform that action at this time.
0 commit comments