Lines Matching defs:ndigits

69 static u64 *ecc_alloc_digits_space(unsigned int ndigits)  in ecc_alloc_digits_space()
84 static struct ecc_point *ecc_alloc_point(unsigned int ndigits) in ecc_alloc_point()
120 static void vli_clear(u64 *vli, unsigned int ndigits) in vli_clear()
129 bool vli_is_zero(const u64 *vli, unsigned int ndigits) in vli_is_zero()
148 static bool vli_is_negative(const u64 *vli, unsigned int ndigits) in vli_is_negative()
154 static unsigned int vli_num_digits(const u64 *vli, unsigned int ndigits) in vli_num_digits()
168 static unsigned int vli_num_bits(const u64 *vli, unsigned int ndigits) in vli_num_bits()
185 void vli_from_be64(u64 *dest, const void *src, unsigned int ndigits) in vli_from_be64()
195 void vli_from_le64(u64 *dest, const void *src, unsigned int ndigits) in vli_from_le64()
206 static void vli_set(u64 *dest, const u64 *src, unsigned int ndigits) in vli_set()
215 int vli_cmp(const u64 *left, const u64 *right, unsigned int ndigits) in vli_cmp()
234 unsigned int ndigits) in vli_lshift()
250 static void vli_rshift1(u64 *vli, unsigned int ndigits) in vli_rshift1()
266 unsigned int ndigits) in vli_add()
286 unsigned int ndigits) in vli_uadd()
308 unsigned int ndigits) in vli_sub()
329 unsigned int ndigits) in vli_usub()
389 unsigned int ndigits) in vli_mult()
426 unsigned int ndigits) in vli_umult()
446 static void vli_square(u64 *result, const u64 *left, unsigned int ndigits) in vli_square()
489 const u64 *mod, unsigned int ndigits) in vli_mod_add()
506 const u64 *mod, unsigned int ndigits) in vli_mod_sub()
528 const u64 *mod, unsigned int ndigits) in vli_mmod_special()
562 const u64 *mod, unsigned int ndigits) in vli_mmod_special2()
611 unsigned int ndigits) in vli_mmod_slow()
661 unsigned int ndigits) in vli_mmod_barrett()
689 const unsigned int ndigits = 3; in vli_mmod_fast_192() local
717 const unsigned int ndigits = 4; in vli_mmod_fast_256() local
800 const unsigned int ndigits = 6; in vli_mmod_fast_384() local
912 const unsigned int ndigits = curve->g.ndigits; in vli_mmod_fast() local
953 const u64 *mod, unsigned int ndigits) in vli_mod_mult_slow()
988 unsigned int ndigits) in vli_mod_inv()
1083 const unsigned int ndigits = curve->g.ndigits; in ecc_point_double_jacobian() local
1156 const unsigned int ndigits = curve->g.ndigits; in xycz_initial_double() local
1184 const unsigned int ndigits = curve->g.ndigits; in xycz_add() local
1229 const unsigned int ndigits = curve->g.ndigits; in xycz_add_c() local
1279 unsigned int ndigits) in ecc_point_mult()
1343 unsigned int ndigits = curve->g.ndigits; in ecc_point_add() local
1367 unsigned int ndigits = curve->g.ndigits; in ecc_point_mult_shamir() local
1414 const u64 *private_key, unsigned int ndigits) in __ecc_is_key_valid()
1436 int ecc_is_key_valid(unsigned int curve_id, unsigned int ndigits, in ecc_is_key_valid()
1463 int ecc_gen_privkey(unsigned int curve_id, unsigned int ndigits, u64 *privkey) in ecc_gen_privkey()
1504 int ecc_make_pub_key(unsigned int curve_id, unsigned int ndigits, in ecc_make_pub_key()
1603 int crypto_ecdh_shared_secret(unsigned int curve_id, unsigned int ndigits, in crypto_ecdh_shared_secret()