aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2020-10-28 04:31:29 -0400
committerJack Lloyd <[email protected]>2020-10-28 04:31:29 -0400
commite6d58805e558e0ccaedae2e83146210560e60ff1 (patch)
treeed72bcbaf067716831b1ebdc4fa29bc50dbb4e99 /src/lib
parent8691455a0ee7ffcd47d12fa17d322fdcb73ec7c5 (diff)
Resolve Doxygen warnings
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/math/numbertheory/numthry.h2
-rw-r--r--src/lib/pubkey/xmss/xmss_common_ops.h2
-rw-r--r--src/lib/tls/tls_record.h4
3 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/math/numbertheory/numthry.h b/src/lib/math/numbertheory/numthry.h
index e818aa0bb..b7f87ee05 100644
--- a/src/lib/math/numbertheory/numthry.h
+++ b/src/lib/math/numbertheory/numthry.h
@@ -102,7 +102,7 @@ BigInt BOTAN_DEPRECATED_API("Use inverse_mod") inverse_euclid(const BigInt& x, c
/**
* Deprecated modular inversion function. Use inverse_mod instead.
*/
-BigInt BOTAN_DEPRECATED_API("Use inverse_mod") ct_inverse_mod_odd_modulus(const BigInt& n, const BigInt& mod);
+BigInt BOTAN_DEPRECATED_API("Use inverse_mod") ct_inverse_mod_odd_modulus(const BigInt& x, const BigInt& modulus);
/**
* Return a^-1 * 2^k mod b
diff --git a/src/lib/pubkey/xmss/xmss_common_ops.h b/src/lib/pubkey/xmss/xmss_common_ops.h
index 3b13bfe9f..7ab32db6c 100644
--- a/src/lib/pubkey/xmss/xmss_common_ops.h
+++ b/src/lib/pubkey/xmss/xmss_common_ops.h
@@ -42,6 +42,7 @@ class XMSS_Common_Ops
* @param[in] seed The seed for G.
* @param[in] hash Instance of XMSS_Hash, that may only by the thead
* executing generate_public_key.
+ * @param[in] params
**/
static void randomize_tree_hash(
secure_vector<uint8_t>& result,
@@ -67,6 +68,7 @@ class XMSS_Common_Ops
* @param[in] seed The seed generated during the public key generation.
* @param[in] hash Instance of XMSS_Hash, that may only be used by the
* thead executing create_l_tree.
+ * @param[in] params
**/
static void create_l_tree(secure_vector<uint8_t>& result,
wots_keysig_t pk,
diff --git a/src/lib/tls/tls_record.h b/src/lib/tls/tls_record.h
index 7593ac970..8af4e5c05 100644
--- a/src/lib/tls/tls_record.h
+++ b/src/lib/tls/tls_record.h
@@ -137,9 +137,9 @@ class Record_Header final
* @param message the record contents
* @param message_len is size of message
*/
-void write_unencrypted_record(secure_vector<uint8_t>& output,
+void write_unencrypted_record(secure_vector<uint8_t>& write_buffer,
uint8_t record_type,
- Protocol_Version version,
+ Protocol_Version record_version,
uint64_t record_sequence,
const uint8_t* message,
size_t message_len);