From 4a6fd8c70d40f88c8b51127bfa055b66b18e0f7a Mon Sep 17 00:00:00 2001 From: lloyd Date: Tue, 12 Oct 2010 16:19:56 +0000 Subject: Use size_t in all of math, remove to_u32bit --- src/math/numbertheory/curve_gfp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/math/numbertheory/curve_gfp.h') 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; -- cgit v1.2.3