diff options
Diffstat (limited to 'common/sha1.h')
-rw-r--r-- | common/sha1.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/sha1.h b/common/sha1.h index 37f734f..208b7f2 100644 --- a/common/sha1.h +++ b/common/sha1.h @@ -22,6 +22,8 @@ sha1_ctx_t; void sha1_init(sha1_ctx_t* context); void sha1_update(sha1_ctx_t* context, const void* data, unsigned int len); void sha1_final(unsigned char digest[SHA1_LEN], sha1_ctx_t* context); +void sha1_string(unsigned char digest[SHA1_LEN], const char* str); +int sha1_strcmp(unsigned char digest[SHA1_LEN], const char* str); #ifdef __cplusplus } |