Lines Matching refs:b
221 #define R(b,x) ((x) >> (b)) argument
223 #define S32(b,x) (((x) >> (b)) | ((x) << (32 - (b)))) argument
225 #define S64(b,x) (((x) >> (b)) | ((x) << (64 - (b)))) argument
385 #define ROUND256_0_TO_15(a,b,c,d,e,f,g,h) \ argument
390 (h) = T1 + Sigma0_256(a) + Maj((a), (b), (c)); \
396 #define ROUND256_0_TO_15(a,b,c,d,e,f,g,h) \ argument
400 (h) = T1 + Sigma0_256(a) + Maj((a), (b), (c)); \
405 #define ROUND256(a,b,c,d,e,f,g,h) \ argument
413 (h) = T1 + Sigma0_256(a) + Maj((a), (b), (c)); \
417 sha2_word32 a, b, c, d, e, f, g, h, s0, s1; in SHA256_Transform() local
425 b = context->state[1]; in SHA256_Transform()
436 ROUND256_0_TO_15(a,b,c,d,e,f,g,h); in SHA256_Transform()
437 ROUND256_0_TO_15(h,a,b,c,d,e,f,g); in SHA256_Transform()
438 ROUND256_0_TO_15(g,h,a,b,c,d,e,f); in SHA256_Transform()
439 ROUND256_0_TO_15(f,g,h,a,b,c,d,e); in SHA256_Transform()
440 ROUND256_0_TO_15(e,f,g,h,a,b,c,d); in SHA256_Transform()
441 ROUND256_0_TO_15(d,e,f,g,h,a,b,c); in SHA256_Transform()
442 ROUND256_0_TO_15(c,d,e,f,g,h,a,b); in SHA256_Transform()
443 ROUND256_0_TO_15(b,c,d,e,f,g,h,a); in SHA256_Transform()
448 ROUND256(a,b,c,d,e,f,g,h); in SHA256_Transform()
449 ROUND256(h,a,b,c,d,e,f,g); in SHA256_Transform()
450 ROUND256(g,h,a,b,c,d,e,f); in SHA256_Transform()
451 ROUND256(f,g,h,a,b,c,d,e); in SHA256_Transform()
452 ROUND256(e,f,g,h,a,b,c,d); in SHA256_Transform()
453 ROUND256(d,e,f,g,h,a,b,c); in SHA256_Transform()
454 ROUND256(c,d,e,f,g,h,a,b); in SHA256_Transform()
455 ROUND256(b,c,d,e,f,g,h,a); in SHA256_Transform()
460 context->state[1] += b; in SHA256_Transform()
469 a = b = c = d = e = f = g = h = T1 = 0; in SHA256_Transform()
475 sha2_word32 a, b, c, d, e, f, g, h, s0, s1; in SHA256_Transform() local
483 b = context->state[1]; in SHA256_Transform()
502 T2 = Sigma0_256(a) + Maj(a, b, c); in SHA256_Transform()
508 c = b; in SHA256_Transform()
509 b = a; in SHA256_Transform()
525 T2 = Sigma0_256(a) + Maj(a, b, c); in SHA256_Transform()
531 c = b; in SHA256_Transform()
532 b = a; in SHA256_Transform()
540 context->state[1] += b; in SHA256_Transform()
549 a = b = c = d = e = f = g = h = T1 = T2 = 0; in SHA256_Transform()
713 #define ROUND512_0_TO_15(a,b,c,d,e,f,g,h) \ argument
718 (h) = T1 + Sigma0_512(a) + Maj((a), (b), (c)), \
724 #define ROUND512_0_TO_15(a,b,c,d,e,f,g,h) \ argument
728 (h) = T1 + Sigma0_512(a) + Maj((a), (b), (c)); \
733 #define ROUND512(a,b,c,d,e,f,g,h) \ argument
741 (h) = T1 + Sigma0_512(a) + Maj((a), (b), (c)); \
745 sha2_word64 a, b, c, d, e, f, g, h, s0, s1; in SHA512_Transform() local
751 b = context->state[1]; in SHA512_Transform()
761 ROUND512_0_TO_15(a,b,c,d,e,f,g,h); in SHA512_Transform()
762 ROUND512_0_TO_15(h,a,b,c,d,e,f,g); in SHA512_Transform()
763 ROUND512_0_TO_15(g,h,a,b,c,d,e,f); in SHA512_Transform()
764 ROUND512_0_TO_15(f,g,h,a,b,c,d,e); in SHA512_Transform()
765 ROUND512_0_TO_15(e,f,g,h,a,b,c,d); in SHA512_Transform()
766 ROUND512_0_TO_15(d,e,f,g,h,a,b,c); in SHA512_Transform()
767 ROUND512_0_TO_15(c,d,e,f,g,h,a,b); in SHA512_Transform()
768 ROUND512_0_TO_15(b,c,d,e,f,g,h,a); in SHA512_Transform()
773 ROUND512(a,b,c,d,e,f,g,h); in SHA512_Transform()
774 ROUND512(h,a,b,c,d,e,f,g); in SHA512_Transform()
775 ROUND512(g,h,a,b,c,d,e,f); in SHA512_Transform()
776 ROUND512(f,g,h,a,b,c,d,e); in SHA512_Transform()
777 ROUND512(e,f,g,h,a,b,c,d); in SHA512_Transform()
778 ROUND512(d,e,f,g,h,a,b,c); in SHA512_Transform()
779 ROUND512(c,d,e,f,g,h,a,b); in SHA512_Transform()
780 ROUND512(b,c,d,e,f,g,h,a); in SHA512_Transform()
785 context->state[1] += b; in SHA512_Transform()
794 a = b = c = d = e = f = g = h = T1 = 0; in SHA512_Transform()
800 sha2_word64 a, b, c, d, e, f, g, h, s0, s1; in SHA512_Transform() local
806 b = context->state[1]; in SHA512_Transform()
825 T2 = Sigma0_512(a) + Maj(a, b, c); in SHA512_Transform()
831 c = b; in SHA512_Transform()
832 b = a; in SHA512_Transform()
848 T2 = Sigma0_512(a) + Maj(a, b, c); in SHA512_Transform()
854 c = b; in SHA512_Transform()
855 b = a; in SHA512_Transform()
863 context->state[1] += b; in SHA512_Transform()
872 a = b = c = d = e = f = g = h = T1 = T2 = 0; in SHA512_Transform()