diff options
author | Rob Austein <sra@hactrn.net> | 2016-05-31 23:40:17 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-05-31 23:40:17 -0400 |
commit | 00f3181d2411068353efd6a5aadb3e70f064db2a (patch) | |
tree | d718597a46fc3484eb41f7222b48a48243edcf84 /hal.h | |
parent | c51fa2770ba45837cf3af8576c813b7934cb709f (diff) |
SHA-224 driver and soft core.
Diffstat (limited to 'hal.h')
-rw-r--r-- | hal.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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]; |