aboutsummaryrefslogtreecommitdiff
path: root/src/util/crypto_hkdf.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-30 11:22:48 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-30 11:22:48 +0000
commit05ef63d9f8cf65561b7ed2234efdc80e3fb40bd0 (patch)
tree7c00b58220e87d7f2f050b46e0e2f59c3795e703 /src/util/crypto_hkdf.c
parent814457c05d62c8f0c167c6bc2015201151355249 (diff)
downloadgnunet-05ef63d9f8cf65561b7ed2234efdc80e3fb40bd0.tar.gz
gnunet-05ef63d9f8cf65561b7ed2234efdc80e3fb40bd0.zip
-encrypt using both AES and TWOFISH, with independent symmetric keys
Diffstat (limited to 'src/util/crypto_hkdf.c')
-rw-r--r--src/util/crypto_hkdf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/crypto_hkdf.c b/src/util/crypto_hkdf.c
index c2b96778a..2b9387357 100644
--- a/src/util/crypto_hkdf.c
+++ b/src/util/crypto_hkdf.c
@@ -275,10 +275,10 @@ hkdf_ok:
275 * @param xtr_algo hash algorithm for the extraction phase, GCRY_MD_... 275 * @param xtr_algo hash algorithm for the extraction phase, GCRY_MD_...
276 * @param prf_algo hash algorithm for the expansion phase, GCRY_MD_... 276 * @param prf_algo hash algorithm for the expansion phase, GCRY_MD_...
277 * @param xts salt 277 * @param xts salt
278 * @param xts_len length of xts 278 * @param xts_len length of @a xts
279 * @param skm source key material 279 * @param skm source key material
280 * @param skm_len length of skm 280 * @param skm_len length of @a skm
281 * @return GNUNET_YES on success 281 * @return #GNUNET_YES on success
282 */ 282 */
283int 283int
284GNUNET_CRYPTO_hkdf (void *result, size_t out_len, int xtr_algo, int prf_algo, 284GNUNET_CRYPTO_hkdf (void *result, size_t out_len, int xtr_algo, int prf_algo,