Lines Matching refs:uint32_t
64 uint32_t H[8];
66 uint32_t total[2];
67 uint32_t buflen;
84 static const uint32_t K[64] = {
107 const uint32_t *words = buffer; in sha256_process_block()
108 size_t nwords = len / sizeof (uint32_t); in sha256_process_block()
111 uint32_t a = ctx->H[0]; in sha256_process_block()
112 uint32_t b = ctx->H[1]; in sha256_process_block()
113 uint32_t c = ctx->H[2]; in sha256_process_block()
114 uint32_t d = ctx->H[3]; in sha256_process_block()
115 uint32_t e = ctx->H[4]; in sha256_process_block()
116 uint32_t f = ctx->H[5]; in sha256_process_block()
117 uint32_t g = ctx->H[6]; in sha256_process_block()
118 uint32_t h = ctx->H[7]; in sha256_process_block()
123 ctx->total[0] += (uint32_t)len; in sha256_process_block()
131 uint32_t W[64]; in sha256_process_block()
132 uint32_t a_save = a; in sha256_process_block()
133 uint32_t b_save = b; in sha256_process_block()
134 uint32_t c_save = c; in sha256_process_block()
135 uint32_t d_save = d; in sha256_process_block()
136 uint32_t e_save = e; in sha256_process_block()
137 uint32_t f_save = f; in sha256_process_block()
138 uint32_t g_save = g; in sha256_process_block()
139 uint32_t h_save = h; in sha256_process_block()
163 uint32_t T1 = h + S1 (e) + Ch (e, f, g) + K[t] + W[t]; in sha256_process_block()
164 uint32_t T2 = S0 (a) + Maj (a, b, c); in sha256_process_block()
226 uint32_t bytes = ctx->buflen; in sha256_finish_ctx()
240 *(uint32_t *) &ctx->buffer[bytes + pad + 4] = SWAP (ctx->total[0] << 3); in sha256_finish_ctx()
241 *(uint32_t *) &ctx->buffer[bytes + pad] = SWAP ((ctx->total[1] << 3) | in sha256_finish_ctx()
249 ((uint32_t *) resbuf)[i] = SWAP(ctx->H[i]); in sha256_finish_ctx()
264 ctx->buflen += (uint32_t)add; in sha256_process_bytes()
282 # define UNALIGNED_P(p) (((uintptr_t) p) % __alignof__ (uint32_t) != 0) in sha256_process_bytes()
284 # define UNALIGNED_P(p) (((uintptr_t) p) % sizeof (uint32_t) != 0) in sha256_process_bytes()
309 ctx->buflen = (uint32_t)left_over; in sha256_process_bytes()
347 unsigned char alt_result[32] ALIGNED(__alignof__ (uint32_t)); in php_sha256_crypt_r()
348 unsigned char temp_result[32] ALIGNED(__alignof__ (uint32_t)); in php_sha256_crypt_r()
386 if ((key - (char *) 0) % __alignof__ (uint32_t) != 0) { in php_sha256_crypt_r()
387 char *tmp = (char *) alloca(key_len + __alignof__(uint32_t)); in php_sha256_crypt_r()
388 …key = copied_key = memcpy(tmp + __alignof__(uint32_t) - (tmp - (char *) 0) % __alignof__(uint32_t)… in php_sha256_crypt_r()
391 if ((salt - (char *) 0) % __alignof__(uint32_t) != 0) { in php_sha256_crypt_r()
392 char *tmp = (char *) alloca(salt_len + 1 + __alignof__(uint32_t)); in php_sha256_crypt_r()
394 memcpy(tmp + __alignof__(uint32_t) - (tmp - (char *) 0) % __alignof__ (uint32_t), salt, salt_len); in php_sha256_crypt_r()