Searched refs:BITS_PER_MPI_LIMB (Results 1 – 8 of 8) sorted by relevance
51 n = BITS_PER_MPI_LIMB; in mpi_get_nbits()52 n = BITS_PER_MPI_LIMB - n + (a->nlimbs - 1) * BITS_PER_MPI_LIMB; in mpi_get_nbits()67 limbno = n / BITS_PER_MPI_LIMB; in mpi_test_bit()68 bitno = n % BITS_PER_MPI_LIMB; in mpi_test_bit()84 limbno = n / BITS_PER_MPI_LIMB; in mpi_set_bit()85 bitno = n % BITS_PER_MPI_LIMB; in mpi_set_bit()103 limbno = n / BITS_PER_MPI_LIMB; in mpi_set_highbit()104 bitno = n % BITS_PER_MPI_LIMB; in mpi_set_highbit()126 limbno = n / BITS_PER_MPI_LIMB; in mpi_clear_highbit()127 bitno = n % BITS_PER_MPI_LIMB; in mpi_clear_highbit()[all …]
71 r = n1 >> (BITS_PER_MPI_LIMB - normalization_steps); in mpihelp_mod_1()83 | (n0 >> (BITS_PER_MPI_LIMB - normalization_steps))), in mpihelp_mod_1()130 r = n1 >> (BITS_PER_MPI_LIMB - normalization_steps); in mpihelp_mod_1()142 | (n0 >> (BITS_PER_MPI_LIMB - normalization_steps))), in mpihelp_mod_1()420 r = n1 >> (BITS_PER_MPI_LIMB - normalization_steps); in mpihelp_divmod_1()432 | (n0 >> (BITS_PER_MPI_LIMB - normalization_steps))), in mpihelp_divmod_1()478 r = n1 >> (BITS_PER_MPI_LIMB - normalization_steps); in mpihelp_divmod_1()490 | (n0 >> (BITS_PER_MPI_LIMB - normalization_steps))), in mpihelp_divmod_1()
38 sh_2 = BITS_PER_MPI_LIMB - sh_1; in mpihelp_rshift()
37 sh_2 = BITS_PER_MPI_LIMB - sh_1; in mpihelp_lshift()
165 c = BITS_PER_MPI_LIMB - 1 - c; in mpi_powm()252 c = BITS_PER_MPI_LIMB; in mpi_powm()
197 #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)); in ec_addm_25519()239 wp[LIMB_SIZE_25519-1] &= ~((mpi_limb_t)1 << (255 % BITS_PER_MPI_LIMB)); in ec_subm_25519()261 wp[LIMB_SIZE_25519-1] &= ~((mpi_limb_t)1 << (255 % BITS_PER_MPI_LIMB)); in ec_mulm_25519()264 mpihelp_rshift(m, m, LIMB_SIZE_25519+1, (255 % BITS_PER_MPI_LIMB)); in ec_mulm_25519()280 msb = (wp[LIMB_SIZE_25519-1] >> (255 % BITS_PER_MPI_LIMB)); in ec_mulm_25519()282 wp[LIMB_SIZE_25519-1] &= ~((mpi_limb_t)1 << (255 % BITS_PER_MPI_LIMB)); in ec_mulm_25519()303 #define LIMB_SIZE_448 ((448+BITS_PER_MPI_LIMB-1)/BITS_PER_MPI_LIMB)
213 #define W_TYPE_SIZE BITS_PER_MPI_LIMB
24 #define BITS_PER_MPI_LIMB BITS_PER_LONG macro53 return mpi_alloc((nbits + BITS_PER_MPI_LIMB - 1) / BITS_PER_MPI_LIMB); in mpi_new()
Completed in 11 milliseconds