Skip to content

Commit

Permalink
[crypto] Manually fix name in KMAC test vector script.
Browse files Browse the repository at this point in the history
The automated script missed this construction of an enum constant by
string concatenation.

Signed-off-by: Jade Philipoom <[email protected]>
  • Loading branch information
jadephilipoom committed Jan 10, 2024
1 parent 0c8d6ea commit 31fe5c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sw/device/tests/crypto/kmac_testvectors.h.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit 31fe5c7

Please sign in to comment.