Lines Matching refs:uint32_t
54 uint32_t H[8];
56 uint32_t total[2];
57 uint32_t buflen;
74 static const uint32_t K[64] = {
97 const uint32_t *words = buffer; in sha256_process_block()
98 size_t nwords = len / sizeof (uint32_t); in sha256_process_block()
101 uint32_t a = ctx->H[0]; in sha256_process_block()
102 uint32_t b = ctx->H[1]; in sha256_process_block()
103 uint32_t c = ctx->H[2]; in sha256_process_block()
104 uint32_t d = ctx->H[3]; in sha256_process_block()
105 uint32_t e = ctx->H[4]; in sha256_process_block()
106 uint32_t f = ctx->H[5]; in sha256_process_block()
107 uint32_t g = ctx->H[6]; in sha256_process_block()
108 uint32_t h = ctx->H[7]; in sha256_process_block()
113 ctx->total[0] += (uint32_t)len; in sha256_process_block()
121 uint32_t W[64]; in sha256_process_block()
122 uint32_t a_save = a; in sha256_process_block()
123 uint32_t b_save = b; in sha256_process_block()
124 uint32_t c_save = c; in sha256_process_block()
125 uint32_t d_save = d; in sha256_process_block()
126 uint32_t e_save = e; in sha256_process_block()
127 uint32_t f_save = f; in sha256_process_block()
128 uint32_t g_save = g; in sha256_process_block()
129 uint32_t h_save = h; in sha256_process_block()
153 uint32_t T1 = h + S1 (e) + Ch (e, f, g) + K[t] + W[t]; in sha256_process_block()
154 uint32_t T2 = S0 (a) + Maj (a, b, c); in sha256_process_block()
216 uint32_t bytes = ctx->buflen; in sha256_finish_ctx()
230 *(uint32_t *) &ctx->buffer[bytes + pad + 4] = SWAP (ctx->total[0] << 3); in sha256_finish_ctx()
231 *(uint32_t *) &ctx->buffer[bytes + pad] = SWAP ((ctx->total[1] << 3) | in sha256_finish_ctx()
239 ((uint32_t *) resbuf)[i] = SWAP(ctx->H[i]); in sha256_finish_ctx()
254 ctx->buflen += (uint32_t)add; in sha256_process_bytes()
272 # define UNALIGNED_P(p) (((uintptr_t) p) % __alignof__ (uint32_t) != 0) in sha256_process_bytes()
274 # define UNALIGNED_P(p) (((uintptr_t) p) % sizeof (uint32_t) != 0) in sha256_process_bytes()
299 ctx->buflen = (uint32_t)left_over; in sha256_process_bytes()
330 ZEND_SET_ALIGNED(__alignof__ (uint32_t), unsigned char alt_result[32]); in php_sha256_crypt_r()
331 ZEND_SET_ALIGNED(__alignof__ (uint32_t), unsigned char temp_result[32]); in php_sha256_crypt_r()
380 if ((uintptr_t)key % __alignof__ (uint32_t) != 0) { in php_sha256_crypt_r()
381 tmp_key = (char *) do_alloca(key_len + __alignof__(uint32_t), use_heap_key); in php_sha256_crypt_r()
382 …key = copied_key = memcpy(tmp_key + __alignof__(uint32_t) - (uintptr_t)tmp_key % __alignof__(uint3… in php_sha256_crypt_r()
385 if ((uintptr_t)salt % __alignof__(uint32_t) != 0) { in php_sha256_crypt_r()
386 tmp_salt = (char *) do_alloca(salt_len + 1 + __alignof__(uint32_t), use_heap_salt); in php_sha256_crypt_r()
388 …memcpy(tmp_salt + __alignof__(uint32_t) - (uintptr_t)tmp_salt % __alignof__ (uint32_t), salt, salt… in php_sha256_crypt_r()