Lines Matching refs:uint32_t

59 	uint32_t H[8];
61 uint32_t total[2];
62 uint32_t buflen;
79 static const uint32_t K[64] = {
102 const uint32_t *words = buffer; in sha256_process_block()
103 size_t nwords = len / sizeof (uint32_t); in sha256_process_block()
106 uint32_t a = ctx->H[0]; in sha256_process_block()
107 uint32_t b = ctx->H[1]; in sha256_process_block()
108 uint32_t c = ctx->H[2]; in sha256_process_block()
109 uint32_t d = ctx->H[3]; in sha256_process_block()
110 uint32_t e = ctx->H[4]; in sha256_process_block()
111 uint32_t f = ctx->H[5]; in sha256_process_block()
112 uint32_t g = ctx->H[6]; in sha256_process_block()
113 uint32_t h = ctx->H[7]; in sha256_process_block()
118 ctx->total[0] += (uint32_t)len; in sha256_process_block()
126 uint32_t W[64]; in sha256_process_block()
127 uint32_t a_save = a; in sha256_process_block()
128 uint32_t b_save = b; in sha256_process_block()
129 uint32_t c_save = c; in sha256_process_block()
130 uint32_t d_save = d; in sha256_process_block()
131 uint32_t e_save = e; in sha256_process_block()
132 uint32_t f_save = f; in sha256_process_block()
133 uint32_t g_save = g; in sha256_process_block()
134 uint32_t h_save = h; in sha256_process_block()
158 uint32_t T1 = h + S1 (e) + Ch (e, f, g) + K[t] + W[t]; in sha256_process_block()
159 uint32_t T2 = S0 (a) + Maj (a, b, c); in sha256_process_block()
221 uint32_t bytes = ctx->buflen; in sha256_finish_ctx()
235 *(uint32_t *) &ctx->buffer[bytes + pad + 4] = SWAP (ctx->total[0] << 3); in sha256_finish_ctx()
236 *(uint32_t *) &ctx->buffer[bytes + pad] = SWAP ((ctx->total[1] << 3) | in sha256_finish_ctx()
244 ((uint32_t *) resbuf)[i] = SWAP(ctx->H[i]); in sha256_finish_ctx()
259 ctx->buflen += (uint32_t)add; in sha256_process_bytes()
277 # define UNALIGNED_P(p) (((uintptr_t) p) % __alignof__ (uint32_t) != 0) in sha256_process_bytes()
279 # define UNALIGNED_P(p) (((uintptr_t) p) % sizeof (uint32_t) != 0) in sha256_process_bytes()
304 ctx->buflen = (uint32_t)left_over; in sha256_process_bytes()
335 ZEND_SET_ALIGNED(__alignof__ (uint32_t), unsigned char alt_result[32]); in php_sha256_crypt_r()
336 ZEND_SET_ALIGNED(__alignof__ (uint32_t), unsigned char temp_result[32]); in php_sha256_crypt_r()
374 if ((key - (char *) 0) % __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) - (tmp - (char *) 0) % __alignof__(uint32_t)… in php_sha256_crypt_r()
379 if ((salt - (char *) 0) % __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) - (tmp - (char *) 0) % __alignof__ (uint32_t), salt, salt_len); in php_sha256_crypt_r()