Lines Matching refs:i
68 uint32_t i, a, b, c, d, e, f, g, h; in sha2processBlock() local
71 for (i = 0; i < SHA2_BLOCK_SIZE / sizeof(uint32_t); i++) in sha2processBlock()
72 state->w[i] = __builtin_bswap32(state->w[i]); in sha2processBlock()
75 for (;i < SHA2_WORDS_STATE_SIZE; i++) { in sha2processBlock()
76 uint32_t s0 = ror(state->w[i-15], 7) ^ ror(state->w[i-15], 18) ^ (state->w[i-15] >> 3); in sha2processBlock()
77 uint32_t s1 = ror(state->w[i-2], 17) ^ ror(state->w[i-2], 19) ^ (state->w[i-2] >> 10); in sha2processBlock()
78 state->w[i] = state->w[i - 16] + s0 + state->w[i - 7] + s1; in sha2processBlock()
92 for (i = 0; i < 64; i++) { in sha2processBlock()
95 uint32_t temp1 = h + s1 + ch + k[i] + state->w[i]; in sha2processBlock()
150 uint32_t i; in sha2finish() local
161 for (i = 0; i < 8; i++, dataLenInBits >>= 8) in sha2finish()
162 state->b[63 - i] = dataLenInBits; in sha2finish()