diff options
author | Jack Lloyd <[email protected]> | 2018-11-29 07:32:20 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-11-29 07:32:20 -0500 |
commit | 542975a40e34b92f483468b37589fd448b002732 (patch) | |
tree | 82d7303fed9072f21bcffc87fcaf7af480b7c199 /src/lib/pubkey/ec_group | |
parent | b13c0cc8590199d7694196814eb51ced6fcaf191 (diff) |
Fix debug asserts, and add it to CI
Diffstat (limited to 'src/lib/pubkey/ec_group')
-rw-r--r-- | src/lib/pubkey/ec_group/curve_gfp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/pubkey/ec_group/curve_gfp.h b/src/lib/pubkey/ec_group/curve_gfp.h index 337c9fd29..d03247244 100644 --- a/src/lib/pubkey/ec_group/curve_gfp.h +++ b/src/lib/pubkey/ec_group/curve_gfp.h @@ -60,7 +60,7 @@ class BOTAN_UNSTABLE_API CurveGFp_Repr void curve_mul(BigInt& z, const BigInt& x, const BigInt& y, secure_vector<word>& ws) const { - BOTAN_DEBUG_ASSERT(x.sig_words() <= m_p_words); + BOTAN_DEBUG_ASSERT(x.sig_words() <= get_p_words()); curve_mul_words(z, x.data(), x.size(), y, ws); } @@ -73,7 +73,7 @@ class BOTAN_UNSTABLE_API CurveGFp_Repr void curve_sqr(BigInt& z, const BigInt& x, secure_vector<word>& ws) const { - BOTAN_DEBUG_ASSERT(x.sig_words() <= m_p_words); + BOTAN_DEBUG_ASSERT(x.sig_words() <= get_p_words()); curve_sqr_words(z, x.data(), x.size(), ws); } |