Ruby  1.9.3p392(2013-02-22revision39386)
sha2ossl.h
Go to the documentation of this file.
1 #ifndef SHA2OSSL_H_INCLUDED
2 #define SHA2OSSL_H_INCLUDED
3 
4 #include <stddef.h>
5 #include <openssl/sha.h>
6 
7 #define SHA256_BLOCK_LENGTH SHA256_CBLOCK
8 #define SHA384_BLOCK_LENGTH SHA512_CBLOCK
9 #define SHA512_BLOCK_LENGTH SHA512_CBLOCK
10 
12 
13 void SHA256_Finish(SHA256_CTX *ctx, char *buf);
14 void SHA384_Finish(SHA384_CTX *ctx, char *buf);
15 void SHA512_Finish(SHA512_CTX *ctx, char *buf);
16 
17 #endif
18