diff --git a/src/field_10x26_impl.h b/src/field_10x26_impl.h index 5e6c63cf..2c10814f 100644 --- a/src/field_10x26_impl.h +++ b/src/field_10x26_impl.h @@ -372,6 +372,7 @@ static int secp256k1_fe_set_b32(secp256k1_fe *r, const unsigned char *a) { secp256k1_fe_verify(r); } else { r->normalized = 0; + secp256k1_fe_verify(r); } #endif return ret; diff --git a/src/field_5x52_impl.h b/src/field_5x52_impl.h index 985c486a..d92def5c 100644 --- a/src/field_5x52_impl.h +++ b/src/field_5x52_impl.h @@ -347,6 +347,7 @@ static int secp256k1_fe_set_b32(secp256k1_fe *r, const unsigned char *a) { secp256k1_fe_verify(r); } else { r->normalized = 0; + secp256k1_fe_verify(r); } #endif return ret;