Searched refs:BITS_PER_MPI_LIMB (Results 1 - 8 of 8) sorted by relevance

/linux-master/lib/crypto/mpi/
H A Dmpi-bit.c51 n = BITS_PER_MPI_LIMB;
52 n = BITS_PER_MPI_LIMB - n + (a->nlimbs - 1) * BITS_PER_MPI_LIMB;
67 limbno = n / BITS_PER_MPI_LIMB;
68 bitno = n % BITS_PER_MPI_LIMB;
84 limbno = n / BITS_PER_MPI_LIMB;
85 bitno = n % BITS_PER_MPI_LIMB;
103 limbno = n / BITS_PER_MPI_LIMB;
104 bitno = n % BITS_PER_MPI_LIMB;
113 for (bitno++; bitno < BITS_PER_MPI_LIMB; bitn
[all...]
H A Dgeneric_mpih-lshift.c37 sh_2 = BITS_PER_MPI_LIMB - sh_1;
H A Dgeneric_mpih-rshift.c38 sh_2 = BITS_PER_MPI_LIMB - sh_1;
H A Dmpih-div.c71 r = n1 >> (BITS_PER_MPI_LIMB - normalization_steps);
83 | (n0 >> (BITS_PER_MPI_LIMB - normalization_steps))),
130 r = n1 >> (BITS_PER_MPI_LIMB - normalization_steps);
142 | (n0 >> (BITS_PER_MPI_LIMB - normalization_steps))),
420 r = n1 >> (BITS_PER_MPI_LIMB - normalization_steps);
432 | (n0 >> (BITS_PER_MPI_LIMB - normalization_steps))),
478 r = n1 >> (BITS_PER_MPI_LIMB - normalization_steps);
490 | (n0 >> (BITS_PER_MPI_LIMB - normalization_steps))),
H A Dmpi-pow.c165 c = BITS_PER_MPI_LIMB - 1 - c;
252 c = BITS_PER_MPI_LIMB;
H A Dec.c197 #define LIMB_SIZE_25519 ((256+BITS_PER_MPI_LIMB-1)/BITS_PER_MPI_LIMB)
218 wp[LIMB_SIZE_25519-1] &= ~((mpi_limb_t)1 << (255 % BITS_PER_MPI_LIMB));
239 wp[LIMB_SIZE_25519-1] &= ~((mpi_limb_t)1 << (255 % BITS_PER_MPI_LIMB));
261 wp[LIMB_SIZE_25519-1] &= ~((mpi_limb_t)1 << (255 % BITS_PER_MPI_LIMB));
264 mpihelp_rshift(m, m, LIMB_SIZE_25519+1, (255 % BITS_PER_MPI_LIMB));
280 msb = (wp[LIMB_SIZE_25519-1] >> (255 % BITS_PER_MPI_LIMB));
282 wp[LIMB_SIZE_25519-1] &= ~((mpi_limb_t)1 << (255 % BITS_PER_MPI_LIMB));
303 #define LIMB_SIZE_448 ((448+BITS_PER_MPI_LIMB-1)/BITS_PER_MPI_LIMB)
[all...]
H A Dmpi-internal.h121 _q += (nh); /* DI is 2**BITS_PER_MPI_LIMB too small */ \
213 #define W_TYPE_SIZE BITS_PER_MPI_LIMB
/linux-master/include/linux/
H A Dmpi.h24 #define BITS_PER_MPI_LIMB BITS_PER_LONG macro
53 return mpi_alloc((nbits + BITS_PER_MPI_LIMB - 1) / BITS_PER_MPI_LIMB);

Completed in 272 milliseconds