summaryrefslogtreecommitdiff
path: root/keystore2/src/crypto/crypto.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'keystore2/src/crypto/crypto.hpp')
-rw-r--r--keystore2/src/crypto/crypto.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/keystore2/src/crypto/crypto.hpp b/keystore2/src/crypto/crypto.hpp
index d66532f7..4a161e6c 100644
--- a/keystore2/src/crypto/crypto.hpp
+++ b/keystore2/src/crypto/crypto.hpp
@@ -36,6 +36,7 @@ extern "C" {
bool CreateKeyId(const uint8_t* key_blob, size_t len, km_id_t* out_id);
+ // The salt parameter must be non-nullptr and point to 16 bytes of data.
void generateKeyFromPassword(uint8_t* key, size_t key_len, const char* pw,
size_t pw_len, const uint8_t* salt);