summaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpicoder.c
AgeCommit message (Expand)AuthorFilesLines
2016-07-29lib/mpi: Fix SG miter leakHerbert Xu1-7/+7
2016-07-01lib/mpi: Do not do sg_virtHerbert Xu1-36/+50
2016-07-01crypto: rsa - Generate fixed-length outputHerbert Xu1-29/+26
2016-05-31lib/mpi: refactor mpi_read_from_buffer() in terms of mpi_read_raw_data()Nicolai Stange1-21/+3
2016-05-31lib/mpi: mpi_read_from_buffer(): sanitize short buffer printkNicolai Stange1-2/+2
2016-05-31lib/mpi: mpi_read_from_buffer(): return -EINVAL upon too short bufferNicolai Stange1-10/+8
2016-05-31lib/mpi: mpi_read_from_buffer(): return error codeNicolai Stange1-3/+3
2016-05-31lib/mpi: mpi_read_raw_data(): fix nbits calculationNicolai Stange1-1/+1
2016-05-31lib/mpi: mpi_read_raw_data(): purge redundant clearing of nbitsNicolai Stange1-2/+0
2016-05-31lib/mpi: purge mpi_set_buffer()Nicolai Stange1-76/+0
2016-04-05lib/mpi: mpi_read_raw_from_sgl(): fix out-of-bounds buffer accessNicolai Stange1-3/+0
2016-04-05lib/mpi: mpi_read_raw_from_sgl(): sanitize meaning of indicesNicolai Stange1-6/+3
2016-04-05lib/mpi: mpi_read_raw_from_sgl(): fix nbits calculationNicolai Stange1-1/+2
2016-04-05lib/mpi: mpi_read_raw_from_sgl(): purge redundant clearing of nbitsNicolai Stange1-2/+0
2016-04-05lib/mpi: mpi_read_raw_from_sgl(): don't include leading zero SGEs in nbytesNicolai Stange1-6/+2
2016-04-05lib/mpi: mpi_read_raw_from_sgl(): replace len argument by nbytesNicolai Stange1-4/+4
2016-04-05lib/mpi: mpi_read_buffer(): fix buffer overflowNicolai Stange1-10/+3
2016-04-05lib/mpi: mpi_read_buffer(): replace open coded endian conversionNicolai Stange1-15/+12
2016-04-05lib/mpi: mpi_read_buffer(): optimize skipping of leading zero limbsNicolai Stange1-10/+8
2016-04-05lib/mpi: mpi_write_sgl(): replace open coded endian conversionNicolai Stange1-16/+11
2016-04-05lib/mpi: mpi_write_sgl(): fix out-of-bounds stack accessNicolai Stange1-5/+1
2016-04-05lib/mpi: mpi_write_sgl(): purge redundant pointer arithmeticNicolai Stange1-2/+1
2016-04-05lib/mpi: mpi_write_sgl(): fix style issue with lzero decrementNicolai Stange1-2/+2
2016-04-05lib/mpi: mpi_write_sgl(): fix skipping of leading zero limbsNicolai Stange1-12/+9
2016-02-28lib/mpi: Endianness fixMichal Marek1-18/+21
2015-11-17lib/mpi: only require buffers as big as needed for the integerAndrzej Zaborowski1-4/+17
2015-11-06Merge tag 'asm-generic-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2015-10-20lib/mpi: fix off by one in mpi_read_raw_from_sglStephan Mueller1-1/+4
2015-10-15move count_zeroes.h out of asm-genericChristoph Hellwig1-1/+1
2015-10-14lib/mpi: Add mpi sgl helpersTadeusz Struk1-0/+196
2015-08-25MPI: Fix mpi_read_bufferTadeusz Struk1-13/+25
2015-06-16MPILIB: add mpi_read_buf() and mpi_get_size() helpersTadeusz Struk1-19/+68
2013-06-12lib/mpi/mpicoder.c: looping issue, need stop when equal to zero, found by 'EX...Chen Gang1-1/+1
2013-02-01mpilib: use DIV_ROUND_UP and remove unused macrosAndy Shevchenko1-4/+4
2012-10-08MPILIB: Provide a function to read raw data into an MPIDavid Howells1-0/+55
2012-05-26Remove unused code from MPI libraryDmitry Kasatkin1-75/+0
2012-02-02lib/mpi: removed unused functionsDmitry Kasatkin1-88/+0
2012-02-02lib/mpi: replaced MPI_NULL with normal NULLDmitry Kasatkin1-4/+4
2012-02-02lib/mpi: added missing NULL checkDmitry Kasatkin1-1/+2
2012-01-19MPILIB: Add a missing ENOMEM checkDavid Howells1-0/+2
2011-11-09crypto: GnuPG based MPI lib - source files (part 1)Dmitry Kasatkin1-0/+365