Lines Matching refs:a

153 #define mp_init(a)                   ltc_mp.init(a)  argument
155 #define mp_init_size(a, b) ltc_mp.init_size(a, b) argument
157 #define mp_clear(a) ltc_mp.deinit(a) argument
160 #define mp_init_copy(a, b) ltc_mp.init_copy(a, b) argument
162 #define mp_neg(a, b) ltc_mp.neg(a, b) argument
163 #define mp_copy(a, b) ltc_mp.copy(a, b) argument
165 #define mp_set(a, b) ltc_mp.set_int(a, b) argument
166 #define mp_set_int(a, b) ltc_mp.set_int(a, b) argument
167 #define mp_get_int(a) ltc_mp.get_int(a) argument
168 #define mp_get_digit(a, n) ltc_mp.get_digit(a, n) argument
169 #define mp_get_digit_count(a) ltc_mp.get_digit_count(a) argument
170 #define mp_cmp(a, b) ltc_mp.compare(a, b) argument
171 #define mp_cmp_d(a, b) ltc_mp.compare_d(a, b) argument
172 #define mp_count_bits(a) ltc_mp.count_bits(a) argument
173 #define mp_cnt_lsb(a) ltc_mp.count_lsb_bits(a) argument
174 #define mp_2expt(a, b) ltc_mp.twoexpt(a, b) argument
176 #define mp_read_radix(a, b, c) ltc_mp.read_radix(a, b, c) argument
177 #define mp_toradix(a, b, c) ltc_mp.write_radix(a, b, c) argument
178 #define mp_unsigned_bin_size(a) ltc_mp.unsigned_size(a) argument
179 #define mp_to_unsigned_bin(a, b) ltc_mp.unsigned_write(a, b) argument
180 #define mp_read_unsigned_bin(a, b, c) ltc_mp.unsigned_read(a, b, c) argument
182 #define mp_add(a, b, c) ltc_mp.add(a, b, c) argument
183 #define mp_add_d(a, b, c) ltc_mp.addi(a, b, c) argument
184 #define mp_sub(a, b, c) ltc_mp.sub(a, b, c) argument
185 #define mp_sub_d(a, b, c) ltc_mp.subi(a, b, c) argument
186 #define mp_mul(a, b, c) ltc_mp.mul(a, b, c) argument
187 #define mp_mul_d(a, b, c) ltc_mp.muli(a, b, c) argument
188 #define mp_sqr(a, b) ltc_mp.sqr(a, b) argument
189 #define mp_sqrtmod_prime(a, b, c) ltc_mp.sqrtmod_prime(a, b, c) argument
190 #define mp_div(a, b, c, d) ltc_mp.mpdiv(a, b, c, d) argument
191 #define mp_div_2(a, b) ltc_mp.div_2(a, b) argument
192 #define mp_mod(a, b, c) ltc_mp.mpdiv(a, b, NULL, c) argument
193 #define mp_mod_d(a, b, c) ltc_mp.modi(a, b, c) argument
194 #define mp_gcd(a, b, c) ltc_mp.gcd(a, b, c) argument
195 #define mp_lcm(a, b, c) ltc_mp.lcm(a, b, c) argument
197 #define mp_addmod(a, b, c, d) ltc_mp.addmod(a, b, c, d) argument
198 #define mp_submod(a, b, c, d) ltc_mp.submod(a, b, c, d) argument
199 #define mp_mulmod(a, b, c, d) ltc_mp.mulmod(a, b, c, d) argument
200 #define mp_sqrmod(a, b, c) ltc_mp.sqrmod(a, b, c) argument
201 #define mp_invmod(a, b, c) ltc_mp.invmod(a, b, c) argument
203 #define mp_montgomery_setup(a, b) ltc_mp.montgomery_setup(a, b) argument
204 #define mp_montgomery_normalization(a, b) ltc_mp.montgomery_normalization(a, b) argument
205 #define mp_montgomery_reduce(a, b, c) ltc_mp.montgomery_reduce(a, b, c) argument
206 #define mp_montgomery_free(a) ltc_mp.montgomery_deinit(a) argument
208 #define mp_exptmod(a,b,c,d) ltc_mp.exptmod(a,b,c,d) argument
209 #define mp_prime_is_prime(a, b, c) ltc_mp.isprime(a, b, c) argument
211 #define mp_iszero(a) (mp_cmp_d(a, 0) == LTC_MP_EQ ? LTC_MP_YES : LTC_MP_NO) argument
212 #define mp_isodd(a) (mp_get_digit_count(a) > 0 ? (mp_get_digit(a, 0) & 1 ? LTC_MP_… argument
213 #define mp_exch(a, b) do { void *ABC__tmp = a; a = b; b = ABC__tmp; } while(0) argument
215 #define mp_tohex(a, b) mp_toradix(a, b, 16) argument
217 #define mp_rand(a, b) ltc_mp.rand(a, b) argument
255 int ecc_set_curve_from_mpis(void *a, void *b, void *prime, void *order, void *gx, void *gy, unsigne…
271 int ltc_ecc_import_point(const unsigned char *in, unsigned long inlen, void *prime, void *a,…
286 int ltc_ecc_fp_mulmod(void *k, ecc_point *G, ecc_point *R, void *a, void *modulus, int map);
299 int ltc_ecc_mulmod(void *k, const ecc_point *G, ecc_point *R, void *a, void *modulus, int map);