diff options
Diffstat (limited to 'src/lib/kdf/kdf2/kdf2.cpp')
-rw-r--r-- | src/lib/kdf/kdf2/kdf2.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/kdf/kdf2/kdf2.cpp b/src/lib/kdf/kdf2/kdf2.cpp index 760ebfc83..0f10b7b8f 100644 --- a/src/lib/kdf/kdf2/kdf2.cpp +++ b/src/lib/kdf/kdf2/kdf2.cpp @@ -9,13 +9,13 @@ namespace Botan { -size_t KDF2::kdf(byte key[], size_t key_len, - const byte secret[], size_t secret_len, - const byte salt[], size_t salt_len, - const byte label[], size_t label_len) const +size_t KDF2::kdf(uint8_t key[], size_t key_len, + const uint8_t secret[], size_t secret_len, + const uint8_t salt[], size_t salt_len, + const uint8_t label[], size_t label_len) const { - u32bit counter = 1; - secure_vector<byte> h; + uint32_t counter = 1; + secure_vector<uint8_t> h; size_t offset = 0; while(offset != key_len && counter != 0) |