Home
last modified time | relevance | path

Searched refs:sha1_uint32 (Results 1 – 2 of 2) sorted by relevance

/external/elfutils/lib/
Dsha1.h41 typedef uint32_t sha1_uint32; typedef
47 sha1_uint32 A;
48 sha1_uint32 B;
49 sha1_uint32 C;
50 sha1_uint32 D;
51 sha1_uint32 E;
53 sha1_uint32 total[2];
54 sha1_uint32 buflen;
55 char buffer[128] __attribute__ ((__aligned__ (__alignof__ (sha1_uint32))));
Dsha1.c71 ((sha1_uint32 *) resbuf)[0] = SWAP (ctx->A); in sha1_read_ctx()
72 ((sha1_uint32 *) resbuf)[1] = SWAP (ctx->B); in sha1_read_ctx()
73 ((sha1_uint32 *) resbuf)[2] = SWAP (ctx->C); in sha1_read_ctx()
74 ((sha1_uint32 *) resbuf)[3] = SWAP (ctx->D); in sha1_read_ctx()
75 ((sha1_uint32 *) resbuf)[4] = SWAP (ctx->E); in sha1_read_ctx()
96 sha1_uint32 bytes = ctx->buflen; in sha1_finish_ctx()
154 # define UNALIGNED_P(p) (((sha1_uintptr) p) % __alignof__ (sha1_uint32) != 0) in sha1_process_bytes()
156 # define UNALIGNED_P(p) (((sha1_uintptr) p) % sizeof (sha1_uint32) != 0) in sha1_process_bytes()
217 sha1_uint32 computed_words[16]; in sha1_process_block()
219 const sha1_uint32 *words = buffer; in sha1_process_block()
[all …]