From 31fe5c77c544582a8e9f421c4f6fa6130a11e5a6 Mon Sep 17 00:00:00 2001 From: Jade Philipoom Date: Wed, 10 Jan 2024 10:27:33 +0100 Subject: [PATCH] [crypto] Manually fix name in KMAC test vector script. The automated script missed this construction of an enum constant by string concatenation. Signed-off-by: Jade Philipoom --- sw/device/tests/crypto/kmac_testvectors.h.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/device/tests/crypto/kmac_testvectors.h.tpl b/sw/device/tests/crypto/kmac_testvectors.h.tpl index a93d4de772388..5431983cf95f9 100644 --- a/sw/device/tests/crypto/kmac_testvectors.h.tpl +++ b/sw/device/tests/crypto/kmac_testvectors.h.tpl @@ -47,7 +47,7 @@ static kmac_test_vector_t kKmacTestVectors[${len(tests)}] = { % if "key" in t: .key = { .config = { - .key_mode = ${"kKeyModeKmac" + str(t["security_str"])}, + .key_mode = ${"kOtcryptoKeyModeKmac" + str(t["security_str"])}, .key_length = ${t["key_len"]}, .hw_backed = kHardenedBoolFalse, },