Lines Matching refs:B
99 #define SHA_ROUND(t, input, fn, constant, A, B, C, D, E) do { \ argument
102 B = SHA_ROR(B, 2); } while (0)
104 #define T_0_15(t, A, B, C, D, E) SHA_ROUND(t, SHA_SRC, (((C^D)&B)^D) , 0x5a827999, A, B, C, D, E ) argument
105 #define T_16_19(t, A, B, C, D, E) SHA_ROUND(t, SHA_MIX, (((C^D)&B)^D) , 0x5a827999, A, B, C, D, E ) argument
106 #define T_20_39(t, A, B, C, D, E) SHA_ROUND(t, SHA_MIX, (B^C^D) , 0x6ed9eba1, A, B, C, D, E ) argument
107 #define T_40_59(t, A, B, C, D, E) SHA_ROUND(t, SHA_MIX, ((B&C)+(D&(B^C))) , 0x8f1bbcdc, A, B, C, D,… argument
108 #define T_60_79(t, A, B, C, D, E) SHA_ROUND(t, SHA_MIX, (B^C^D) , 0xca62c1d6, A, B, C, D, E ) argument
112 unsigned int A,B,C,D,E; in blk_SHA1Block() local
116 B = ctx->H[1]; in blk_SHA1Block()
122 T_0_15( 0, A, B, C, D, E); in blk_SHA1Block()
123 T_0_15( 1, E, A, B, C, D); in blk_SHA1Block()
124 T_0_15( 2, D, E, A, B, C); in blk_SHA1Block()
125 T_0_15( 3, C, D, E, A, B); in blk_SHA1Block()
126 T_0_15( 4, B, C, D, E, A); in blk_SHA1Block()
127 T_0_15( 5, A, B, C, D, E); in blk_SHA1Block()
128 T_0_15( 6, E, A, B, C, D); in blk_SHA1Block()
129 T_0_15( 7, D, E, A, B, C); in blk_SHA1Block()
130 T_0_15( 8, C, D, E, A, B); in blk_SHA1Block()
131 T_0_15( 9, B, C, D, E, A); in blk_SHA1Block()
132 T_0_15(10, A, B, C, D, E); in blk_SHA1Block()
133 T_0_15(11, E, A, B, C, D); in blk_SHA1Block()
134 T_0_15(12, D, E, A, B, C); in blk_SHA1Block()
135 T_0_15(13, C, D, E, A, B); in blk_SHA1Block()
136 T_0_15(14, B, C, D, E, A); in blk_SHA1Block()
137 T_0_15(15, A, B, C, D, E); in blk_SHA1Block()
140 T_16_19(16, E, A, B, C, D); in blk_SHA1Block()
141 T_16_19(17, D, E, A, B, C); in blk_SHA1Block()
142 T_16_19(18, C, D, E, A, B); in blk_SHA1Block()
143 T_16_19(19, B, C, D, E, A); in blk_SHA1Block()
146 T_20_39(20, A, B, C, D, E); in blk_SHA1Block()
147 T_20_39(21, E, A, B, C, D); in blk_SHA1Block()
148 T_20_39(22, D, E, A, B, C); in blk_SHA1Block()
149 T_20_39(23, C, D, E, A, B); in blk_SHA1Block()
150 T_20_39(24, B, C, D, E, A); in blk_SHA1Block()
151 T_20_39(25, A, B, C, D, E); in blk_SHA1Block()
152 T_20_39(26, E, A, B, C, D); in blk_SHA1Block()
153 T_20_39(27, D, E, A, B, C); in blk_SHA1Block()
154 T_20_39(28, C, D, E, A, B); in blk_SHA1Block()
155 T_20_39(29, B, C, D, E, A); in blk_SHA1Block()
156 T_20_39(30, A, B, C, D, E); in blk_SHA1Block()
157 T_20_39(31, E, A, B, C, D); in blk_SHA1Block()
158 T_20_39(32, D, E, A, B, C); in blk_SHA1Block()
159 T_20_39(33, C, D, E, A, B); in blk_SHA1Block()
160 T_20_39(34, B, C, D, E, A); in blk_SHA1Block()
161 T_20_39(35, A, B, C, D, E); in blk_SHA1Block()
162 T_20_39(36, E, A, B, C, D); in blk_SHA1Block()
163 T_20_39(37, D, E, A, B, C); in blk_SHA1Block()
164 T_20_39(38, C, D, E, A, B); in blk_SHA1Block()
165 T_20_39(39, B, C, D, E, A); in blk_SHA1Block()
168 T_40_59(40, A, B, C, D, E); in blk_SHA1Block()
169 T_40_59(41, E, A, B, C, D); in blk_SHA1Block()
170 T_40_59(42, D, E, A, B, C); in blk_SHA1Block()
171 T_40_59(43, C, D, E, A, B); in blk_SHA1Block()
172 T_40_59(44, B, C, D, E, A); in blk_SHA1Block()
173 T_40_59(45, A, B, C, D, E); in blk_SHA1Block()
174 T_40_59(46, E, A, B, C, D); in blk_SHA1Block()
175 T_40_59(47, D, E, A, B, C); in blk_SHA1Block()
176 T_40_59(48, C, D, E, A, B); in blk_SHA1Block()
177 T_40_59(49, B, C, D, E, A); in blk_SHA1Block()
178 T_40_59(50, A, B, C, D, E); in blk_SHA1Block()
179 T_40_59(51, E, A, B, C, D); in blk_SHA1Block()
180 T_40_59(52, D, E, A, B, C); in blk_SHA1Block()
181 T_40_59(53, C, D, E, A, B); in blk_SHA1Block()
182 T_40_59(54, B, C, D, E, A); in blk_SHA1Block()
183 T_40_59(55, A, B, C, D, E); in blk_SHA1Block()
184 T_40_59(56, E, A, B, C, D); in blk_SHA1Block()
185 T_40_59(57, D, E, A, B, C); in blk_SHA1Block()
186 T_40_59(58, C, D, E, A, B); in blk_SHA1Block()
187 T_40_59(59, B, C, D, E, A); in blk_SHA1Block()
190 T_60_79(60, A, B, C, D, E); in blk_SHA1Block()
191 T_60_79(61, E, A, B, C, D); in blk_SHA1Block()
192 T_60_79(62, D, E, A, B, C); in blk_SHA1Block()
193 T_60_79(63, C, D, E, A, B); in blk_SHA1Block()
194 T_60_79(64, B, C, D, E, A); in blk_SHA1Block()
195 T_60_79(65, A, B, C, D, E); in blk_SHA1Block()
196 T_60_79(66, E, A, B, C, D); in blk_SHA1Block()
197 T_60_79(67, D, E, A, B, C); in blk_SHA1Block()
198 T_60_79(68, C, D, E, A, B); in blk_SHA1Block()
199 T_60_79(69, B, C, D, E, A); in blk_SHA1Block()
200 T_60_79(70, A, B, C, D, E); in blk_SHA1Block()
201 T_60_79(71, E, A, B, C, D); in blk_SHA1Block()
202 T_60_79(72, D, E, A, B, C); in blk_SHA1Block()
203 T_60_79(73, C, D, E, A, B); in blk_SHA1Block()
204 T_60_79(74, B, C, D, E, A); in blk_SHA1Block()
205 T_60_79(75, A, B, C, D, E); in blk_SHA1Block()
206 T_60_79(76, E, A, B, C, D); in blk_SHA1Block()
207 T_60_79(77, D, E, A, B, C); in blk_SHA1Block()
208 T_60_79(78, C, D, E, A, B); in blk_SHA1Block()
209 T_60_79(79, B, C, D, E, A); in blk_SHA1Block()
212 ctx->H[1] += B; in blk_SHA1Block()