aboutsummaryrefslogtreecommitdiff
path: root/sw/hash_tester.c
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2015-05-05 16:15:10 -0400
committerPaul Selkirk <paul@psgd.org>2015-05-05 16:15:10 -0400
commit05b139f4407890a8671bc3f40c48e4d54e3a83c5 (patch)
tree1d1e9ab6ed090baaf0b8bd71c33fd0b67aff0f23 /sw/hash_tester.c
parent5311cc678dc82222146a384080d5f2bc95cb1eb6 (diff)
Rename bitmask symbols.
Diffstat (limited to 'sw/hash_tester.c')
-rw-r--r--sw/hash_tester.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/hash_tester.c b/sw/hash_tester.c
index 3df62d3..7e4f2c8 100644
--- a/sw/hash_tester.c
+++ b/sw/hash_tester.c
@@ -460,7 +460,7 @@ int TC8()
int tc9(int mode, const uint8_t *expected, int digest_len)
{
const uint8_t *block = NIST_1024_SINGLE;
- uint8_t init[4] = { 0, 0, 0, CTRL_INIT_CMD + mode };
+ uint8_t init[4] = { 0, 0, 0, CTRL_INIT + mode };
return
/* Write block to SHA-512. */
@@ -502,8 +502,8 @@ int TC9()
int tc10(int mode, const uint8_t *expected, int digest_len)
{
const uint8_t *block[2] = { NIST_1024_DOUBLE0, NIST_1024_DOUBLE1 };
- uint8_t init[4] = { 0, 0, 0, CTRL_INIT_CMD + mode };
- uint8_t next[4] = { 0, 0, 0, CTRL_NEXT_CMD + mode };
+ uint8_t init[4] = { 0, 0, 0, CTRL_INIT + mode };
+ uint8_t next[4] = { 0, 0, 0, CTRL_NEXT + mode };
return
/* Write first block to SHA-512. */