Lines Matching refs:t_d

440         BN_ULONG t_d[BN_NIST_192_TOP];  in BN_nist_mod_192()  local
442 nist_set_192(t_d, buf.bn, 0, 3, 3); in BN_nist_mod_192()
443 carry = (int)bn_add_words(r_d, r_d, t_d, BN_NIST_192_TOP); in BN_nist_mod_192()
444 nist_set_192(t_d, buf.bn, 4, 4, 0); in BN_nist_mod_192()
445 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_192_TOP); in BN_nist_mod_192()
446 nist_set_192(t_d, buf.bn, 5, 5, 5) in BN_nist_mod_192()
447 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_192_TOP); in BN_nist_mod_192()
597 BN_ULONG t_d[BN_NIST_224_TOP]; in BN_nist_mod_224() local
599 nist_set_224(t_d, buf.bn, 10, 9, 8, 7, 0, 0, 0); in BN_nist_mod_224()
600 carry = (int)bn_add_words(r_d, r_d, t_d, BN_NIST_224_TOP); in BN_nist_mod_224()
601 nist_set_224(t_d, buf.bn, 0, 13, 12, 11, 0, 0, 0); in BN_nist_mod_224()
602 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_224_TOP); in BN_nist_mod_224()
603 nist_set_224(t_d, buf.bn, 13, 12, 11, 10, 9, 8, 7); in BN_nist_mod_224()
604 carry -= (int)bn_sub_words(r_d, r_d, t_d, BN_NIST_224_TOP); in BN_nist_mod_224()
605 nist_set_224(t_d, buf.bn, 0, 0, 0, 0, 13, 12, 11); in BN_nist_mod_224()
606 carry -= (int)bn_sub_words(r_d, r_d, t_d, BN_NIST_224_TOP); in BN_nist_mod_224()
798 BN_ULONG t_d[BN_NIST_256_TOP]; in BN_nist_mod_256() local
803 nist_set_256(t_d, buf.bn, 15, 14, 13, 12, 11, 0, 0, 0); in BN_nist_mod_256()
808 carry = (int)bn_add_words(t_d, t_d, c_d, BN_NIST_256_TOP); in BN_nist_mod_256()
812 ap = t_d; in BN_nist_mod_256()
822 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_256_TOP); in BN_nist_mod_256()
826 nist_set_256(t_d, buf.bn, 15, 14, 0, 0, 0, 10, 9, 8); in BN_nist_mod_256()
827 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_256_TOP); in BN_nist_mod_256()
831 nist_set_256(t_d, buf.bn, 8, 13, 15, 14, 13, 11, 10, 9); in BN_nist_mod_256()
832 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_256_TOP); in BN_nist_mod_256()
836 nist_set_256(t_d, buf.bn, 10, 8, 0, 0, 0, 13, 12, 11); in BN_nist_mod_256()
837 carry -= (int)bn_sub_words(r_d, r_d, t_d, BN_NIST_256_TOP); in BN_nist_mod_256()
841 nist_set_256(t_d, buf.bn, 11, 9, 0, 0, 15, 14, 13, 12); in BN_nist_mod_256()
842 carry -= (int)bn_sub_words(r_d, r_d, t_d, BN_NIST_256_TOP); in BN_nist_mod_256()
846 nist_set_256(t_d, buf.bn, 12, 0, 10, 9, 8, 15, 14, 13); in BN_nist_mod_256()
847 carry -= (int)bn_sub_words(r_d, r_d, t_d, BN_NIST_256_TOP); in BN_nist_mod_256()
851 nist_set_256(t_d, buf.bn, 13, 0, 11, 10, 9, 0, 15, 14); in BN_nist_mod_256()
852 carry -= (int)bn_sub_words(r_d, r_d, t_d, BN_NIST_256_TOP); in BN_nist_mod_256()
1062 BN_ULONG t_d[BN_NIST_384_TOP]; in BN_nist_mod_384() local
1067 nist_set_256(t_d, buf.bn, 0, 0, 0, 0, 0, 23 - 4, 22 - 4, 21 - 4); in BN_nist_mod_384()
1071 ap = t_d; in BN_nist_mod_384()
1082 t_d, BN_NIST_256_TOP); in BN_nist_mod_384()
1090 nist_set_384(t_d, buf.bn, 20, 19, 18, 17, 16, 15, 14, 13, 12, 23, 22, in BN_nist_mod_384()
1092 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_384_TOP); in BN_nist_mod_384()
1096 nist_set_384(t_d, buf.bn, 19, 18, 17, 16, 15, 14, 13, 12, 20, 0, 23, in BN_nist_mod_384()
1098 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_384_TOP); in BN_nist_mod_384()
1102 nist_set_384(t_d, buf.bn, 0, 0, 0, 0, 23, 22, 21, 20, 0, 0, 0, 0); in BN_nist_mod_384()
1103 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_384_TOP); in BN_nist_mod_384()
1107 nist_set_384(t_d, buf.bn, 0, 0, 0, 0, 0, 0, 23, 22, 21, 0, 0, 20); in BN_nist_mod_384()
1108 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_384_TOP); in BN_nist_mod_384()
1112 nist_set_384(t_d, buf.bn, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, in BN_nist_mod_384()
1114 carry -= (int)bn_sub_words(r_d, r_d, t_d, BN_NIST_384_TOP); in BN_nist_mod_384()
1118 nist_set_384(t_d, buf.bn, 0, 0, 0, 0, 0, 0, 0, 23, 22, 21, 20, 0); in BN_nist_mod_384()
1119 carry -= (int)bn_sub_words(r_d, r_d, t_d, BN_NIST_384_TOP); in BN_nist_mod_384()
1123 nist_set_384(t_d, buf.bn, 0, 0, 0, 0, 0, 0, 0, 23, 23, 0, 0, 0); in BN_nist_mod_384()
1124 carry -= (int)bn_sub_words(r_d, r_d, t_d, BN_NIST_384_TOP); in BN_nist_mod_384()
1160 BN_ULONG *r_d, *a_d = a->d, t_d[BN_NIST_521_TOP], val, tmp, *res; in BN_nist_mod_521() local
1189 nist_cp_bn_0(t_d, a_d + (BN_NIST_521_TOP - 1), in BN_nist_mod_521()
1192 for (val = t_d[0], i = 0; i < BN_NIST_521_TOP - 1; i++) { in BN_nist_mod_521()
1200 val = t_d[i + 1]; in BN_nist_mod_521()
1201 t_d[i] = (tmp | val << BN_NIST_521_LSHIFT) & BN_MASK2; in BN_nist_mod_521()
1203 t_d[i] = (val >> BN_NIST_521_RSHIFT | in BN_nist_mod_521()
1204 (tmp = t_d[i + 1]) << BN_NIST_521_LSHIFT) & BN_MASK2; in BN_nist_mod_521()
1208 t_d[i] = val >> BN_NIST_521_RSHIFT; in BN_nist_mod_521()
1212 bn_add_words(r_d, r_d, t_d, BN_NIST_521_TOP); in BN_nist_mod_521()
1213 res = bn_sub_words(t_d, r_d, _nist_p_521, in BN_nist_mod_521()
1216 : t_d; in BN_nist_mod_521()