Lines Matching refs:uint32_t

70 	uint32_t H[8];
72 uint32_t total[2];
73 uint32_t buflen;
90 static const uint32_t K[64] = {
113 const uint32_t *words = buffer; in sha256_process_block()
114 size_t nwords = len / sizeof (uint32_t); in sha256_process_block()
117 uint32_t a = ctx->H[0]; in sha256_process_block()
118 uint32_t b = ctx->H[1]; in sha256_process_block()
119 uint32_t c = ctx->H[2]; in sha256_process_block()
120 uint32_t d = ctx->H[3]; in sha256_process_block()
121 uint32_t e = ctx->H[4]; in sha256_process_block()
122 uint32_t f = ctx->H[5]; in sha256_process_block()
123 uint32_t g = ctx->H[6]; in sha256_process_block()
124 uint32_t h = ctx->H[7]; in sha256_process_block()
137 uint32_t W[64]; in sha256_process_block()
138 uint32_t a_save = a; in sha256_process_block()
139 uint32_t b_save = b; in sha256_process_block()
140 uint32_t c_save = c; in sha256_process_block()
141 uint32_t d_save = d; in sha256_process_block()
142 uint32_t e_save = e; in sha256_process_block()
143 uint32_t f_save = f; in sha256_process_block()
144 uint32_t g_save = g; in sha256_process_block()
145 uint32_t h_save = h; in sha256_process_block()
169 uint32_t T1 = h + S1 (e) + Ch (e, f, g) + K[t] + W[t]; in sha256_process_block()
170 uint32_t T2 = S0 (a) + Maj (a, b, c); in sha256_process_block()
232 uint32_t bytes = ctx->buflen; in sha256_finish_ctx()
246 *(uint32_t *) &ctx->buffer[bytes + pad + 4] = SWAP (ctx->total[0] << 3); in sha256_finish_ctx()
247 *(uint32_t *) &ctx->buffer[bytes + pad] = SWAP ((ctx->total[1] << 3) | in sha256_finish_ctx()
255 ((uint32_t *) resbuf)[i] = SWAP(ctx->H[i]); in sha256_finish_ctx()
288 # define UNALIGNED_P(p) (((uintptr_t) p) % __alignof__ (uint32_t) != 0) in sha256_process_bytes()
290 # define UNALIGNED_P(p) (((uintptr_t) p) % sizeof (uint32_t) != 0) in sha256_process_bytes()
353 unsigned char alt_result[32] ALIGNED(__alignof__ (uint32_t)); in php_sha256_crypt_r()
354 unsigned char temp_result[32] ALIGNED(__alignof__ (uint32_t)); in php_sha256_crypt_r()
392 if ((key - (char *) 0) % __alignof__ (uint32_t) != 0) { in php_sha256_crypt_r()
393 char *tmp = (char *) alloca(key_len + __alignof__(uint32_t)); in php_sha256_crypt_r()
394 …key = copied_key = memcpy(tmp + __alignof__(uint32_t) - (tmp - (char *) 0) % __alignof__(uint32_t)… in php_sha256_crypt_r()
397 if ((salt - (char *) 0) % __alignof__(uint32_t) != 0) { in php_sha256_crypt_r()
398 char *tmp = (char *) alloca(salt_len + 1 + __alignof__(uint32_t)); in php_sha256_crypt_r()
400 memcpy(tmp + __alignof__(uint32_t) - (tmp - (char *) 0) % __alignof__ (uint32_t), salt, salt_len); in php_sha256_crypt_r()