Lines Matching refs:bn
358 BN_ULONG bn[BN_NIST_192_TOP]; in BN_nist_mod_192() member
390 nist_cp_bn_0(buf.bn, a_d + BN_NIST_192_TOP, top - BN_NIST_192_TOP, in BN_nist_mod_192()
442 nist_set_192(t_d, buf.bn, 0, 3, 3); in BN_nist_mod_192()
444 nist_set_192(t_d, buf.bn, 4, 4, 0); in BN_nist_mod_192()
446 nist_set_192(t_d, buf.bn, 5, 5, 5) in BN_nist_mod_192()
494 BN_ULONG bn[BN_NIST_224_TOP]; in BN_nist_mod_224() member
532 nist_set_224(buf.bn, c_d, 14, 13, 12, 11, 10, 9, 8); in BN_nist_mod_224()
536 nist_cp_bn_0(buf.bn, a_d + BN_NIST_224_TOP, top - BN_NIST_224_TOP, in BN_nist_mod_224()
599 nist_set_224(t_d, buf.bn, 10, 9, 8, 7, 0, 0, 0); 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()
603 nist_set_224(t_d, buf.bn, 13, 12, 11, 10, 9, 8, 7); 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()
666 BN_ULONG bn[BN_NIST_256_TOP]; in BN_nist_mod_256() member
699 nist_cp_bn_0(buf.bn, a_d + BN_NIST_256_TOP, top - BN_NIST_256_TOP, in BN_nist_mod_256()
803 nist_set_256(t_d, buf.bn, 15, 14, 13, 12, 11, 0, 0, 0); in BN_nist_mod_256()
807 nist_set_256(c_d, buf.bn, 0, 15, 14, 13, 12, 0, 0, 0); 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()
831 nist_set_256(t_d, buf.bn, 8, 13, 15, 14, 13, 11, 10, 9); 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()
841 nist_set_256(t_d, buf.bn, 11, 9, 0, 0, 15, 14, 13, 12); 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()
851 nist_set_256(t_d, buf.bn, 13, 0, 11, 10, 9, 0, 15, 14); in BN_nist_mod_256()
903 BN_ULONG bn[BN_NIST_384_TOP]; in BN_nist_mod_384() member
936 nist_cp_bn_0(buf.bn, a_d + BN_NIST_384_TOP, top - BN_NIST_384_TOP, in BN_nist_mod_384()
1067 nist_set_256(t_d, buf.bn, 0, 0, 0, 0, 0, 23 - 4, 22 - 4, 21 - 4); 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()
1090 nist_set_384(t_d, buf.bn, 20, 19, 18, 17, 16, 15, 14, 13, 12, 23, 22, 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()
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()
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()
1112 nist_set_384(t_d, buf.bn, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 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()
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()