Documentation improvements.
This commit is contained in:
parent
c3bb896f40
commit
2033ebdc72
@ -190,7 +190,7 @@ uint8_t const *mpw_kdf_blake2b(const size_t subkeySize, const uint8_t *key, cons
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
#error No crypto support for mpw_scrypt.
|
#error No crypto support for mpw_kdf_blake2b.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return subkey;
|
return subkey;
|
||||||
|
@ -144,7 +144,7 @@ bool mpw_free_string(
|
|||||||
uint8_t const *mpw_kdf_scrypt(
|
uint8_t const *mpw_kdf_scrypt(
|
||||||
const size_t keySize, const char *secret, const uint8_t *salt, const size_t saltSize,
|
const size_t keySize, const char *secret, const uint8_t *salt, const size_t saltSize,
|
||||||
uint64_t N, uint32_t r, uint32_t p);
|
uint64_t N, uint32_t r, uint32_t p);
|
||||||
/** Derive a subkey from the given key.
|
/** Derive a subkey from the given key using the blake2b KDF.
|
||||||
* @return A new keySize allocated buffer containing the key. */
|
* @return A new keySize allocated buffer containing the key. */
|
||||||
uint8_t const *mpw_kdf_blake2b(
|
uint8_t const *mpw_kdf_blake2b(
|
||||||
const size_t subkeySize, const uint8_t *key, const size_t keySize,
|
const size_t subkeySize, const uint8_t *key, const size_t keySize,
|
||||||
|
Loading…
Reference in New Issue
Block a user