diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-04-27 21:50:57 +0200 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-04-27 21:50:57 +0200 |
commit | 82658b968a3163195ffa15aaa67d347308c2e5a9 (patch) | |
tree | aa89163a14394a56b3985b7b7a21023e729c99bb /src | |
parent | f7e0dfea0966f0ae9a4185206885d3a61895b759 (diff) | |
download | gnunet-82658b968a3163195ffa15aaa67d347308c2e5a9.tar.gz gnunet-82658b968a3163195ffa15aaa67d347308c2e5a9.zip |
RECLAIM/OIDC: fix key derivation
Diffstat (limited to 'src')
-rw-r--r-- | src/reclaim/oidc_helper.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/reclaim/oidc_helper.c b/src/reclaim/oidc_helper.c index 89e0920f0..167ee1729 100644 --- a/src/reclaim/oidc_helper.c +++ b/src/reclaim/oidc_helper.c | |||
@@ -303,16 +303,16 @@ derive_aes_key (struct GNUNET_CRYPTO_SymmetricSessionKey *key, | |||
303 | sizeof (struct GNUNET_CRYPTO_SymmetricSessionKey), | 303 | sizeof (struct GNUNET_CRYPTO_SymmetricSessionKey), |
304 | ctx_key, | 304 | ctx_key, |
305 | strlen (ctx_key), | 305 | strlen (ctx_key), |
306 | &key_material, | 306 | key_material, |
307 | sizeof (key_material), | 307 | sizeof (struct GNUNET_HashCode), |
308 | NULL); | 308 | NULL); |
309 | GNUNET_CRYPTO_kdf (iv, | 309 | GNUNET_CRYPTO_kdf (iv, |
310 | sizeof ( | 310 | sizeof ( |
311 | struct GNUNET_CRYPTO_SymmetricInitializationVector), | 311 | struct GNUNET_CRYPTO_SymmetricInitializationVector), |
312 | ctx_iv, | 312 | ctx_iv, |
313 | strlen (ctx_iv), | 313 | strlen (ctx_iv), |
314 | &key_material, | 314 | key_material, |
315 | sizeof (key_material), | 315 | sizeof (struct GNUNET_HashCode), |
316 | NULL); | 316 | NULL); |
317 | } | 317 | } |
318 | 318 | ||