@@ -54,8 +54,12 @@ template <typename Curve> struct PairingPoints {
5454 }
5555
5656#ifndef NDEBUG
57- bb::PairingPoints<typename Curve::NativeCurve> native_pp (P0 ().get_value (), P1 ().get_value ());
58- info (" Are Pairing Points with tag " , tag_index, " valid? " , native_pp.check () ? " true" : " false" );
57+ try {
58+ bb::PairingPoints<typename Curve::NativeCurve> native_pp (P0 ().get_value (), P1 ().get_value ());
59+ info (" Are Pairing Points with tag " , tag_index, " valid? " , native_pp.check () ? " true" : " false" );
60+ } catch (const std::exception& e) {
61+ info (" Pairing Points with tag " , tag_index, " native check skipped: " , e.what ());
62+ }
5963#endif
6064 }
6165
@@ -210,8 +214,13 @@ template <typename Curve> struct PairingPoints {
210214 }
211215
212216#ifndef NDEBUG
213- bb::PairingPoints<typename Curve::NativeCurve> native_pp (P0 ().get_value (), P1 ().get_value ());
214- info (" Are aggregated Pairing Points with tag " , tag_index, " valid? " , native_pp.check () ? " true" : " false" );
217+ try {
218+ bb::PairingPoints<typename Curve::NativeCurve> native_pp (P0 ().get_value (), P1 ().get_value ());
219+ info (
220+ " Are aggregated Pairing Points with tag " , tag_index, " valid? " , native_pp.check () ? " true" : " false" );
221+ } catch (const std::exception& e) {
222+ info (" Aggregated Pairing Points with tag " , tag_index, " native check skipped: " , e.what ());
223+ }
215224#endif
216225 }
217226
0 commit comments