Ruby
1.9.3p392(2013-02-22revision39386)
Main Page
Modules
Data Structures
Files
File List
Globals
ext
digest
sha2
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
11
typedef
SHA512_CTX
SHA384_CTX
;
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
Generated on Tue Feb 26 2013 08:42:55 for Ruby by
1.8.3