Lines Matching refs:ndigits
46 u8 ndigits; member
49 #define ECC_POINT_INIT(x, y, ndigits) (struct ecc_point) { x, y, ndigits } argument
83 int ecc_is_key_valid(unsigned int curve_id, unsigned int ndigits,
98 int ecc_gen_privkey(unsigned int curve_id, unsigned int ndigits, u64 *privkey);
111 int ecc_make_pub_key(const unsigned int curve_id, unsigned int ndigits,
129 int crypto_ecdh_shared_secret(unsigned int curve_id, unsigned int ndigits,
170 bool vli_is_zero(const u64 *vli, unsigned int ndigits);
182 int vli_cmp(const u64 *left, const u64 *right, unsigned int ndigits);
197 unsigned int ndigits);
206 void vli_from_be64(u64 *dest, const void *src, unsigned int ndigits);
215 void vli_from_le64(u64 *dest, const void *src, unsigned int ndigits);
226 unsigned int ndigits);
240 const u64 *mod, unsigned int ndigits);