Lines Matching refs:BN_NIST_384_TOP

16 #define BN_NIST_384_TOP (384+BN_BITS2-1)/BN_BITS2  macro
67 static const BN_ULONG _nist_p_384[][BN_NIST_384_TOP] = {
149 static const BN_ULONG _nist_p_384[][BN_NIST_384_TOP] = {
213 BN_NIST_384_TOP,
214 BN_NIST_384_TOP,
903 BN_ULONG bn[BN_NIST_384_TOP]; in BN_nist_mod_384()
904 unsigned int ui[BN_NIST_384_TOP * sizeof(BN_ULONG) / in BN_nist_mod_384()
907 BN_ULONG c_d[BN_NIST_384_TOP], *res; in BN_nist_mod_384()
929 if (!bn_wexpand(r, BN_NIST_384_TOP)) in BN_nist_mod_384()
932 nist_cp_bn(r_d, a_d, BN_NIST_384_TOP); in BN_nist_mod_384()
936 nist_cp_bn_0(buf.bn, a_d + BN_NIST_384_TOP, top - BN_NIST_384_TOP, in BN_nist_mod_384()
937 BN_NIST_384_TOP); in BN_nist_mod_384()
1062 BN_ULONG t_d[BN_NIST_384_TOP]; in BN_nist_mod_384()
1086 carry += (int)bn_add_words(r_d, r_d, buf.bn, BN_NIST_384_TOP); 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()
1098 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_384_TOP); 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()
1108 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_384_TOP); 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()
1119 carry -= (int)bn_sub_words(r_d, r_d, t_d, BN_NIST_384_TOP); 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()
1133 BN_NIST_384_TOP); in BN_nist_mod_384()
1137 BN_NIST_384_TOP); in BN_nist_mod_384()
1142 res = ((*adjust) (c_d, r_d, _nist_p_384[0], BN_NIST_384_TOP) && carry) in BN_nist_mod_384()
1145 nist_cp_bn(r_d, res, BN_NIST_384_TOP); in BN_nist_mod_384()
1146 r->top = BN_NIST_384_TOP; in BN_nist_mod_384()