Lines Matching refs:BN_NIST_192_TOP
13 #define BN_NIST_192_TOP (192+BN_BITS2-1)/BN_BITS2 macro
21 static const BN_ULONG _nist_p_192[][BN_NIST_192_TOP] = {
104 static const BN_ULONG _nist_p_192[][BN_NIST_192_TOP] = {
189 BN_NIST_192_TOP,
190 BN_NIST_192_TOP,
358 BN_ULONG bn[BN_NIST_192_TOP]; in BN_nist_mod_192()
359 unsigned int ui[BN_NIST_192_TOP * sizeof(BN_ULONG) / in BN_nist_mod_192()
362 BN_ULONG c_d[BN_NIST_192_TOP], *res; in BN_nist_mod_192()
383 if (!bn_wexpand(r, BN_NIST_192_TOP)) in BN_nist_mod_192()
386 nist_cp_bn(r_d, a_d, BN_NIST_192_TOP); in BN_nist_mod_192()
390 nist_cp_bn_0(buf.bn, a_d + BN_NIST_192_TOP, top - BN_NIST_192_TOP, in BN_nist_mod_192()
391 BN_NIST_192_TOP); in BN_nist_mod_192()
440 BN_ULONG t_d[BN_NIST_192_TOP]; 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()
445 carry += (int)bn_add_words(r_d, r_d, t_d, BN_NIST_192_TOP); 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()
453 BN_NIST_192_TOP); in BN_nist_mod_192()
463 res = (bn_sub_words(c_d, r_d, _nist_p_192[0], BN_NIST_192_TOP) && carry) in BN_nist_mod_192()
466 nist_cp_bn(r_d, res, BN_NIST_192_TOP); in BN_nist_mod_192()
467 r->top = BN_NIST_192_TOP; in BN_nist_mod_192()