aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ecdsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecdsa.c b/ecdsa.c
index bbb9865..3ca377b 100644
--- a/ecdsa.c
+++ b/ecdsa.c
@@ -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));