From ca85bdc19822d53ab1db7d1fa897cc6cc4c3c25c Mon Sep 17 00:00:00 2001 From: Brett Nicholas <7547222+bigbrett@users.noreply.github.com> Date: Wed, 30 Oct 2024 15:26:39 -0600 Subject: [PATCH] review feedback --- hal/aurix_tc3xx.c | 5 +++-- src/image.c | 3 +++ tools/keytools/keygen.c | 27 +++++++++++++++++---------- 3 files changed, 23 insertions(+), 12 deletions(-) diff --git a/hal/aurix_tc3xx.c b/hal/aurix_tc3xx.c index dabb4bd4b..4d77167dd 100644 --- a/hal/aurix_tc3xx.c +++ b/hal/aurix_tc3xx.c @@ -592,7 +592,8 @@ static int _connectCb(void* context, whCommConnected connect) int hal_hsm_init_connect(void) { - int rc = 0; + int rc = 0; + size_t i; /* init shared memory buffers */ uint32_t* req = (uint32_t*)hsmShmCore0CommBuf; @@ -625,7 +626,7 @@ int hal_hsm_init_connect(void) } /* init shared memory buffers */ - for (size_t i=0; i