diff options
author | Jack Lloyd <[email protected]> | 2015-10-03 08:00:56 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2015-10-03 08:00:56 -0400 |
commit | 6ab96139fa5bce258972bb3678e4c106c0bfe5bd (patch) | |
tree | 426b9f946aa60b78a7eacdf0c1a09a40d976206c /src/lib/ffi | |
parent | 7612e065a76501f7888f62edd10e061bd9e71e2f (diff) |
Fix bcrypt test
Diffstat (limited to 'src/lib/ffi')
-rw-r--r-- | src/lib/ffi/ffi.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/ffi/ffi.h b/src/lib/ffi/ffi.h index 18a41938b..ce2253725 100644 --- a/src/lib/ffi/ffi.h +++ b/src/lib/ffi/ffi.h @@ -269,9 +269,11 @@ BOTAN_DLL int botan_kdf(const char* kdf_algo, /* * Bcrypt +* *out_len should be 64 bytes +* Output is formatted bcrypt $2a$... */ BOTAN_DLL int botan_bcrypt_generate(uint8_t* out, size_t* out_len, - const char* pass, + const char* password, botan_rng_t rng, size_t work_factor, uint32_t flags); |