Go to the documentation of this file.00001
00002
00003 #ifndef SHA1OSSL_H_INCLUDED
00004 #define SHA1OSSL_H_INCLUDED
00005
00006 #include <stddef.h>
00007 #include <openssl/sha.h>
00008
00009 #define SHA1_CTX SHA_CTX
00010
00011 #ifdef SHA_BLOCK_LENGTH
00012 #define SHA1_BLOCK_LENGTH SHA_BLOCK_LENGTH
00013 #else
00014 #define SHA1_BLOCK_LENGTH SHA_CBLOCK
00015 #endif
00016 #define SHA1_DIGEST_LENGTH SHA_DIGEST_LENGTH
00017
00018 void SHA1_Finish(SHA1_CTX *ctx, char *buf);
00019
00020 #endif
00021