Lines Matching defs:ndigits
55 static u64 *ecc_alloc_digits_space(unsigned int ndigits) in ecc_alloc_digits_space()
70 static struct ecc_point *ecc_alloc_point(unsigned int ndigits) in ecc_alloc_point()
106 static void vli_clear(u64 *vli, unsigned int ndigits) in vli_clear()
115 static bool vli_is_zero(const u64 *vli, unsigned int ndigits) in vli_is_zero()
134 static unsigned int vli_num_digits(const u64 *vli, unsigned int ndigits) in vli_num_digits()
148 static unsigned int vli_num_bits(const u64 *vli, unsigned int ndigits) in vli_num_bits()
165 static void vli_set(u64 *dest, const u64 *src, unsigned int ndigits) in vli_set()
174 static int vli_cmp(const u64 *left, const u64 *right, unsigned int ndigits) in vli_cmp()
192 unsigned int ndigits) in vli_lshift()
208 static void vli_rshift1(u64 *vli, unsigned int ndigits) in vli_rshift1()
224 unsigned int ndigits) in vli_add()
244 unsigned int ndigits) in vli_sub()
298 unsigned int ndigits) in vli_mult()
333 static void vli_square(u64 *result, const u64 *left, unsigned int ndigits) in vli_square()
376 const u64 *mod, unsigned int ndigits) in vli_mod_add()
393 const u64 *mod, unsigned int ndigits) in vli_mod_sub()
412 const unsigned int ndigits = 3; in vli_mmod_fast_192() local
440 const unsigned int ndigits = 4; in vli_mmod_fast_256() local
516 const u64 *curve_prime, unsigned int ndigits) in vli_mmod_fast()
537 const u64 *curve_prime, unsigned int ndigits) in vli_mod_mult_fast()
547 const u64 *curve_prime, unsigned int ndigits) in vli_mod_square_fast()
561 unsigned int ndigits) in vli_mod_inv()
649 u64 *curve_prime, unsigned int ndigits) in ecc_point_double_jacobian()
712 unsigned int ndigits) in apply_z()
725 unsigned int ndigits) in xycz_initial_double()
750 unsigned int ndigits) in xycz_add()
791 unsigned int ndigits) in xycz_add_c()
846 unsigned int ndigits) in ecc_point_mult()
899 unsigned int ndigits) in ecc_swap_digits()
907 int ecc_is_key_valid(unsigned int curve_id, unsigned int ndigits, in ecc_is_key_valid()
943 int ecc_gen_privkey(unsigned int curve_id, unsigned int ndigits, u64 *privkey) in ecc_gen_privkey()
986 int ecc_make_pub_key(unsigned int curve_id, unsigned int ndigits, in ecc_make_pub_key()
1052 int crypto_ecdh_shared_secret(unsigned int curve_id, unsigned int ndigits, in crypto_ecdh_shared_secret()