diff options
author | Rob Austein <sra@hactrn.net> | 2017-03-03 08:32:05 -0500 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2017-03-03 08:32:05 -0500 |
commit | ad9bca732bf9001aa5293ede674a52eada3118fa (patch) | |
tree | 1c19123f82547a5fb138bc89a7656678e966ca69 | |
parent | 91bb0444d8830569bfc09900d599c9ae39953f01 (diff) |
Doh! Works better if one tests the right status bit.
-rw-r--r-- | ecdsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -828,7 +828,7 @@ static hal_error_t verilog_point_pick_random(const verilog_ecdsa_driver_t * cons check(hal_io_write(core, ADDR_CTRL, zero, sizeof(zero))); check(hal_io_next(core)); - check(hal_io_wait_ready(core)); + check(hal_io_wait_valid(core)); for (int i = 0; i < sizeof(b); i += 4) check(hal_io_read(core, driver->x_addr + i/4, &b[sizeof(b) - 4 - i], 4)); |