File tree Expand file tree Collapse file tree 4 files changed +10
-9
lines changed Expand file tree Collapse file tree 4 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -750,6 +750,8 @@ jobs:
750
750
run : |
751
751
./tools/check-headers.sh \
752
752
src/field.h \
753
+ src/field_5x52.h \
754
+ src/field_10x26.h \
753
755
src/hash.h \
754
756
src/hash_impl.h
755
757
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