aboutsummaryrefslogtreecommitdiff
path: root/hal.h
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-10-25 01:01:30 -0400
committerRob Austein <sra@hactrn.net>2016-10-25 01:01:30 -0400
commitdca4161990a2f9286c9400d014645c2ae69a3369 (patch)
treeba87f2f9cf86ea9080b80559af4aab8b12eb3aca /hal.h
parent41bc63d2ee629610de41c793e1eb00e1571d38d4 (diff)
Uppercase HAL_DIGEST_ALGORITHM_ symbols for API consistency.
Diffstat (limited to 'hal.h')
-rw-r--r--hal.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/hal.h b/hal.h
index db4038d..10a78ed 100644
--- a/hal.h
+++ b/hal.h
@@ -253,14 +253,14 @@ 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,
- hal_digest_algorithm_sha384,
- hal_digest_algorithm_sha512
+ 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,
+ HAL_DIGEST_ALGORITHM_SHA384,
+ HAL_DIGEST_ALGORITHM_SHA512
} hal_digest_algorithm_t;
typedef struct {