From aa7660c9b47e04af1952781c8afeb9fb949aa818 Mon Sep 17 00:00:00 2001 From: Sachin Parekh Date: Wed, 29 Mar 2023 14:24:00 +0530 Subject: [PATCH] ecdsa_hal.c: Add missing configuration for signature generation --- components/hal/ecdsa_hal.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/hal/ecdsa_hal.c b/components/hal/ecdsa_hal.c index 4f8e87168d..3d799c0661 100644 --- a/components/hal/ecdsa_hal.c +++ b/components/hal/ecdsa_hal.c @@ -46,6 +46,8 @@ void ecdsa_hal_gen_signature(ecdsa_hal_config_t *conf, const uint8_t *k, const u ; } + ecdsa_ll_write_param(ECDSA_PARAM_Z, hash, len); + ecdsa_ll_set_stage(ECDSA_STAGE_LOAD_DONE); while (ecdsa_ll_get_state() != ECDSA_STATE_GET) {