aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/xmss
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2022-02-06 08:27:33 -0500
committerJack Lloyd <[email protected]>2022-02-06 08:52:17 -0500
commitcecf821343290dbf5cdfa4f5d4c27d219f6460c0 (patch)
tree136274f506562c68d7ca517ba12201954193b863 /src/lib/pubkey/xmss
parenta651ccc4da6d329500e45cd972b9a5d7e284ccdb (diff)
Fix clang-tidy readability-named-parameter
Diffstat (limited to 'src/lib/pubkey/xmss')
-rw-r--r--src/lib/pubkey/xmss/xmss_privatekey.cpp4
-rw-r--r--src/lib/pubkey/xmss/xmss_publickey.cpp2
-rw-r--r--src/lib/pubkey/xmss/xmss_signature_operation.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/pubkey/xmss/xmss_privatekey.cpp b/src/lib/pubkey/xmss/xmss_privatekey.cpp
index 1505f66a3..5408bcd77 100644
--- a/src/lib/pubkey/xmss/xmss_privatekey.cpp
+++ b/src/lib/pubkey/xmss/xmss_privatekey.cpp
@@ -397,8 +397,8 @@ std::unique_ptr<Public_Key> XMSS_PrivateKey::public_key() const
}
std::unique_ptr<PK_Ops::Signature>
-XMSS_PrivateKey::create_signature_op(RandomNumberGenerator&,
- const std::string&,
+XMSS_PrivateKey::create_signature_op(RandomNumberGenerator& /*rng*/,
+ const std::string& /*params*/,
const std::string& provider) const
{
if(provider == "base" || provider.empty())
diff --git a/src/lib/pubkey/xmss/xmss_publickey.cpp b/src/lib/pubkey/xmss/xmss_publickey.cpp
index 440cebbe4..7b9ee69a2 100644
--- a/src/lib/pubkey/xmss/xmss_publickey.cpp
+++ b/src/lib/pubkey/xmss/xmss_publickey.cpp
@@ -90,7 +90,7 @@ XMSS_PublicKey::deserialize_xmss_oid(const std::vector<uint8_t>& raw_key)
}
std::unique_ptr<PK_Ops::Verification>
-XMSS_PublicKey::create_verification_op(const std::string&,
+XMSS_PublicKey::create_verification_op(const std::string& /*params*/,
const std::string& provider) const
{
if(provider == "base" || provider.empty())
diff --git a/src/lib/pubkey/xmss/xmss_signature_operation.cpp b/src/lib/pubkey/xmss/xmss_signature_operation.cpp
index 6631f2dcd..f2ef0ed69 100644
--- a/src/lib/pubkey/xmss/xmss_signature_operation.cpp
+++ b/src/lib/pubkey/xmss/xmss_signature_operation.cpp
@@ -84,7 +84,7 @@ void XMSS_Signature_Operation::update(const uint8_t msg[], size_t msg_len)
}
secure_vector<uint8_t>
-XMSS_Signature_Operation::sign(RandomNumberGenerator&)
+XMSS_Signature_Operation::sign(RandomNumberGenerator& /*rng*/)
{
initialize();
secure_vector<uint8_t> signature(sign(m_hash.h_msg_final(),