From 00f3181d2411068353efd6a5aadb3e70f064db2a Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Tue, 31 May 2016 23:40:17 -0400 Subject: SHA-224 driver and soft core. --- hal.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hal.h') diff --git a/hal.h b/hal.h index f62c89e..12ed579 100644 --- a/hal.h +++ b/hal.h @@ -79,7 +79,7 @@ #define SHA1_VERSION "0.50" #define SHA256_NAME "sha2-256" -#define SHA256_VERSION "0.81" +#define SHA256_VERSION "1.80" #define SHA512_NAME "sha2-512" #define SHA512_VERSION "0.80" @@ -233,6 +233,7 @@ typedef struct hal_hash_driver hal_hash_driver_t; typedef enum { hal_digest_algorithm_none, hal_digest_algorithm_sha1, + hal_digest_algorithm_sha224, hal_digest_algorithm_sha256, hal_digest_algorithm_sha512_224, hal_digest_algorithm_sha512_256, @@ -266,6 +267,7 @@ typedef struct hal_hmac_state hal_hmac_state_t; */ extern const hal_hash_descriptor_t hal_hash_sha1[1]; +extern const hal_hash_descriptor_t hal_hash_sha224[1]; extern const hal_hash_descriptor_t hal_hash_sha256[1]; extern const hal_hash_descriptor_t hal_hash_sha512_224[1]; extern const hal_hash_descriptor_t hal_hash_sha512_256[1]; -- cgit v1.2.3