Lines Matching defs:ndigits

58 static u64 *ecc_alloc_digits_space(unsigned int ndigits)  in ecc_alloc_digits_space()
73 static struct ecc_point *ecc_alloc_point(unsigned int ndigits) in ecc_alloc_point()
109 static void vli_clear(u64 *vli, unsigned int ndigits) in vli_clear()
118 bool vli_is_zero(const u64 *vli, unsigned int ndigits) in vli_is_zero()
137 static bool vli_is_negative(const u64 *vli, unsigned int ndigits) in vli_is_negative()
143 static unsigned int vli_num_digits(const u64 *vli, unsigned int ndigits) in vli_num_digits()
157 static unsigned int vli_num_bits(const u64 *vli, unsigned int ndigits) in vli_num_bits()
174 void vli_from_be64(u64 *dest, const void *src, unsigned int ndigits) in vli_from_be64()
184 void vli_from_le64(u64 *dest, const void *src, unsigned int ndigits) in vli_from_le64()
195 static void vli_set(u64 *dest, const u64 *src, unsigned int ndigits) in vli_set()
204 int vli_cmp(const u64 *left, const u64 *right, unsigned int ndigits) in vli_cmp()
223 unsigned int ndigits) in vli_lshift()
239 static void vli_rshift1(u64 *vli, unsigned int ndigits) in vli_rshift1()
255 unsigned int ndigits) in vli_add()
275 unsigned int ndigits) in vli_uadd()
297 unsigned int ndigits) in vli_sub()
318 unsigned int ndigits) in vli_usub()
378 unsigned int ndigits) in vli_mult()
415 unsigned int ndigits) in vli_umult()
435 static void vli_square(u64 *result, const u64 *left, unsigned int ndigits) in vli_square()
478 const u64 *mod, unsigned int ndigits) in vli_mod_add()
495 const u64 *mod, unsigned int ndigits) in vli_mod_sub()
517 const u64 *mod, unsigned int ndigits) in vli_mmod_special()
551 const u64 *mod, unsigned int ndigits) in vli_mmod_special2()
600 unsigned int ndigits) in vli_mmod_slow()
650 unsigned int ndigits) in vli_mmod_barrett()
678 const unsigned int ndigits = 3; in vli_mmod_fast_192() local
706 const unsigned int ndigits = 4; in vli_mmod_fast_256() local
784 const u64 *curve_prime, unsigned int ndigits) in vli_mmod_fast()
824 const u64 *mod, unsigned int ndigits) in vli_mod_mult_slow()
835 const u64 *curve_prime, unsigned int ndigits) in vli_mod_mult_fast()
845 const u64 *curve_prime, unsigned int ndigits) in vli_mod_square_fast()
859 unsigned int ndigits) in vli_mod_inv()
948 u64 *curve_prime, unsigned int ndigits) in ecc_point_double_jacobian()
1011 unsigned int ndigits) in apply_z()
1024 unsigned int ndigits) in xycz_initial_double()
1049 unsigned int ndigits) in xycz_add()
1090 unsigned int ndigits) in xycz_add_c()
1145 unsigned int ndigits) in ecc_point_mult()
1213 unsigned int ndigits = curve->g.ndigits; in ecc_point_add() local
1237 unsigned int ndigits = curve->g.ndigits; in ecc_point_mult_shamir() local
1285 unsigned int ndigits) in ecc_swap_digits()
1295 const u64 *private_key, unsigned int ndigits) in __ecc_is_key_valid()
1317 int ecc_is_key_valid(unsigned int curve_id, unsigned int ndigits, in ecc_is_key_valid()
1344 int ecc_gen_privkey(unsigned int curve_id, unsigned int ndigits, u64 *privkey) in ecc_gen_privkey()
1385 int ecc_make_pub_key(unsigned int curve_id, unsigned int ndigits, in ecc_make_pub_key()
1484 int crypto_ecdh_shared_secret(unsigned int curve_id, unsigned int ndigits, in crypto_ecdh_shared_secret()