diff options
author | Paul Selkirk <paul@psgd.org> | 2016-09-20 09:00:32 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2016-09-20 09:00:32 -0400 |
commit | febe3ed7b2e7b2342c77d4a35db93e6247ea4326 (patch) | |
tree | 85da5cbfc8248684594975b42ab4a38943265726 /pbkdf2.c | |
parent | ccdb3ab006dd46c125fc0277fa0ce2d3d7660147 (diff) |
Clean up the defines around rpc client, software hash cores, etc.
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)); |