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, },