[hmac_smoketest] change endianness of expectation
https://github.com/lowRISC/opentitan/pull/9553 has swapped the
endianness bit to correct it's behavior so the smoke test for the hmac
needs to have a corrected expectation to pass.
Signed-off-by: Drew Macrae <drewmacrae@google.com>
diff --git a/sw/device/tests/hmac_smoketest.c b/sw/device/tests/hmac_smoketest.c
index 6e662d8..3cbe566 100644
--- a/sw/device/tests/hmac_smoketest.c
+++ b/sw/device/tests/hmac_smoketest.c
@@ -41,12 +41,12 @@
0xa4093822, 0x299f31d0, 0x082efa98, 0xec4e6c89};
static const uint32_t kExpectedShaDigest[8] = {
- 0xdc96c23d, 0xaf36e268, 0xcb68ff71, 0xe92f76e2,
- 0xb8a8379d, 0x426dc745, 0x19f5cff7, 0x4ec9c6d6};
+ 0x3dc296dc, 0x68e236af, 0x71ff68cb, 0xe2762fe9,
+ 0x9d37a8b8, 0x45c76d42, 0xf7cff519, 0xd6c6c94e};
static const uint32_t kExpectedHmacDigest[8] = {
- 0xe4987b39, 0x3f83d390, 0xc2f3bbaf, 0x3195dbfa,
- 0x23fb480c, 0xb012ae5e, 0xf1394d28, 0x1940ceeb};
+ 0x397b98e4, 0x90d3833f, 0xafbbf3c2, 0xfadb9531,
+ 0x0c48fb23, 0x5eae12b0, 0x284d39f1, 0xebce4019};
/**
* Initialize the HMAC engine. Return `true` if the configuration is valid.