summaryrefslogtreecommitdiff
path: root/lib/mpi
AgeCommit message (Expand)AuthorFilesLines
2023-09-23crypto: lib/mpi - avoid null pointer deref in mpi_cmp_ui()Mark O'Donovan1-2/+6
2023-03-11lib/mpi: Fix buffer overrun when SG is too longHerbert Xu1-1/+2
2022-01-27lib/mpi: Add the return value check of kcalloc()Zizhuang Deng1-0/+2
2021-09-15lib/mpi: use kcalloc in mpi_resizeHongbo Li1-1/+1
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-17lib/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-13treewide: kzalloc() -> kcalloc()Kees Cook1-1/+1
2018-06-13treewide: kmalloc() -> kmalloc_array()Kees Cook1-1/+1
2018-06-08lib/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