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:
750750 run : |
751751 ./tools/check-headers.sh \
752752 src/field.h \
753+ src/field_5x52.h \
754+ src/field_10x26.h \
753755 src/hash.h \
754756 src/hash_impl.h
755757
Original file line number Diff line number Diff line change 2929 * implementation also provides a secp256k1_fe_verify routine to verify that
3030 * these fields match the run-time value and perform internal consistency
3131 * 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
3932
4033#if defined(SECP256K1_WIDEMUL_INT128 )
4134#include "field_5x52.h"
Original file line number Diff line number Diff line change @@ -30,7 +30,10 @@ typedef struct {
3030 * sum(i=0..9, n[i] << (i*26)) < p
3131 * (together these imply n[9] <= 2^22 - 1)
3232 */
33- SECP256K1_FE_VERIFY_FIELDS
33+ #ifdef VERIFY
34+ int magnitude ;
35+ int normalized ;
36+ #endif
3437} secp256k1_fe ;
3538
3639/* 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 {
3030 * sum(i=0..4, n[i] << (i*52)) < p
3131 * (together these imply n[4] <= 2^48 - 1)
3232 */
33- SECP256K1_FE_VERIFY_FIELDS
33+ #ifdef VERIFY
34+ int magnitude ;
35+ int normalized ;
36+ #endif
3437} secp256k1_fe ;
3538
3639/* Unpacks a constant into a overlapping multi-limbed FE element. */
You can’t perform that action at this time.
0 commit comments