diff options
author | Rob Austein <sra@hactrn.net> | 2016-12-19 15:46:39 -0500 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-12-19 15:46:39 -0500 |
commit | 3bf4f4a1fae7040d743005a75bcbb8b6cd2acc28 (patch) | |
tree | 7ec3184574d016096146742d525f4ad9134e387c /pbkdf2.c | |
parent | 7dce4d6173ff3c2ee23670167ce6dc5d1fdefbb6 (diff) | |
parent | 1295f7ebbfaff3ad098fe9d4cafa32a1f3750563 (diff) |
Merge branch 'master' into ksng
Diffstat (limited to 'pbkdf2.c')
-rw-r--r-- | pbkdf2.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -105,15 +105,6 @@ hal_error_t hal_pbkdf2(hal_core_t *core, if ((uint64_t) derived_key_length > ((uint64_t) 0xFFFFFFFF) * descriptor->block_length) return HAL_ERROR_UNSUPPORTED_KEY; -#if 1 - /* HACK - find the second sha256 core, to avoid interfering with rpc. - * If there isn't a second one, this will set core to NULL, and - * hal_hash_initialize will find the first one. - */ - core = hal_core_find(descriptor->core_name, NULL); - core = hal_core_find(descriptor->core_name, core); -#endif - memset(result, 0, sizeof(result)); memset(mac, 0, sizeof(mac)); |