webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Macros | |
#define | F1(B, C, D) (((B & C) | ((~B) & D))) /* 0 <= t <= 19 */ |
#define | F2(B, C, D) (B ^ C ^ D) /* 20 <= t <= 39 */ |
#define | F3(B, C, D) ((B & C) | (B & D) | (C & D)) /* 40 <= t <= 59 */ |
#define | F4(B, C, D) (B ^ C ^ D) /* 600 <= t <= 79 */ |
#define | CSHIFT(A, B) ((B << A) | (B >> (32-A))) |
#define | K1 0x5a827999 /* 0 <= t <= 19 */ |
#define | K2 0x6ed9eba1 /* 20 <= t <= 39 */ |
#define | K3 0x8f1bbcdc /* 40 <= t <= 59 */ |
#define | K4 0xca62c1d6 /* 60 <= t <= 79 */ |
#define | H0INIT 0x67452301 |
#define | H1INIT 0xefcdab89 |
#define | H2INIT 0x98badcfe |
#define | H3INIT 0x10325476 |
#define | H4INIT 0xc3d2e1f0 |
Functions | |
void | sctp_sha1_init (struct sctp_sha1_context *ctx) |
void | sctp_sha1_update (struct sctp_sha1_context *ctx, const unsigned char *ptr, unsigned int siz) |
void | sctp_sha1_final (unsigned char *digest, struct sctp_sha1_context *ctx) |
#define H0INIT 0x67452301 |
#define H1INIT 0xefcdab89 |
#define H2INIT 0x98badcfe |
#define H3INIT 0x10325476 |
#define H4INIT 0xc3d2e1f0 |
#define K1 0x5a827999 /* 0 <= t <= 19 */ |
#define K2 0x6ed9eba1 /* 20 <= t <= 39 */ |
#define K3 0x8f1bbcdc /* 40 <= t <= 59 */ |
#define K4 0xca62c1d6 /* 60 <= t <= 79 */ |
void sctp_sha1_final | ( | unsigned char * | digest, |
struct sctp_sha1_context * | ctx | ||
) |
void sctp_sha1_init | ( | struct sctp_sha1_context * | ctx | ) |
void sctp_sha1_update | ( | struct sctp_sha1_context * | ctx, |
const unsigned char * | ptr, | ||
unsigned int | siz | ||
) |