Introduction
Introduction Statistics Contact Development Disclaimer Help
sha1.h - pubsubhubbubblub - pubsubhubbub client implementation
git clone git://git.codemadness.org/pubsubhubbubblub
Log
Files
Refs
README
LICENSE
---
sha1.h (334B)
---
1 #include <stdint.h>
2
3 typedef struct sha1 {
4 uint64_t len; /* processed message length */
5 uint32_t h[5]; /* hash state */
6 uint8_t buf[64]; /* message block buffer */
7 } SHA_CTX;
8
9 #define SHA_DIGEST_LENGTH 20
10
11 int SHA1_Init(SHA_CTX *);
12 int SHA1_Update(SHA_CTX *, const void *, size_t);
13 int SHA1_Final(unsigned char *, SHA_CTX *);
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.