aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/xmss/xmss_index_registry.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-12-11 15:28:38 -0500
committerJack Lloyd <[email protected]>2016-12-18 16:48:24 -0500
commitf3cb3edb512bdcab498d825886c3366c341b3f78 (patch)
tree645c73ec295a5a34f25d99903b6d9fa9751e86d3 /src/lib/pubkey/xmss/xmss_index_registry.h
parentc1dd21253c1f3188ff45d3ad47698efd08235ae8 (diff)
Convert to using standard uintN_t integer types
Renames a couple of functions for somewhat better name consistency, eg make_u32bit becomes make_uint32. The old typedefs remain for now since probably lots of application code uses them.
Diffstat (limited to 'src/lib/pubkey/xmss/xmss_index_registry.h')
-rw-r--r--src/lib/pubkey/xmss/xmss_index_registry.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/pubkey/xmss/xmss_index_registry.h b/src/lib/pubkey/xmss/xmss_index_registry.h
index 77842e4f3..decd50a8a 100644
--- a/src/lib/pubkey/xmss/xmss_index_registry.h
+++ b/src/lib/pubkey/xmss/xmss_index_registry.h
@@ -54,8 +54,8 @@ class XMSS_Index_Registry
* @return last unused leaf index for private_key.
**/
std::shared_ptr<Atomic<size_t>>
- get(const secure_vector<byte>& private_seed,
- const secure_vector<byte>& prf);
+ get(const secure_vector<uint8_t>& private_seed,
+ const secure_vector<uint8_t>& prf);
private:
XMSS_Index_Registry()
@@ -70,8 +70,8 @@ class XMSS_Index_Registry
*
* @return unique integral identifier for an XMSS private key.
**/
- uint64_t make_key_id(const secure_vector<byte>& private_seed,
- const secure_vector<byte>& prf) const;
+ uint64_t make_key_id(const secure_vector<uint8_t>& private_seed,
+ const secure_vector<uint8_t>& prf) const;
/**
* Retrieves the index position of a key within the registry or