Lines Matching refs:g
215 unsigned MD32_REG_T a, b, c, d, e, f, g, h, s0, s1, T1, T2; in sha256_block_data_order() local
228 g = ctx->h[6]; in sha256_block_data_order()
234 T1 += h + Sigma1(e) + Ch(e, f, g) + K256[i]; in sha256_block_data_order()
236 h = g; in sha256_block_data_order()
237 g = f; in sha256_block_data_order()
253 T1 += h + Sigma1(e) + Ch(e, f, g) + K256[i]; in sha256_block_data_order()
255 h = g; in sha256_block_data_order()
256 g = f; in sha256_block_data_order()
271 ctx->h[6] += g; in sha256_block_data_order()
279 # define ROUND_00_15(i,a,b,c,d,e,f,g,h) do { \ argument
280 T1 += h + Sigma1(e) + Ch(e,f,g) + K256[i]; \
284 # define ROUND_16_63(i,a,b,c,d,e,f,g,h,X) do { \ argument
288 ROUND_00_15(i,a,b,c,d,e,f,g,h); } while (0)
297 unsigned MD32_REG_T a, b, c, d, e, f, g, h, s0, s1, T1; in sha256_block_data_order_c() local
311 g = ctx->h[6]; in sha256_block_data_order_c()
319 ROUND_00_15(0, a, b, c, d, e, f, g, h); in sha256_block_data_order_c()
321 ROUND_00_15(1, h, a, b, c, d, e, f, g); in sha256_block_data_order_c()
323 ROUND_00_15(2, g, h, a, b, c, d, e, f); in sha256_block_data_order_c()
325 ROUND_00_15(3, f, g, h, a, b, c, d, e); in sha256_block_data_order_c()
327 ROUND_00_15(4, e, f, g, h, a, b, c, d); in sha256_block_data_order_c()
329 ROUND_00_15(5, d, e, f, g, h, a, b, c); in sha256_block_data_order_c()
331 ROUND_00_15(6, c, d, e, f, g, h, a, b); in sha256_block_data_order_c()
333 ROUND_00_15(7, b, c, d, e, f, g, h, a); in sha256_block_data_order_c()
335 ROUND_00_15(8, a, b, c, d, e, f, g, h); in sha256_block_data_order_c()
337 ROUND_00_15(9, h, a, b, c, d, e, f, g); in sha256_block_data_order_c()
339 ROUND_00_15(10, g, h, a, b, c, d, e, f); in sha256_block_data_order_c()
341 ROUND_00_15(11, f, g, h, a, b, c, d, e); in sha256_block_data_order_c()
343 ROUND_00_15(12, e, f, g, h, a, b, c, d); in sha256_block_data_order_c()
345 ROUND_00_15(13, d, e, f, g, h, a, b, c); in sha256_block_data_order_c()
347 ROUND_00_15(14, c, d, e, f, g, h, a, b); in sha256_block_data_order_c()
349 ROUND_00_15(15, b, c, d, e, f, g, h, a); in sha256_block_data_order_c()
357 ROUND_00_15(0, a, b, c, d, e, f, g, h); in sha256_block_data_order_c()
360 ROUND_00_15(1, h, a, b, c, d, e, f, g); in sha256_block_data_order_c()
363 ROUND_00_15(2, g, h, a, b, c, d, e, f); in sha256_block_data_order_c()
366 ROUND_00_15(3, f, g, h, a, b, c, d, e); in sha256_block_data_order_c()
369 ROUND_00_15(4, e, f, g, h, a, b, c, d); in sha256_block_data_order_c()
372 ROUND_00_15(5, d, e, f, g, h, a, b, c); in sha256_block_data_order_c()
375 ROUND_00_15(6, c, d, e, f, g, h, a, b); in sha256_block_data_order_c()
378 ROUND_00_15(7, b, c, d, e, f, g, h, a); in sha256_block_data_order_c()
381 ROUND_00_15(8, a, b, c, d, e, f, g, h); in sha256_block_data_order_c()
384 ROUND_00_15(9, h, a, b, c, d, e, f, g); in sha256_block_data_order_c()
387 ROUND_00_15(10, g, h, a, b, c, d, e, f); in sha256_block_data_order_c()
390 ROUND_00_15(11, f, g, h, a, b, c, d, e); in sha256_block_data_order_c()
393 ROUND_00_15(12, e, f, g, h, a, b, c, d); in sha256_block_data_order_c()
396 ROUND_00_15(13, d, e, f, g, h, a, b, c); in sha256_block_data_order_c()
399 ROUND_00_15(14, c, d, e, f, g, h, a, b); in sha256_block_data_order_c()
402 ROUND_00_15(15, b, c, d, e, f, g, h, a); in sha256_block_data_order_c()
406 ROUND_16_63(i + 0, a, b, c, d, e, f, g, h, X); in sha256_block_data_order_c()
407 ROUND_16_63(i + 1, h, a, b, c, d, e, f, g, X); in sha256_block_data_order_c()
408 ROUND_16_63(i + 2, g, h, a, b, c, d, e, f, X); in sha256_block_data_order_c()
409 ROUND_16_63(i + 3, f, g, h, a, b, c, d, e, X); in sha256_block_data_order_c()
410 ROUND_16_63(i + 4, e, f, g, h, a, b, c, d, X); in sha256_block_data_order_c()
411 ROUND_16_63(i + 5, d, e, f, g, h, a, b, c, X); in sha256_block_data_order_c()
412 ROUND_16_63(i + 6, c, d, e, f, g, h, a, b, X); in sha256_block_data_order_c()
413 ROUND_16_63(i + 7, b, c, d, e, f, g, h, a, X); in sha256_block_data_order_c()
422 ctx->h[6] += g; in sha256_block_data_order_c()