Ruby 2.0.0p353(2013-11-22revision43784)

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

sha1ossl.h
Go to the documentation of this file.
1 /* $Id: sha1ossl.h 25189 2009-10-02 12:04:37Z akr $ */
2
3 #ifndef SHA1OSSL_H_INCLUDED
4 #define SHA1OSSL_H_INCLUDED
5
6 #include <stddef.h>
7 #include <openssl/sha.h>
8
9 #define SHA1_CTX SHA_CTX
10
11 #ifdef SHA_BLOCK_LENGTH
12 #define SHA1_BLOCK_LENGTH SHA_BLOCK_LENGTH
13 #else
14 #define SHA1_BLOCK_LENGTH SHA_CBLOCK
15 #endif
16 #define SHA1_DIGEST_LENGTH SHA_DIGEST_LENGTH
17
18 void SHA1_Finish(SHA1_CTX *ctx, char *buf);
19
20 #endif
buf
unsigned char buf[MIME_BUF_SIZE]
Definition: nkf.c:4308
SHA1_Finish
void SHA1_Finish(SHA1_CTX *context, uint8_t digest[20])
Definition: sha1.c:247
SHA1_CTX
Definition: sha1.h:16