aboutsummaryrefslogtreecommitdiff
path: root/src/util/crypto_kdf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/crypto_kdf.c')
-rw-r--r--src/util/crypto_kdf.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/util/crypto_kdf.c b/src/util/crypto_kdf.c
index dc2e667af..cd665ad23 100644
--- a/src/util/crypto_kdf.c
+++ b/src/util/crypto_kdf.c
@@ -41,9 +41,9 @@
41 * @return GNUNET_YES on success 41 * @return GNUNET_YES on success
42 */ 42 */
43int 43int
44GNUNET_CRYPTO_kdf_v (void *result, size_t out_len, 44GNUNET_CRYPTO_kdf_v (void *result, size_t out_len, const void *xts,
45 const void *xts, size_t xts_len, const void *skm, 45 size_t xts_len, const void *skm, size_t skm_len,
46 size_t skm_len, va_list argp) 46 va_list argp)
47{ 47{
48 /* 48 /*
49 * "Finally, we point out to a particularly advantageous instantiation using 49 * "Finally, we point out to a particularly advantageous instantiation using
@@ -73,9 +73,8 @@ GNUNET_CRYPTO_kdf_v (void *result, size_t out_len,
73 * @return GNUNET_YES on success 73 * @return GNUNET_YES on success
74 */ 74 */
75int 75int
76GNUNET_CRYPTO_kdf (void *result, size_t out_len, 76GNUNET_CRYPTO_kdf (void *result, size_t out_len, const void *xts,
77 const void *xts, size_t xts_len, const void *skm, 77 size_t xts_len, const void *skm, size_t skm_len, ...)
78 size_t skm_len, ...)
79{ 78{
80 va_list argp; 79 va_list argp;
81 int ret; 80 int ret;