summaryrefslogtreecommitdiff
path: root/tprintf.h
diff options
context:
space:
mode:
Diffstat (limited to 'tprintf.h')
0 files changed, 0 insertions, 0 deletions
/mpi/mpicoder.c parentd755290689646fa66cc4830ca55569f2c9863666 (diff)
lib/mpi: mpi_read_buffer(): optimize skipping of leading zero limbs
Currently, if the number of leading zeros is greater than fits into a complete limb, mpi_read_buffer() skips them by iterating over them limb-wise. Instead of skipping the high order zero limbs within the loop as shown above, adjust the copying loop's bounds. Signed-off-by: Nicolai Stange <nicstange@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/mpi/mpicoder.c')