21 #include <openssl/sha.h> 24 #define SHA1_DIGEST_LENGTH SHA_DIGEST_LENGTH 28 #if defined(_WIN32) || defined(_WIN64) 53 #define SHA1_DIGEST_LENGTH (160/8)
int SHA1_Final(unsigned char *md, SHA_CTX *ctx)
int SHA1_Update(SHA_CTX *ctx, const void *data, size_t len)
int SHA1_Init(SHA_CTX *ctx)