aboutsummaryrefslogtreecommitdiffstats
path: root/src/math/gfpmath/gfp_element.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-10-11 16:46:43 +0000
committerlloyd <[email protected]>2008-10-11 16:46:43 +0000
commit6f3825979086508ff27c9c9ba2247d57e7862ddc (patch)
treec7b612e9f81a77255da298a09bad8cad7174fb0e /src/math/gfpmath/gfp_element.h
parent850f7f0903f34dcd3a8a03a4a75d6c2ce93a0c07 (diff)
Change GFpElement's scalar multiplication operators to take a u64bit instead
of u32bit. Some minor format cleanup.
Diffstat (limited to 'src/math/gfpmath/gfp_element.h')
-rw-r--r--src/math/gfpmath/gfp_element.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/math/gfpmath/gfp_element.h b/src/math/gfpmath/gfp_element.h
index 067825bc3..39e728cfa 100644
--- a/src/math/gfpmath/gfp_element.h
+++ b/src/math/gfpmath/gfp_element.h
@@ -142,7 +142,7 @@ class BOTAN_DLL GFpElement
* @param rhs the value to multiply with the local value
* @result *this
*/
- GFpElement& operator*= (u64bit rhs);
+ GFpElement& operator*= (u32bit rhs);
/**
* Negate internal value(*this *= -1 )
@@ -270,8 +270,8 @@ GFpElement operator-(const GFpElement& lhs);
GFpElement operator*(const GFpElement& lhs, const GFpElement& rhs);
GFpElement operator/(const GFpElement& lhs, const GFpElement& rhs);
-GFpElement operator* (const GFpElement& lhs, u64bit rhs);
-GFpElement operator* (u64bit rhs, const GFpElement& lhs);
+GFpElement operator* (const GFpElement& lhs, u32bit rhs);
+GFpElement operator* (u32bit rhs, const GFpElement& lhs);
// io operators
std::ostream& operator<<(std::ostream& output, const GFpElement& elem);