Lines Matching refs:uint32_t

55 	uint32_t H[8];
57 uint32_t total[2];
58 uint32_t buflen;
75 static const uint32_t K[64] = {
98 const uint32_t *words = buffer; in sha256_process_block()
99 size_t nwords = len / sizeof (uint32_t); in sha256_process_block()
102 uint32_t a = ctx->H[0]; in sha256_process_block()
103 uint32_t b = ctx->H[1]; in sha256_process_block()
104 uint32_t c = ctx->H[2]; in sha256_process_block()
105 uint32_t d = ctx->H[3]; in sha256_process_block()
106 uint32_t e = ctx->H[4]; in sha256_process_block()
107 uint32_t f = ctx->H[5]; in sha256_process_block()
108 uint32_t g = ctx->H[6]; in sha256_process_block()
109 uint32_t h = ctx->H[7]; in sha256_process_block()
114 ctx->total[0] += (uint32_t)len; in sha256_process_block()
122 uint32_t W[64]; in sha256_process_block()
123 uint32_t a_save = a; in sha256_process_block()
124 uint32_t b_save = b; in sha256_process_block()
125 uint32_t c_save = c; in sha256_process_block()
126 uint32_t d_save = d; in sha256_process_block()
127 uint32_t e_save = e; in sha256_process_block()
128 uint32_t f_save = f; in sha256_process_block()
129 uint32_t g_save = g; in sha256_process_block()
130 uint32_t h_save = h; in sha256_process_block()
154 uint32_t T1 = h + S1 (e) + Ch (e, f, g) + K[t] + W[t]; in sha256_process_block()
155 uint32_t T2 = S0 (a) + Maj (a, b, c); in sha256_process_block()
217 uint32_t bytes = ctx->buflen; in sha256_finish_ctx()
231 *(uint32_t *) &ctx->buffer[bytes + pad + 4] = SWAP (ctx->total[0] << 3); in sha256_finish_ctx()
232 *(uint32_t *) &ctx->buffer[bytes + pad] = SWAP ((ctx->total[1] << 3) | in sha256_finish_ctx()
240 ((uint32_t *) resbuf)[i] = SWAP(ctx->H[i]); in sha256_finish_ctx()
255 ctx->buflen += (uint32_t)add; in sha256_process_bytes()
273 # define UNALIGNED_P(p) (((uintptr_t) p) % __alignof__ (uint32_t) != 0) in sha256_process_bytes()
275 # define UNALIGNED_P(p) (((uintptr_t) p) % sizeof (uint32_t) != 0) in sha256_process_bytes()
300 ctx->buflen = (uint32_t)left_over; in sha256_process_bytes()
331 ZEND_SET_ALIGNED(__alignof__ (uint32_t), unsigned char alt_result[32]); in php_sha256_crypt_r()
332 ZEND_SET_ALIGNED(__alignof__ (uint32_t), unsigned char temp_result[32]); in php_sha256_crypt_r()
374 if ((uintptr_t)key % __alignof__ (uint32_t) != 0) { in php_sha256_crypt_r()
375 char *tmp = (char *) alloca(key_len + __alignof__(uint32_t)); in php_sha256_crypt_r()
376 …key = copied_key = memcpy(tmp + __alignof__(uint32_t) - (uintptr_t)tmp % __alignof__(uint32_t), k… in php_sha256_crypt_r()
379 if ((uintptr_t)salt % __alignof__(uint32_t) != 0) { in php_sha256_crypt_r()
380 char *tmp = (char *) alloca(salt_len + 1 + __alignof__(uint32_t)); in php_sha256_crypt_r()
382 memcpy(tmp + __alignof__(uint32_t) - (uintptr_t)tmp % __alignof__ (uint32_t), salt, salt_len); in php_sha256_crypt_r()