From 3d57322075d858199122a928fe1e7db9b22fa3ad Mon Sep 17 00:00:00 2001 From: andrr3j Date: Thu, 27 Apr 2023 15:59:30 +0200 Subject: added simulator config, scalar_mult and generate_key fix --- pyecsca/codegen/templates/main.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pyecsca/codegen/templates') diff --git a/pyecsca/codegen/templates/main.c b/pyecsca/codegen/templates/main.c index af82603..4d50cc2 100644 --- a/pyecsca/codegen/templates/main.c +++ b/pyecsca/codegen/templates/main.c @@ -568,6 +568,10 @@ __attribute__((noinline)) void init(void) { init_uart(); trigger_setup(); + init_implementation(); +} + +__attribute__((noinline)) void init_implementation(void) { // Initialize some components that preallocate stuff. prng_init(); formulas_init(); -- cgit v1.3.1