diff options
author | Paul Selkirk <paul@psgd.org> | 2018-04-19 19:40:03 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2018-04-19 19:40:03 -0400 |
commit | 110754870a5db73b064ae065b7927476c880b48a (patch) | |
tree | f082643a3fcf2cffc82b370955ac4426d7751741 /pbkdf2.c | |
parent | 34cf7ef55d66886757a36eb327dc3e22be54c918 (diff) | |
parent | c6543a796c8b560b06cb1d53fad9ffa3906df111 (diff) |
Merge branch 'profiling' into hashsig
Diffstat (limited to 'pbkdf2.c')
-rw-r--r-- | pbkdf2.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -140,6 +140,8 @@ hal_error_t hal_pbkdf2(hal_core_t *core, for (iteration = 2; iteration <= iterations_desired; iteration++) { + hal_task_yield_maybe(); + if ((err = do_hmac(core, descriptor, password, password_length, mac, descriptor->digest_length, 0, mac, sizeof(mac))) != HAL_OK) |