aboutsummaryrefslogtreecommitdiffstats
path: root/src/math
diff options
context:
space:
mode:
Diffstat (limited to 'src/math')
-rw-r--r--src/math/gfpmath/gfp_modulus.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/math/gfpmath/gfp_modulus.h b/src/math/gfpmath/gfp_modulus.h
index 359f6cae1..55e0ff424 100644
--- a/src/math/gfpmath/gfp_modulus.h
+++ b/src/math/gfpmath/gfp_modulus.h
@@ -79,7 +79,7 @@ class BOTAN_DLL GFpModulus
* Return the modulus of this GFpModulus.
* @result the modulus of *this.
*/
- inline const BigInt get_p() const
+ inline const BigInt& get_p() const
{
return m_p;
}
@@ -90,7 +90,7 @@ class BOTAN_DLL GFpModulus
* performed!
* @result r
*/
- inline const BigInt get_r() const
+ inline const BigInt& get_r() const
{
return m_r;
}
@@ -101,7 +101,7 @@ class BOTAN_DLL GFpModulus
* performed!
* @result r^{-1}
*/
- inline const BigInt get_r_inv() const
+ inline const BigInt& get_r_inv() const
{
return m_r_inv;
}
@@ -112,7 +112,7 @@ class BOTAN_DLL GFpModulus
* performed!
* @result p'
*/
- inline const BigInt get_p_dash() const
+ inline const BigInt& get_p_dash() const
{
return m_p_dash;
}