aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/math/numbertheory
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/math/numbertheory')
-rw-r--r--src/lib/math/numbertheory/pow_mod.h2
-rw-r--r--src/lib/math/numbertheory/reducer.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/math/numbertheory/pow_mod.h b/src/lib/math/numbertheory/pow_mod.h
index e7db774b6..50695c2bc 100644
--- a/src/lib/math/numbertheory/pow_mod.h
+++ b/src/lib/math/numbertheory/pow_mod.h
@@ -62,7 +62,7 @@ class BOTAN_DLL Power_Mod
* representation. Likely only useful for testing.
*/
void set_modulus(const BigInt& modulus,
- Usage_Hints = NO_HINTS,
+ Usage_Hints hints = NO_HINTS,
bool disable_montgomery_arith = false) const;
/**
diff --git a/src/lib/math/numbertheory/reducer.h b/src/lib/math/numbertheory/reducer.h
index 36808f00f..4de1e3d04 100644
--- a/src/lib/math/numbertheory/reducer.h
+++ b/src/lib/math/numbertheory/reducer.h
@@ -24,8 +24,8 @@ class BOTAN_DLL Modular_Reducer
/**
* Multiply mod p
- * @param x
- * @param y
+ * @param x the first operand
+ * @param y the second operand
* @return (x * y) % p
*/
BigInt multiply(const BigInt& x, const BigInt& y) const
@@ -33,7 +33,7 @@ class BOTAN_DLL Modular_Reducer
/**
* Square mod p
- * @param x
+ * @param x the value to square
* @return (x * x) % p
*/
BigInt square(const BigInt& x) const
@@ -41,7 +41,7 @@ class BOTAN_DLL Modular_Reducer
/**
* Cube mod p
- * @param x
+ * @param x the value to cube
* @return (x * x * x) % p
*/
BigInt cube(const BigInt& x) const