aboutsummaryrefslogtreecommitdiffstats
path: root/src/math/numbertheory/curve_gfp.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-12 16:19:56 +0000
committerlloyd <[email protected]>2010-10-12 16:19:56 +0000
commit4a6fd8c70d40f88c8b51127bfa055b66b18e0f7a (patch)
treed8c5697f8de1fff74c5b813fd83c08d310fa8ac0 /src/math/numbertheory/curve_gfp.h
parentc46a5e8d3dd8f07a92fc90027e6f7f70b989ea47 (diff)
Use size_t in all of math, remove to_u32bit
Diffstat (limited to 'src/math/numbertheory/curve_gfp.h')
-rw-r--r--src/math/numbertheory/curve_gfp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/math/numbertheory/curve_gfp.h b/src/math/numbertheory/curve_gfp.h
index 3609ffd9d..f3c4dc1a1 100644
--- a/src/math/numbertheory/curve_gfp.h
+++ b/src/math/numbertheory/curve_gfp.h
@@ -91,7 +91,7 @@ class BOTAN_DLL CurveGFp
/**
* @return p.sig_words()
*/
- u32bit get_p_words() const { return p_words; }
+ size_t get_p_words() const { return p_words; }
/**
* @return modular reducer for p
@@ -128,7 +128,7 @@ class BOTAN_DLL CurveGFp
// Curve parameters
BigInt p, a, b;
- u32bit p_words; // cache of p.sig_words()
+ size_t p_words; // cache of p.sig_words()
// Montgomery parameters
BigInt r, r_inv, a_r;