1 /* public api for steve reid's public domain SHA-1 implementation */
2 /* this file is in the public domain */
12 #define SHA1_DIGEST_SIZE 20
14 void solv_SHA1_Init(SHA1_CTX* context);
15 void solv_SHA1_Update(SHA1_CTX* context, const uint8_t* data, const size_t len);
16 void solv_SHA1_Final(SHA1_CTX* context, uint8_t digest[SHA1_DIGEST_SIZE]);