From 3650b9e1ba2ffbc9983ede93853613ed78094bf0 Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 24 Feb 2010 14:57:20 +0000 Subject: In CurveGFp, store just the BigInt mod instead of a GFpModulus --- src/math/gfpmath/curve_gfp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/math') diff --git a/src/math/gfpmath/curve_gfp.h b/src/math/gfpmath/curve_gfp.h index 5641e80d1..70225217c 100644 --- a/src/math/gfpmath/curve_gfp.h +++ b/src/math/gfpmath/curve_gfp.h @@ -79,7 +79,7 @@ class BOTAN_DLL CurveGFp * Get prime modulus of the field of the curve * @result prime modulus of the field of the curve */ - const BigInt& get_p() const { return modulus.get_p(); } + const BigInt& get_p() const { return modulus; } /** * swaps the states of *this and other, does not throw @@ -88,7 +88,7 @@ class BOTAN_DLL CurveGFp void swap(CurveGFp& other); private: - GFpModulus modulus; + BigInt modulus; GFpElement mA; GFpElement mB; GFpElement mres_a, mres_b, mres_one; -- cgit v1.2.3