Skip to content

Commit

Permalink
11759 sys/sha1.h should provide SHA1_BLOCK_LENGTH
Browse files Browse the repository at this point in the history
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
Reviewed by: Jason Lippert <jason@glasspelican.ca>
Approved by: Dan McDonald <danmcd@joyent.com>
  • Loading branch information
tsoome committed Oct 4, 2019
1 parent 8eef2ab commit 238b289
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions usr/src/uts/common/sys/sha1.h
Expand Up @@ -48,6 +48,7 @@ typedef struct {
} buf_un;
} SHA1_CTX;

#define SHA1_BLOCK_LENGTH 64
#define SHA1_DIGEST_LENGTH 20

void SHA1Init(SHA1_CTX *);
Expand Down

0 comments on commit 238b289

Please sign in to comment.