Lines Matching refs:BYTES_PER_MPI_LIMB

55 	nlimbs = DIV_ROUND_UP(nbytes, BYTES_PER_MPI_LIMB);  in mpi_read_raw_data()
64 i = BYTES_PER_MPI_LIMB - nbytes % BYTES_PER_MPI_LIMB; in mpi_read_raw_data()
65 i %= BYTES_PER_MPI_LIMB; in mpi_read_raw_data()
68 for (; i < BYTES_PER_MPI_LIMB; i++) { in mpi_read_raw_data()
100 nlimbs = DIV_ROUND_UP(nbytes, BYTES_PER_MPI_LIMB); in mpi_read_from_buffer()
104 i = BYTES_PER_MPI_LIMB - nbytes % BYTES_PER_MPI_LIMB; in mpi_read_from_buffer()
105 i %= BYTES_PER_MPI_LIMB; in mpi_read_from_buffer()
111 for (; i < BYTES_PER_MPI_LIMB; i++) { in mpi_read_from_buffer()
181 #if BYTES_PER_MPI_LIMB == 4 in mpi_read_buffer()
186 #elif BYTES_PER_MPI_LIMB == 8 in mpi_read_buffer()
267 nlimbs = DIV_ROUND_UP(nbytes, BYTES_PER_MPI_LIMB); in mpi_set_buffer()
272 for (i = 0, p = buffer + nbytes - 1; p >= buffer + BYTES_PER_MPI_LIMB;) { in mpi_set_buffer()
273 #if BYTES_PER_MPI_LIMB == 4 in mpi_set_buffer()
278 #elif BYTES_PER_MPI_LIMB == 8 in mpi_set_buffer()
293 #if BYTES_PER_MPI_LIMB == 4 in mpi_set_buffer()
301 #elif BYTES_PER_MPI_LIMB == 8 in mpi_set_buffer()
373 #if BYTES_PER_MPI_LIMB == 4 in mpi_write_to_sgl()
378 #elif BYTES_PER_MPI_LIMB == 8 in mpi_write_to_sgl()
483 nlimbs = DIV_ROUND_UP(nbytes, BYTES_PER_MPI_LIMB); in mpi_read_raw_from_sgl()
498 x = BYTES_PER_MPI_LIMB - nbytes % BYTES_PER_MPI_LIMB; in mpi_read_raw_from_sgl()
499 x %= BYTES_PER_MPI_LIMB; in mpi_read_raw_from_sgl()
506 if (sg_is_last(sg) && (len % BYTES_PER_MPI_LIMB)) in mpi_read_raw_from_sgl()
507 len += BYTES_PER_MPI_LIMB - (len % BYTES_PER_MPI_LIMB); in mpi_read_raw_from_sgl()
512 if (((z + x + 1) % BYTES_PER_MPI_LIMB) == 0) { in mpi_read_raw_from_sgl()