@@ -1241,14 +1241,14 @@ static int test_mp_reduce_2k(void)
12411241 return EXIT_FAILURE ;
12421242}
12431243
1244- static int test_mp_div_3 (void )
1244+ static int test_s_mp_div_3 (void )
12451245{
12461246 int cnt ;
12471247
12481248 mp_int a , b , c , d , e ;
12491249 DOR (mp_init_multi (& a , & b , & c , & d , & e , NULL ));
12501250
1251- /* test mp_div_3 */
1251+ /* test s_mp_div_3 */
12521252 mp_set (& d , 3u );
12531253 for (cnt = 0 ; cnt < 10000 ;) {
12541254 mp_digit r2 ;
@@ -1259,10 +1259,10 @@ static int test_mp_div_3(void)
12591259 }
12601260 DO (mp_rand (& a , (abs (rand_int ()) % 128 ) + 1 ));
12611261 DO (mp_div (& a , & d , & b , & e ));
1262- DO (mp_div_3 (& a , & c , & r2 ));
1262+ DO (s_mp_div_3 (& a , & c , & r2 ));
12631263
12641264 if (mp_cmp (& b , & c ) || mp_cmp_d (& e , r2 )) {
1265- printf ("\nmp_div_3 => Failure\n" );
1265+ printf ("\ns_mp_div_3 => Failure\n" );
12661266 goto LBL_ERR ;
12671267 }
12681268 }
@@ -2297,7 +2297,7 @@ static int unit_tests(int argc, char **argv)
22972297 T1 (mp_cnt_lsb , MP_CNT_LSB ),
22982298 T1 (mp_complement , MP_COMPLEMENT ),
22992299 T1 (mp_decr , MP_SUB_D ),
2300- T1 (mp_div_3 , MP_DIV_3 ),
2300+ T1 (s_mp_div_3 , S_MP_DIV_3 ),
23012301 T1 (mp_dr_reduce , MP_DR_REDUCE ),
23022302 T2 (mp_pack_unpack ,MP_PACK , MP_UNPACK ),
23032303 T2 (mp_fread_fwrite , MP_FREAD , MP_FWRITE ),
0 commit comments