aboutsummaryrefslogtreecommitdiff
path: root/pbkdf2.c
diff options
context:
space:
mode:
Diffstat (limited to 'pbkdf2.c')
-rw-r--r--pbkdf2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbkdf2.c b/pbkdf2.c
index 24395e7..4ad1e3a 100644
--- a/pbkdf2.c
+++ b/pbkdf2.c
@@ -58,7 +58,7 @@ static hal_error_t do_hmac(const hal_hash_descriptor_t * const d,
assert(d != NULL && pw != NULL && data != NULL && mac != NULL);
uint8_t sb[d->hmac_state_length];
- hal_hmac_state_t s;
+ hal_hmac_state_t *s;
hal_error_t err;
if ((err = hal_hmac_initialize(d, &s, sb, sizeof(sb), pw, pw_len)) != HAL_OK)