aboutsummaryrefslogtreecommitdiff
path: root/ecdsa.c
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2017-05-25 16:09:46 -0400
committerPaul Selkirk <paul@psgd.org>2017-05-25 16:09:46 -0400
commitc6543a796c8b560b06cb1d53fad9ffa3906df111 (patch)
treec90f8a3057a6ed514721abdbd1afbec3e5558d2b /ecdsa.c
parent052a0781ec41780b534aca749540ed5b939a721a (diff)
Add task_yield_maybe
Diffstat (limited to 'ecdsa.c')
-rw-r--r--ecdsa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ecdsa.c b/ecdsa.c
index 27c4c2e..b9b14d8 100644
--- a/ecdsa.c
+++ b/ecdsa.c
@@ -707,6 +707,7 @@ static hal_error_t point_scalar_multiply(const fp_int * const k,
point_double (M[1], M[1], curve);
point_add (M[bit], P, M[bit], curve);
+ hal_task_yield_maybe();
}
/*