PandA-2024.02
|
Go to the source code of this file.
Macros | |
#define | f1(x, y, z) ((x & y) | (~x & z)) |
#define | f2(x, y, z) (x ^ y ^ z) |
#define | f3(x, y, z) ((x & y) | (x & z) | (y & z)) |
#define | f4(x, y, z) (x ^ y ^ z) |
#define | CONST1 0x5a827999L |
#define | CONST2 0x6ed9eba1L |
#define | CONST3 0x8f1bbcdcL |
#define | CONST4 0xca62c1d6L |
#define | ROT32(x, n) ((x << n) | (x >> (32 - n))) |
#define | FUNC(n, i) |
Functions | |
void | local_memset (INT32 *s, int c, int n, int e) |
void | local_memcpy (INT32 *s1, const BYTE *s2, int n) |
static void | sha_transform () |
void | sha_init () |
void | sha_update (const BYTE *buffer, int count) |
void | sha_final () |
void | sha_stream () |
#define FUNC | ( | n, | |
i | |||
) |
Definition at line 46 of file sha.c.
Referenced by gamma_test(), lgamma_test(), modf_test(), sha_transform(), and sincos_test().
Definition at line 71 of file sha.c.
Referenced by sha_update().
void local_memset | ( | INT32 * | s, |
int | c, | ||
int | n, | ||
int | e | ||
) |
Definition at line 51 of file sha.c.
Referenced by sha_final().
void sha_final | ( | ) |
Definition at line 177 of file sha.c.
Referenced by __attribute__(), and sha_stream().
void sha_init | ( | ) |
Definition at line 142 of file sha.c.
Referenced by __attribute__(), and sha_stream().
void sha_stream | ( | ) |
Definition at line 204 of file sha.c.
References in_i, indata, sha_final(), sha_init(), sha_update(), and VSIZE.
Referenced by main().
|
static |
Definition at line 96 of file sha.c.
References A, B, C, D, FUNC, sha_info_data, sha_info_digest, and W.
Referenced by sha_final(), and sha_update().
void sha_update | ( | const BYTE * | buffer, |
int | count | ||
) |
Definition at line 156 of file sha.c.
Referenced by __attribute__(), and sha_stream().