aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi
AgeCommit message (Expand)AuthorFilesLines
2021-08-12lib/mpi: use kcalloc in mpi_resizeHongbo Li1-1/+1
2021-07-01lib/mpi: fix spelling mistakesZhen Lei3-6/+6
2020-10-30lib/mpi: Remove unused scalar_copiedHerbert Xu1-3/+0
2020-10-16lib/mpi/mpi-bit.c: fix spello of "functions"Randy Dunlap1-1/+1
2020-10-02lib/mpi: Fix unused variable warningsHerbert Xu4-10/+3
2020-09-25lib/mpi: Introduce ec implementation to MPI libraryTianjia Zhang2-0/+1510
2020-09-25lib/mpi: Extend the MPI libraryTianjia Zhang13-10/+1989
2020-08-07mm, treewide: rename kzfree() to kfree_sensitive()Waiman Long1-3/+3
2020-07-31lib/mpi: Add mpi_sub_ui()Marcelo Henrique Cerri2-0/+79
2020-06-01Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-1/+1
2020-04-30lib/mpi: Fix 64-bit MIPS build with ClangNathan Chancellor1-1/+1
2020-04-24lib/mpi: Fix building for powerpc with clangNathan Chancellor1-17/+17
2019-08-22lib/mpi: Eliminate unused umul_ppmm definitions for MIPSNathan Chancellor1-35/+1
2019-07-16lib/mpi/longlong.h: fix building with 32-bit x86Arnd Bergmann1-8/+8
2019-07-05Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-4/+2
2019-07-03lib/mpi: Fix karactx leak in mpi_powmHerbert Xu1-4/+2
2019-05-24treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 26Thomas Gleixner13-182/+13
2018-08-07lib/mpi: remove redundant variable esignColin Ian King1-2/+1
2018-06-12treewide: kzalloc() -> kcalloc()Kees Cook1-1/+1
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-1/+1
2018-06-07lib/mpi: headers cleanupVasily Averin1-70/+5
2017-12-22lib/mpi: Fix umul_ppmm() for MIPS64r6James Hogan1-1/+17
2017-11-14Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-0/+2
2017-11-10lib/mpi: call cond_resched() from mpi_powm() loopEric Biggers1-0/+2
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-08-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6Herbert Xu1-1/+3
2017-08-22lib/mpi: kunmap after finishing accessing bufferStephan Mueller1-1/+3
2017-08-17lib/mpi: fix build with clangStefan Agner1-12/+12
2016-11-25mpi: Fix NULL ptr dereference in mpi_powm() [ver #3]Andrey Ryabinin1-1/+6
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: use "static inline" instead of "extern inline"Arnd Bergmann2-5/+5
2016-02-28lib/mpi: avoid assembler warningArnd Bergmann1-1/+1
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 Torvalds2-2/+2
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 Hellwig2-2/+2
2015-10-14lib/mpi: Add mpi sgl helpersTadeusz Struk1-0/+196
2015-08-25MPI: Fix mpi_read_bufferTadeusz Struk1-13/+25
2015-06-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6Linus Torvalds2-22/+71
2015-06-16MPILIB: add mpi_read_buf() and mpi_get_size() helpersTadeusz Struk2-22/+71
2015-06-13MPI: MIPS: Fix compilation error with GCC 5.1Jaedon Shin1-2/+2
2015-01-14MPILIB: Fix comparison of negative MPIsRasmus Villemoes1-1/+1
2015-01-14MPILIB: Fix obvious but harmless typoRasmus Villemoes1-1/+1
2015-01-14MPILIB: Deobfuscate mpi_cmpRasmus Villemoes1-5/+3
2013-09-25MPILIB: add module description and licenseKonstantin Khlebnikov1-0/+3
2013-07-19alpha: Modernize lib/mpi/longlong.hRichard Henderson1-10/+7
2013-06-12lib/mpi/mpicoder.c: looping issue, need stop when equal to zero, found by 'EX...Chen Gang1-1/+1
2013-05-24MPILIB: disable usage of floating point registers on pariscHelge Deller1-2/+3
2013-02-01mpilib: use DIV_ROUND_UP and remove unused macrosAndy Shevchenko2-8/+4
2012-11-23MPI: Fix compilation on MIPS with GCC 4.4 and newerManuel Lauss1-2/+17
2012-10-08MPILIB: Provide a function to read raw data into an MPIDavid Howells1-0/+55
2012-10-08MPILIB: Reinstate mpi_cmp[_ui]() and export for RSA signature verificationDavid Howells2-0/+71
2012-10-08MPILIB: Provide count_leading/trailing_zeros() based on arch functionsDavid Howells3-139/+5
2012-05-26Remove unused code from MPI libraryDmitry Kasatkin5-664/+0
2012-05-26Revert "crypto: GnuPG based MPI lib - additional sources (part 4)"Dmitry Kasatkin11-1396/+0
2012-04-18mpi: Avoid using freed pointer in mpi_lshift_limbs()Jesper Juhl1-2/+3
2012-02-02lib: Fix 32-bit sparc udiv_qrnnd() definition in mpilib's longlong.hDavid Miller1-11/+33
2012-02-02lib: Fix multiple definitions of clz_tabDavid Miller1-19/+0
2012-02-02lib/mpi: added missing NULL checkDmitry Kasatkin1-0/+2
2012-02-02lib/mpi: added comment on divide by 0 caseDmitry Kasatkin1-0/+4
2012-02-02lib/mpi: check for possible zero lengthDmitry Kasatkin1-0/+3
2012-02-02lib/mpi: removed unused functionsDmitry Kasatkin1-88/+0
2012-02-02lib/mpi: checks for zero divisor lengthDmitry Kasatkin1-0/+3
2012-02-02lib/mpi: return error code on dividing by zeroDmitry Kasatkin1-1/+1
2012-02-02lib/mpi: replaced MPI_NULL with normal NULLDmitry Kasatkin2-5/+5
2012-02-02lib/mpi: added missing NULL checkDmitry Kasatkin1-1/+2
2012-01-19MPILIB: Add a missing ENOMEM checkDavid Howells1-0/+2
2011-12-08mpi/mpi-mpow: NULL dereference on allocation failureDan Carpenter1-1/+2
2011-11-09crypto: GnuPG based MPI lib - additional sources (part 4)Dmitry Kasatkin11-0/+1390
2011-11-09crypto: GnuPG based MPI lib - make files (part 3)Dmitry Kasatkin1-0/+21
2011-11-09crypto: GnuPG based MPI lib - header files (part 2)Dmitry Kasatkin3-0/+1861
2011-11-09crypto: GnuPG based MPI lib - source files (part 1)Dmitry Kasatkin14-0/+2681