aboutsummaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-05-24 18:31:21 -0400
committerRob Austein <sra@hactrn.net>2015-05-24 18:31:21 -0400
commita05b7a97e05c53b70e2edc2cc14a6a4348b38739 (patch)
tree18d383ea5be7f0e1b51916fdaf8a17ef175538ee /hash.c
parente4a7f76368954edb2622d9b9f333f6b6ef6001e1 (diff)
Debug hash-testing code.
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hash.c b/hash.c
index 4a15491..ae49c06 100644
--- a/hash.c
+++ b/hash.c
@@ -147,8 +147,8 @@ static hal_error_t hash_write_block(const off_t block_addr,
* Read hash result from core.
*/
-static hal_error_t hash_read_digest(const uint8_t digest_addr,
- const uint8_t status_addr,
+static hal_error_t hash_read_digest(const off_t digest_addr,
+ const off_t status_addr,
uint8_t *digest,
const size_t digest_length)
{