Home
last modified time | relevance | path

Searched refs:ndigits (Results 1 – 6 of 6) sorted by relevance

/linux/crypto/
H A Decc_curve_defs.h24 .ndigits = 3,
51 .ndigits = 4,
84 .ndigits = 6,
129 .ndigits = 9,
149 .ndigits = 4,
H A Decrdsa_defs.h54 .ndigits = 256 / 64,
88 .ndigits = 256 / 64,
126 .ndigits = 256 / 64,
176 .ndigits = 512 / 64,
222 .ndigits = 512 / 64,
/linux/net/bluetooth/
H A Decdh_helper.c28 static inline void swap_digits(u64 *in, u64 *out, unsigned int ndigits) in swap_digits() argument
32 for (i = 0; i < ndigits; i++) in swap_digits()
33 out[i] = __swab64(in[ndigits - 1 - i]); in swap_digits()
/linux/scripts/mod/
H A Dfile2alias.c292 int ndigits; in do_usb_entry_multi() local
309 for (ndigits = 0 ; ndigits < sizeof(bcdDevice_lo) * 2 ; ndigits++) { in do_usb_entry_multi()
310 clo = (devlo >> (ndigits << 2)) & 0xf; in do_usb_entry_multi()
311 chi = ((devhi > 0x9999 ? 0x9999 : devhi) >> (ndigits << 2)) & 0xf; in do_usb_entry_multi()
326 for (ndigits = sizeof(bcdDevice_lo) * 2 - 1; devlo <= devhi; ndigits--) { in do_usb_entry_multi()
334 if (devlo == devhi || !ndigits) { in do_usb_entry_multi()
335 do_usb_entry(symval, devlo, ndigits, clo, chi, max, mod); in do_usb_entry_multi()
343 ndigits, clo, max, max, mod); in do_usb_entry_multi()
349 ndigits, 0x0, chi, max, mod); in do_usb_entry_multi()
/linux/include/crypto/
H A Decc_curve.h19 u8 ndigits; member
/linux/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c1245 static void fill_curve_param(void *addr, u64 *param, unsigned int cur_sz, u8 ndigits) in fill_curve_param() argument
1247 unsigned int sz = cur_sz - (ndigits - 1) * sizeof(u64); in fill_curve_param()
1250 while (i < ndigits - 1) { in fill_curve_param()
1255 memcpy(addr + sizeof(u64) * i, &param[ndigits - 1], sz); in fill_curve_param()
1279 fill_curve_param(p, curve->p, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1280 fill_curve_param(a, curve->a, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1281 fill_curve_param(b, curve->b, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1282 fill_curve_param(x, curve->g.x, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1283 fill_curve_param(y, curve->g.y, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1284 fill_curve_param(n, curve->n, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()