aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/misc/srp6/srp6_files.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/misc/srp6/srp6_files.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/misc/srp6/srp6_files.h')
-rw-r--r--src/lib/misc/srp6/srp6_files.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/misc/srp6/srp6_files.h b/src/lib/misc/srp6/srp6_files.h
index 8c899aad6..124bfc86a 100644
--- a/src/lib/misc/srp6/srp6_files.h
+++ b/src/lib/misc/srp6/srp6_files.h
@@ -37,7 +37,7 @@ class BOTAN_DLL SRP6_Authenticator_File
*/
bool lookup_user(const std::string& username,
BigInt& v,
- std::vector<byte>& salt,
+ std::vector<uint8_t>& salt,
std::string& group_id) const;
private:
struct SRP6_Data
@@ -45,7 +45,7 @@ class BOTAN_DLL SRP6_Authenticator_File
SRP6_Data() {}
SRP6_Data(const BigInt& v_,
- const std::vector<byte>& salt_,
+ const std::vector<uint8_t>& salt_,
const std::string& group_id_) :
v(v_), salt(salt_), group_id(group_id_) {}
@@ -53,7 +53,7 @@ class BOTAN_DLL SRP6_Authenticator_File
BigInt v;
// public member variable:
- std::vector<byte> salt;
+ std::vector<uint8_t> salt;
// public member variable:
std::string group_id;