Lines Matching refs:bc
49 u64 t[5], tt, bc[5]; in keccakf_round() local
52 bc[0] = st[0] ^ st[5] ^ st[10] ^ st[15] ^ st[20]; in keccakf_round()
53 bc[1] = st[1] ^ st[6] ^ st[11] ^ st[16] ^ st[21]; in keccakf_round()
54 bc[2] = st[2] ^ st[7] ^ st[12] ^ st[17] ^ st[22]; in keccakf_round()
55 bc[3] = st[3] ^ st[8] ^ st[13] ^ st[18] ^ st[23]; in keccakf_round()
56 bc[4] = st[4] ^ st[9] ^ st[14] ^ st[19] ^ st[24]; in keccakf_round()
58 t[0] = bc[4] ^ rol64(bc[1], 1); in keccakf_round()
59 t[1] = bc[0] ^ rol64(bc[2], 1); in keccakf_round()
60 t[2] = bc[1] ^ rol64(bc[3], 1); in keccakf_round()
61 t[3] = bc[2] ^ rol64(bc[4], 1); in keccakf_round()
62 t[4] = bc[3] ^ rol64(bc[0], 1); in keccakf_round()
94 bc[ 0] = ~st[ 1] & st[ 2]; in keccakf_round()
95 bc[ 1] = ~st[ 2] & st[ 3]; in keccakf_round()
96 bc[ 2] = ~st[ 3] & st[ 4]; in keccakf_round()
97 bc[ 3] = ~st[ 4] & st[ 0]; in keccakf_round()
98 bc[ 4] = ~st[ 0] & st[ 1]; in keccakf_round()
99 st[ 0] ^= bc[ 0]; in keccakf_round()
100 st[ 1] ^= bc[ 1]; in keccakf_round()
101 st[ 2] ^= bc[ 2]; in keccakf_round()
102 st[ 3] ^= bc[ 3]; in keccakf_round()
103 st[ 4] ^= bc[ 4]; in keccakf_round()
105 bc[ 0] = ~st[ 6] & st[ 7]; in keccakf_round()
106 bc[ 1] = ~st[ 7] & st[ 8]; in keccakf_round()
107 bc[ 2] = ~st[ 8] & st[ 9]; in keccakf_round()
108 bc[ 3] = ~st[ 9] & st[ 5]; in keccakf_round()
109 bc[ 4] = ~st[ 5] & st[ 6]; in keccakf_round()
110 st[ 5] ^= bc[ 0]; in keccakf_round()
111 st[ 6] ^= bc[ 1]; in keccakf_round()
112 st[ 7] ^= bc[ 2]; in keccakf_round()
113 st[ 8] ^= bc[ 3]; in keccakf_round()
114 st[ 9] ^= bc[ 4]; in keccakf_round()
116 bc[ 0] = ~st[11] & st[12]; in keccakf_round()
117 bc[ 1] = ~st[12] & st[13]; in keccakf_round()
118 bc[ 2] = ~st[13] & st[14]; in keccakf_round()
119 bc[ 3] = ~st[14] & st[10]; in keccakf_round()
120 bc[ 4] = ~st[10] & st[11]; in keccakf_round()
121 st[10] ^= bc[ 0]; in keccakf_round()
122 st[11] ^= bc[ 1]; in keccakf_round()
123 st[12] ^= bc[ 2]; in keccakf_round()
124 st[13] ^= bc[ 3]; in keccakf_round()
125 st[14] ^= bc[ 4]; in keccakf_round()
127 bc[ 0] = ~st[16] & st[17]; in keccakf_round()
128 bc[ 1] = ~st[17] & st[18]; in keccakf_round()
129 bc[ 2] = ~st[18] & st[19]; in keccakf_round()
130 bc[ 3] = ~st[19] & st[15]; in keccakf_round()
131 bc[ 4] = ~st[15] & st[16]; in keccakf_round()
132 st[15] ^= bc[ 0]; in keccakf_round()
133 st[16] ^= bc[ 1]; in keccakf_round()
134 st[17] ^= bc[ 2]; in keccakf_round()
135 st[18] ^= bc[ 3]; in keccakf_round()
136 st[19] ^= bc[ 4]; in keccakf_round()
138 bc[ 0] = ~st[21] & st[22]; in keccakf_round()
139 bc[ 1] = ~st[22] & st[23]; in keccakf_round()
140 bc[ 2] = ~st[23] & st[24]; in keccakf_round()
141 bc[ 3] = ~st[24] & st[20]; in keccakf_round()
142 bc[ 4] = ~st[20] & st[21]; in keccakf_round()
143 st[20] ^= bc[ 0]; in keccakf_round()
144 st[21] ^= bc[ 1]; in keccakf_round()
145 st[22] ^= bc[ 2]; in keccakf_round()
146 st[23] ^= bc[ 3]; in keccakf_round()
147 st[24] ^= bc[ 4]; in keccakf_round()