From 2033ebdc72b8088e4652c7903462c95ff1c726b8 Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Thu, 10 Aug 2017 12:48:04 -0400 Subject: [PATCH] Documentation improvements. --- core/c/mpw-util.c | 2 +- core/c/mpw-util.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/c/mpw-util.c b/core/c/mpw-util.c index 682c8511..8ae61c72 100644 --- a/core/c/mpw-util.c +++ b/core/c/mpw-util.c @@ -190,7 +190,7 @@ uint8_t const *mpw_kdf_blake2b(const size_t subkeySize, const uint8_t *key, cons return NULL; } #else -#error No crypto support for mpw_scrypt. +#error No crypto support for mpw_kdf_blake2b. #endif return subkey; diff --git a/core/c/mpw-util.h b/core/c/mpw-util.h index 50d4bb17..b2155b40 100644 --- a/core/c/mpw-util.h +++ b/core/c/mpw-util.h @@ -144,7 +144,7 @@ bool mpw_free_string( uint8_t const *mpw_kdf_scrypt( const size_t keySize, const char *secret, const uint8_t *salt, const size_t saltSize, 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. */ uint8_t const *mpw_kdf_blake2b( const size_t subkeySize, const uint8_t *key, const size_t keySize,