diff options
author | Rob Austein <sra@hactrn.net> | 2015-09-02 18:35:36 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2015-09-02 18:35:36 -0400 |
commit | 12ed3abeb24bbd5d59b760640a35ead0874fd3fe (patch) | |
tree | 1dcc0db3d543e7b740238ea911b7f448c704e70b /pbkdf2.c | |
parent | 55116cc564649433cf4a8515d4a37cbf00dd6199 (diff) |
Clean up excessively complicated handling of opaque types in hash and
RSA code; use simpler model (pointer to incomplete structure) used in
ECDSA code. Refactor RSA code to use shared ASN.1 routines.
Diffstat (limited to 'pbkdf2.c')
-rw-r--r-- | pbkdf2.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |