12 context->digest[0] = 0x67452301;
13 context->digest[1] = 0xEFCDAB89;
14 context->digest[2] = 0x98BADCFE;
15 context->digest[3] = 0x10325476;
16 context->digest[4] = 0xC3D2E1F0;
23 return ((((
value) << (rot)) & 0xFFFFFFFF) | ((
value) >> (32 - (rot))));
35 for (
ut32 t = 0; t < 16; ++t) {
39 for (
ut32 t = 16; t < 80; ++t) {
43 for (
ut32 t = 0; t < 20; ++t) {
52 for (
ut32 t = 20; t < 40; ++t) {
61 for (
ut32 t = 40; t < 60; ++t) {
70 for (
ut32 t = 60; t < 80; ++t) {
94 if (
context->len_low > 0xFFFFFFFFull) {
95 context->len_low &= 0xFFFFFFFFull;
98 if (
context->len_high > 0xFFFFFFFFull) {
142 for (
ut32 t = 0; t < 5; ++t) {
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len static semflg const void static shmflg const struct timespec struct timespec static rem const char static group const void length
#define rz_return_if_fail(expr)
#define rz_return_val_if_fail(expr, val)
static void rz_write_at_be32(void *dest, ut32 val, size_t offset)
static ut32 rz_read_at_be32(const void *src, size_t offset)
static void rz_write_be32(void *dest, ut32 val)
void sha1_padding(RzSHA1 *context)
void rz_sha1_init(RzSHA1 *context)
static void sha1_digest_block(RzSHA1 *context)
void rz_sha1_fini(ut8 *hash, RzSHA1 *context)
static ut32 rotate_left_32(ut32 value, ut32 rot)
bool rz_sha1_update(RzSHA1 *context, const ut8 *data, ut64 length)
#define RZ_HASH_SHA1_BLOCK_LENGTH
ut64(WINAPI *w32_GetEnabledXStateFeatures)()