diff options
Diffstat (limited to 'src/math/gfpmath/curve_gfp.cpp')
-rw-r--r-- | src/math/gfpmath/curve_gfp.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/math/gfpmath/curve_gfp.cpp b/src/math/gfpmath/curve_gfp.cpp index 8b1ccbf94..4b32e7095 100644 --- a/src/math/gfpmath/curve_gfp.cpp +++ b/src/math/gfpmath/curve_gfp.cpp @@ -91,17 +91,17 @@ const CurveGFp& CurveGFp::operator=(const CurveGFp& other) } // getters -GFpElement const CurveGFp::get_a() const +const GFpElement& CurveGFp::get_a() const { return mA; } -GFpElement const CurveGFp::get_b() const +const GFpElement& CurveGFp::get_b() const { return mB; } -BigInt const CurveGFp::get_p() const +const BigInt CurveGFp::get_p() const { assert(mp_mod.get() != 0); return mp_mod->get_p(); |