GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
option) any later version.
GNUnet is distributed in the hope that it will be useful, but
option) any later version.
GNUnet is distributed in the hope that it will be useful, but
/**
* @brief Derive key
* @param result buffer for the derived key, allocated by caller
* @param out_len desired length of the derived key
* @param xts salt
/**
* @brief Derive key
* @param result buffer for the derived key, allocated by caller
* @param out_len desired length of the derived key
* @param xts salt
*/
int
GNUNET_CRYPTO_kdf_v (void *result, size_t out_len, const void *xts,
*/
int
GNUNET_CRYPTO_kdf_v (void *result, size_t out_len, const void *xts,
* setting. Second, as shown in Section 6, using HMAC with a truncated output as an extractor
* allows to prove the security of HKDF under considerably weaker assumptions on the underlying
* hash function."
* setting. Second, as shown in Section 6, using HMAC with a truncated output as an extractor
* allows to prove the security of HKDF under considerably weaker assumptions on the underlying
* hash function."
* @param result buffer for the derived key, allocated by caller
* @param out_len desired length of the derived key
* @param xts salt
* @param result buffer for the derived key, allocated by caller
* @param out_len desired length of the derived key
* @param xts salt
*/
int
GNUNET_CRYPTO_kdf (void *result, size_t out_len, const void *xts,
*/
int
GNUNET_CRYPTO_kdf (void *result, size_t out_len, const void *xts,