aboutsummaryrefslogtreecommitdiffhomepage
path: root/pyecsca/codegen/templates
diff options
context:
space:
mode:
authorandrr3j2023-04-27 15:59:30 +0200
committerandrr3j2023-04-27 17:13:11 +0200
commit3d57322075d858199122a928fe1e7db9b22fa3ad (patch)
tree37394721606fe7e9355ac6caf3ed1e8920bc5b71 /pyecsca/codegen/templates
parent75a8b9349890668099cb4ac296eb52f20e931b24 (diff)
downloadpyecsca-codegen-3d57322075d858199122a928fe1e7db9b22fa3ad.tar.gz
pyecsca-codegen-3d57322075d858199122a928fe1e7db9b22fa3ad.tar.zst
pyecsca-codegen-3d57322075d858199122a928fe1e7db9b22fa3ad.zip
added simulator config, scalar_mult and generate_key fix
Diffstat (limited to 'pyecsca/codegen/templates')
-rw-r--r--pyecsca/codegen/templates/main.c4
1 files changed, 4 insertions, 0 deletions
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();