From b8a57ef97951b07521a5d0b4fd963c8023e79944 Mon Sep 17 00:00:00 2001 From: Ravi Sahita Date: Wed, 13 Dec 2023 08:58:27 -0800 Subject: [PATCH] Update sw/device/tests/keymgr_dpe_key_derivation_test.c merge code style feedback Co-authored-by: Douglas Reis <65042207+engdoreis@users.noreply.github.com> --- sw/device/tests/keymgr_dpe_key_derivation_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sw/device/tests/keymgr_dpe_key_derivation_test.c b/sw/device/tests/keymgr_dpe_key_derivation_test.c index 91656da716faf0..a44977235ef0bd 100644 --- a/sw/device/tests/keymgr_dpe_key_derivation_test.c +++ b/sw/device/tests/keymgr_dpe_key_derivation_test.c @@ -95,8 +95,8 @@ bool test_main(void) { CHECK_STATUS_OK(keymgr_dpe_testutils_generate(&keymgr_dpe, &genparams, &key)); LOG_INFO("KeymgrDpe generated key:"); - for (uint32_t i = 0; i < 2; i++) { - for (uint32_t j = 0; j < 8; j++) { + for (size_t i = 0; i < ARRAYSIZE(key.value); ++i) { + for (size_t j = 0; j < ARRAYSIZE(key.value[0]); ++j { LOG_INFO("%x ", key.value[i][j]); } }