Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/lib/mpi/
Dmpi-bit.c64 unsigned int limbno, bitno; in mpi_test_bit() local
67 limbno = n / BITS_PER_MPI_LIMB; in mpi_test_bit()
70 if (limbno >= a->nlimbs) in mpi_test_bit()
72 limb = a->d[limbno]; in mpi_test_bit()
82 unsigned int i, limbno, bitno; in mpi_set_bit() local
84 limbno = n / BITS_PER_MPI_LIMB; in mpi_set_bit()
87 if (limbno >= a->nlimbs) { in mpi_set_bit()
90 mpi_resize(a, limbno+1); in mpi_set_bit()
91 a->nlimbs = limbno+1; in mpi_set_bit()
93 a->d[limbno] |= (A_LIMB_1<<bitno); in mpi_set_bit()
[all …]