Ruby  2.0.0p645(2015-04-13revision50299)
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
void SHA384_Finish(SHA384_CTX *ctx, char *buf)
void SHA512_Finish(SHA512_CTX *ctx, char *buf)
unsigned char buf[MIME_BUF_SIZE]
Definition: nkf.c:4308
SHA512_CTX SHA384_CTX
Definition: sha2.h:133
void SHA256_Finish(SHA256_CTX *ctx, char *buf)