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,
156 bool vli_is_zero(const u64 *vli, unsigned int ndigits);
168 int vli_cmp(const u64 *left, const u64 *right, unsigned int ndigits);
183 unsigned int ndigits);
192 void vli_from_be64(u64 *dest, const void *src, unsigned int ndigits);
201 void vli_from_le64(u64 *dest, const void *src, unsigned int ndigits);
212 unsigned int ndigits);
226 const u64 *mod, unsigned int ndigits);