diff options
author | Toomas Soome <tsoome@me.com> | 2019-09-30 01:39:38 +0300 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2019-10-04 09:29:09 +0300 |
commit | 238b28907b1e86e000112cdbcb3fd413e95c20e4 (patch) | |
tree | 4f9e293fba4e3605c46c7ea3d74feec089a4ebd6 | |
parent | 8eef2ab6218419d91e0aefc223c9f2cd1c8e9a2c (diff) | |
download | illumos-joyent-238b28907b1e86e000112cdbcb3fd413e95c20e4.tar.gz |
11759 sys/sha1.h should provide SHA1_BLOCK_LENGTH
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
Reviewed by: Jason Lippert <jason@glasspelican.ca>
Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r-- | usr/src/uts/common/sys/sha1.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/src/uts/common/sys/sha1.h b/usr/src/uts/common/sys/sha1.h index e74fe6d32c..9e1dcec490 100644 --- a/usr/src/uts/common/sys/sha1.h +++ b/usr/src/uts/common/sys/sha1.h @@ -48,6 +48,7 @@ typedef struct { } buf_un; } SHA1_CTX; +#define SHA1_BLOCK_LENGTH 64 #define SHA1_DIGEST_LENGTH 20 void SHA1Init(SHA1_CTX *); |