diff options
author | Jack Lloyd <[email protected]> | 2017-07-28 10:57:11 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-07-28 10:57:11 -0400 |
commit | 3fb7767a3866ce9ae7fd50f2f43fd35d0f4273a8 (patch) | |
tree | 93b1a93eeba7761879b906725378758592855776 /src/lib/math | |
parent | 40f399c920c3516d66cbea977f1d38e55a1f7fb1 (diff) |
Fix warnings from clangs -Wdocumentation flag
Diffstat (limited to 'src/lib/math')
-rw-r--r-- | src/lib/math/numbertheory/pow_mod.h | 2 | ||||
-rw-r--r-- | src/lib/math/numbertheory/reducer.h | 8 |
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 |