diff options
| author | Ján Jančár | 2023-07-19 15:06:03 +0200 |
|---|---|---|
| committer | GitHub | 2023-07-19 15:06:03 +0200 |
| commit | 0602b39001ca8a8ea55df3990294de19cfd2cafb (patch) | |
| tree | 5883f9e9e3879cbd6756ac8974b30c8ad0f959ce /pyecsca/codegen/templates | |
| parent | 324f68e7930cde44b13e791f35423fcb33b8aa6c (diff) | |
| parent | 533c5766441ff6a9355441874781645d23b61e90 (diff) | |
| download | pyecsca-codegen-0602b39001ca8a8ea55df3990294de19cfd2cafb.tar.gz pyecsca-codegen-0602b39001ca8a8ea55df3990294de19cfd2cafb.tar.zst pyecsca-codegen-0602b39001ca8a8ea55df3990294de19cfd2cafb.zip | |
Merge pull request #2 from andrr3j/feat/simulator
Add leakage simulation via Rainbow
Diffstat (limited to 'pyecsca/codegen/templates')
| -rw-r--r-- | pyecsca/codegen/templates/main.c | 4 |
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(); |
