• Home
  • Raw
  • Download

Lines Matching defs:ndigits

61 static u64 *ecc_alloc_digits_space(unsigned int ndigits)  in ecc_alloc_digits_space()
76 static struct ecc_point *ecc_alloc_point(unsigned int ndigits) in ecc_alloc_point()
112 static void vli_clear(u64 *vli, unsigned int ndigits) in vli_clear()
121 bool vli_is_zero(const u64 *vli, unsigned int ndigits) in vli_is_zero()
140 static bool vli_is_negative(const u64 *vli, unsigned int ndigits) in vli_is_negative()
146 static unsigned int vli_num_digits(const u64 *vli, unsigned int ndigits) in vli_num_digits()
160 static unsigned int vli_num_bits(const u64 *vli, unsigned int ndigits) in vli_num_bits()
177 void vli_from_be64(u64 *dest, const void *src, unsigned int ndigits) in vli_from_be64()
187 void vli_from_le64(u64 *dest, const void *src, unsigned int ndigits) in vli_from_le64()
198 static void vli_set(u64 *dest, const u64 *src, unsigned int ndigits) in vli_set()
207 int vli_cmp(const u64 *left, const u64 *right, unsigned int ndigits) in vli_cmp()
226 unsigned int ndigits) in vli_lshift()
242 static void vli_rshift1(u64 *vli, unsigned int ndigits) in vli_rshift1()
258 unsigned int ndigits) in vli_add()
278 unsigned int ndigits) in vli_uadd()
300 unsigned int ndigits) in vli_sub()
321 unsigned int ndigits) in vli_usub()
381 unsigned int ndigits) in vli_mult()
418 unsigned int ndigits) in vli_umult()
438 static void vli_square(u64 *result, const u64 *left, unsigned int ndigits) in vli_square()
481 const u64 *mod, unsigned int ndigits) in vli_mod_add()
498 const u64 *mod, unsigned int ndigits) in vli_mod_sub()
520 const u64 *mod, unsigned int ndigits) in vli_mmod_special()
554 const u64 *mod, unsigned int ndigits) in vli_mmod_special2()
603 unsigned int ndigits) in vli_mmod_slow()
653 unsigned int ndigits) in vli_mmod_barrett()
681 const unsigned int ndigits = 3; in vli_mmod_fast_192() local
709 const unsigned int ndigits = 4; in vli_mmod_fast_256() local
792 const unsigned int ndigits = 6; in vli_mmod_fast_384() local
904 const unsigned int ndigits = curve->g.ndigits; in vli_mmod_fast() local
945 const u64 *mod, unsigned int ndigits) in vli_mod_mult_slow()
980 unsigned int ndigits) in vli_mod_inv()
1075 const unsigned int ndigits = curve->g.ndigits; in ecc_point_double_jacobian() local
1148 const unsigned int ndigits = curve->g.ndigits; in xycz_initial_double() local
1176 const unsigned int ndigits = curve->g.ndigits; in xycz_add() local
1221 const unsigned int ndigits = curve->g.ndigits; in xycz_add_c() local
1271 unsigned int ndigits) in ecc_point_mult()
1335 unsigned int ndigits = curve->g.ndigits; in ecc_point_add() local
1359 unsigned int ndigits = curve->g.ndigits; in ecc_point_mult_shamir() local
1406 const u64 *private_key, unsigned int ndigits) in __ecc_is_key_valid()
1428 int ecc_is_key_valid(unsigned int curve_id, unsigned int ndigits, in ecc_is_key_valid()
1455 int ecc_gen_privkey(unsigned int curve_id, unsigned int ndigits, u64 *privkey) in ecc_gen_privkey()
1496 int ecc_make_pub_key(unsigned int curve_id, unsigned int ndigits, in ecc_make_pub_key()
1595 int crypto_ecdh_shared_secret(unsigned int curve_id, unsigned int ndigits, in crypto_ecdh_shared_secret()