Searched refs:sha1_byte (Results 1 – 2 of 2) sorted by relevance
| /lighttpd1.4/src/ |
| H A D | algo_sha1.h | 48 typedef unsigned char sha1_byte; /* single byte type */ typedef 59 sha1_byte buffer[SHA1_BLOCK_LENGTH]; 64 void SHA1_Update(SHA_CTX *context, const sha1_byte *data, unsigned int len); 65 void SHA1_Final(sha1_byte digest[SHA1_DIGEST_LENGTH], SHA_CTX *context);
|
| H A D | algo_sha1.c | 64 sha1_byte c[64]; 70 void SHA1_Transform(sha1_quadbyte state[5], const sha1_byte buffer[64]) { in SHA1_Transform() 76 memcpy(src.c, buffer, sizeof(sha1_byte) * 64); in SHA1_Transform() 128 void SHA1_Update(SHA_CTX *context, const sha1_byte *data, unsigned int len) { in SHA1_Update() 148 void SHA1_Final(sha1_byte digest[SHA1_DIGEST_LENGTH], SHA_CTX *context) { in SHA1_Final() 150 sha1_byte finalcount[8]; in SHA1_Final() 153 finalcount[i] = (sha1_byte)((context->count[(i >= 4 ? 0 : 1)] in SHA1_Final() 156 SHA1_Update(context, (sha1_byte *)"\200", 1); in SHA1_Final() 158 SHA1_Update(context, (sha1_byte *)"\0", 1); in SHA1_Final() 163 digest[i] = (sha1_byte) in SHA1_Final()
|