File tree Expand file tree Collapse file tree 4 files changed +9
-10
lines changed Expand file tree Collapse file tree 4 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -748,7 +748,7 @@ jobs:
748
748
749
749
- name : Test script
750
750
run : |
751
- ./tools/check_header.sh src/field.h
751
+ ./tools/check_header.sh src/field.h src/field_5x52.h src/field_10x26.h
752
752
753
753
sage :
754
754
name : " SageMath prover"
Original file line number Diff line number Diff line change 29
29
* implementation also provides a secp256k1_fe_verify routine to verify that
30
30
* these fields match the run-time value and perform internal consistency
31
31
* checks. */
32
- #ifdef VERIFY
33
- # define SECP256K1_FE_VERIFY_FIELDS \
34
- int magnitude; \
35
- int normalized;
36
- #else
37
- # define SECP256K1_FE_VERIFY_FIELDS
38
- #endif
39
32
40
33
#if defined(SECP256K1_WIDEMUL_INT128 )
41
34
#include "field_5x52.h"
Original file line number Diff line number Diff line change @@ -30,7 +30,10 @@ typedef struct {
30
30
* sum(i=0..9, n[i] << (i*26)) < p
31
31
* (together these imply n[9] <= 2^22 - 1)
32
32
*/
33
- SECP256K1_FE_VERIFY_FIELDS
33
+ #ifdef VERIFY
34
+ int magnitude ;
35
+ int normalized ;
36
+ #endif
34
37
} secp256k1_fe ;
35
38
36
39
/* Unpacks a constant into a overlapping multi-limbed FE element. */
Original file line number Diff line number Diff line change @@ -30,7 +30,10 @@ typedef struct {
30
30
* sum(i=0..4, n[i] << (i*52)) < p
31
31
* (together these imply n[4] <= 2^48 - 1)
32
32
*/
33
- SECP256K1_FE_VERIFY_FIELDS
33
+ #ifdef VERIFY
34
+ int magnitude ;
35
+ int normalized ;
36
+ #endif
34
37
} secp256k1_fe ;
35
38
36
39
/* Unpacks a constant into a overlapping multi-limbed FE element. */
You can’t perform that action at this time.
0 commit comments