Lines Matching defs:a

125 #define mp_iszero(a) (((a)->used == 0) ? MP_YES : MP_NO)  argument
126 #define mp_iseven(a) (((a)->used > 0 && (((a)->dp[0] & 1) == 0)) ? MP_YES : MP_NO) argument
127 #define mp_isodd(a) (((a)->used > 0 && (((a)->dp[0] & 1) == 1)) ? MP_YES : MP_NO) argument
131 #define s_mp_mul(a, b, c) s_mp_mul_digs(a, b, c, (a)->used + (b)->used + 1) argument
212 static int s_mp_add (mp_int * a, mp_int * b, mp_int * c) in s_mp_add()
300 static int s_mp_sub (mp_int * a, mp_int * b, mp_int * c) in s_mp_sub()
367 static int mp_init (mp_int * a) in mp_init()
393 static void mp_clear (mp_int * a) in mp_clear()
416 static int mp_add (mp_int * a, mp_int * b, mp_int * c) in mp_add()
448 static int mp_sub (mp_int * a, mp_int * b, mp_int * c) in mp_sub()
485 static int mp_mul (mp_int * a, mp_int * b, mp_int * c) in mp_mul()
532 static int mp_mulmod (mp_int * a, mp_int * b, mp_int * c, mp_int * d) in mp_mulmod()
552 static int mp_mod (mp_int * a, mp_int * b, mp_int * c) in mp_mod()
678 static int mp_cmp (mp_int * a, mp_int * b) in mp_cmp()
700 static int mp_cmp_d(mp_int * a, mp_digit b) in mp_cmp_d()
725 static int mp_invmod (mp_int * a, mp_int * b, mp_int * c) in mp_invmod()
754 static int mp_unsigned_bin_size (mp_int * a) in mp_unsigned_bin_size()
763 static int mp_invmod_slow (mp_int * a, mp_int * b, mp_int * c) in mp_invmod_slow()
919 static int mp_cmp_mag (mp_int * a, mp_int * b) in mp_cmp_mag()
954 static int mp_read_unsigned_bin (mp_int * a, const unsigned char *b, int c) in mp_read_unsigned_bin()
989 static int mp_to_unsigned_bin (mp_int * a, unsigned char *b) in mp_to_unsigned_bin()
1017 static int mp_div_2d (mp_int * a, int b, mp_int * c, mp_int * d) in mp_div_2d()
1093 static int mp_init_copy (mp_int * a, mp_int * b) in mp_init_copy()
1105 static void mp_zero (mp_int * a) in mp_zero()
1121 static int mp_copy (mp_int * a, mp_int * b) in mp_copy()
1168 static void mp_rshd (mp_int * a, int b) in mp_rshd()
1222 static void mp_exch (mp_int * a, mp_int * b) in mp_exch()
1239 static void mp_clamp (mp_int * a) in mp_clamp()
1256 static int mp_grow (mp_int * a, int size) in mp_grow()
1297 static int mp_abs (mp_int * a, mp_int * b) in mp_abs()
1317 static void mp_set (mp_int * a, mp_digit b) in mp_set()
1327 static int mp_div_2(mp_int * a, mp_int * b) in mp_div_2()
1376 static int mp_mul_2d (mp_int * a, int b, mp_int * c) in mp_mul_2d()
1494 static int mp_lshd (mp_int * a, int b) in mp_lshd()
1541 static int mp_count_bits (mp_int * a) in mp_count_bits()
1565 static int mp_mod_2d (mp_int * a, int b, mp_int * c) in mp_mod_2d()
1601 static int mp_div(mp_int * a, mp_int * b, mp_int * c, mp_int * d) in mp_div()
1683 static int mp_div (mp_int * a, mp_int * b, mp_int * c, mp_int * d) in mp_div()
2103 static int mp_sqr (mp_int * a, mp_int * b) in mp_sqr()
2144 static int mp_reduce_2k_l(mp_int *a, mp_int *n, mp_int *d) in mp_reduce_2k_l()
2182 static int mp_reduce_2k_setup_l(mp_int *a, mp_int *d) in mp_reduce_2k_setup_l()
2210 static int mp_2expt (mp_int * a, int b) in mp_2expt()
2235 static int mp_reduce_setup (mp_int * a, mp_int * b) in mp_reduce_setup()
2333 static int s_mp_mul_digs (mp_int * a, mp_int * b, mp_int * c, int digs) in s_mp_mul_digs()
2418 static int fast_s_mp_mul_digs (mp_int * a, mp_int * b, mp_int * c, int digs) in fast_s_mp_mul_digs()
2492 static int mp_init_size (mp_int * a, int size) in mp_init_size()
2520 static int s_mp_sqr (mp_int * a, mp_int * b) in s_mp_sqr()
2586 static int s_mp_mul_high_digs (mp_int * a, mp_int * b, mp_int * c, int digs) in s_mp_mul_high_digs()
2840 static int mp_mul_2(mp_int * a, mp_int * b) in mp_mul_2()
2909 static int mp_montgomery_calc_normalization (mp_int * a, mp_int * b) in mp_montgomery_calc_normalization()
3250 static int fast_s_mp_sqr (mp_int * a, mp_int * b) in fast_s_mp_sqr()
3338 mp_mul_d (mp_int * a, mp_digit b, mp_int * c) in mp_mul_d()