aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pbkdf/pbkdf2/pbkdf2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pbkdf/pbkdf2/pbkdf2.h')
-rw-r--r--src/lib/pbkdf/pbkdf2/pbkdf2.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/pbkdf/pbkdf2/pbkdf2.h b/src/lib/pbkdf/pbkdf2/pbkdf2.h
index 36a3c640a..248daae67 100644
--- a/src/lib/pbkdf/pbkdf2/pbkdf2.h
+++ b/src/lib/pbkdf/pbkdf2/pbkdf2.h
@@ -15,10 +15,10 @@
namespace Botan {
BOTAN_DLL size_t pbkdf2(MessageAuthenticationCode& prf,
- byte out[],
+ uint8_t out[],
size_t out_len,
const std::string& passphrase,
- const byte salt[], size_t salt_len,
+ const uint8_t salt[], size_t salt_len,
size_t iterations,
std::chrono::milliseconds msec);
@@ -38,9 +38,9 @@ class BOTAN_DLL PKCS5_PBKDF2 final : public PBKDF
return new PKCS5_PBKDF2(m_mac->clone());
}
- size_t pbkdf(byte output_buf[], size_t output_len,
+ size_t pbkdf(uint8_t output_buf[], size_t output_len,
const std::string& passphrase,
- const byte salt[], size_t salt_len,
+ const uint8_t salt[], size_t salt_len,
size_t iterations,
std::chrono::milliseconds msec) const override;