summaryrefslogtreecommitdiffstats
path: root/lib/mpi
Commit message (Expand)AuthorAgeFilesLines
* lib/mpi: Fix buffer overrun when SG is too longHerbert Xu2023-01-061-1/+2
* Merge tag 'mm-nonmm-stable-2022-08-06-2' of git://git.kernel.org/pub/scm/linu...Linus Torvalds2022-08-071-1/+1
|\
| * lib/mpi: fix typo 'the the' in commentSlark Xiao2022-07-291-1/+1
* | crypto: rsa - implement Chinese Remainder Theorem for faster private key oper...Ignat Korchagin2022-06-242-1/+2
|/
* lib/mpi: export mpi_rshiftNicolai Stange2022-03-031-0/+1
* lib/mpi: Add the return value check of kcalloc()Zizhuang Deng2022-01-071-0/+2
* lib/mpi: use kcalloc in mpi_resizeHongbo Li2021-08-121-1/+1
* lib/mpi: fix spelling mistakesZhen Lei2021-07-013-6/+6
* lib/mpi: Remove unused scalar_copiedHerbert Xu2020-10-301-3/+0
* lib/mpi/mpi-bit.c: fix spello of "functions"Randy Dunlap2020-10-161-1/+1
* lib/mpi: Fix unused variable warningsHerbert Xu2020-10-024-10/+3
* lib/mpi: Introduce ec implementation to MPI libraryTianjia Zhang2020-09-252-0/+1510
* lib/mpi: Extend the MPI libraryTianjia Zhang2020-09-2513-10/+1989
* mm, treewide: rename kzfree() to kfree_sensitive()Waiman Long2020-08-071-3/+3
* lib/mpi: Add mpi_sub_ui()Marcelo Henrique Cerri2020-07-312-0/+79
* Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds2020-06-011-1/+1
|\
| * lib/mpi: Fix 64-bit MIPS build with ClangNathan Chancellor2020-04-301-1/+1
* | lib/mpi: Fix building for powerpc with clangNathan Chancellor2020-04-241-17/+17
|/
* lib/mpi: Eliminate unused umul_ppmm definitions for MIPSNathan Chancellor2019-08-221-35/+1
* lib/mpi/longlong.h: fix building with 32-bit x86Arnd Bergmann2019-07-161-8/+8
* Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds2019-07-051-4/+2
|\
| * lib/mpi: Fix karactx leak in mpi_powmHerbert Xu2019-07-031-4/+2
* | treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 26Thomas Gleixner2019-05-2413-182/+13
|/
* lib/mpi: remove redundant variable esignColin Ian King2018-08-071-2/+1
* treewide: kzalloc() -> kcalloc()Kees Cook2018-06-121-1/+1
* treewide: kmalloc() -> kmalloc_array()Kees Cook2018-06-121-1/+1
* lib/mpi: headers cleanupVasily Averin2018-06-071-70/+5
* lib/mpi: Fix umul_ppmm() for MIPS64r6James Hogan2017-12-221-1/+17
* Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds2017-11-141-0/+2
|\
| * lib/mpi: call cond_resched() from mpi_powm() loopEric Biggers2017-11-101-0/+2
* | License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman2017-11-021-0/+1
|/
* Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6Herbert Xu2017-08-221-1/+3
|\
| * lib/mpi: kunmap after finishing accessing bufferStephan Mueller2017-08-221-1/+3
* | lib/mpi: fix build with clangStefan Agner2017-08-171-12/+12
|/
* mpi: Fix NULL ptr dereference in mpi_powm() [ver #3]Andrey Ryabinin2016-11-251-1/+6
* lib/mpi: Fix SG miter leakHerbert Xu2016-07-291-7/+7
* lib/mpi: Do not do sg_virtHerbert Xu2016-07-011-36/+50
* crypto: rsa - Generate fixed-length outputHerbert Xu2016-07-011-29/+26
* lib/mpi: refactor mpi_read_from_buffer() in terms of mpi_read_raw_data()Nicolai Stange2016-05-311-21/+3
* lib/mpi: mpi_read_from_buffer(): sanitize short buffer printkNicolai Stange2016-05-311-2/+2
* lib/mpi: mpi_read_from_buffer(): return -EINVAL upon too short bufferNicolai Stange2016-05-311-10/+8
* lib/mpi: mpi_read_from_buffer(): return error codeNicolai Stange2016-05-311-3/+3
* lib/mpi: mpi_read_raw_data(): fix nbits calculationNicolai Stange2016-05-311-1/+1
* lib/mpi: mpi_read_raw_data(): purge redundant clearing of nbitsNicolai Stange2016-05-311-2/+0
* lib/mpi: purge mpi_set_buffer()Nicolai Stange2016-05-311-76/+0
* lib/mpi: mpi_read_raw_from_sgl(): fix out-of-bounds buffer accessNicolai Stange2016-04-051-3/+0
* lib/mpi: mpi_read_raw_from_sgl(): sanitize meaning of indicesNicolai Stange2016-04-051-6/+3
* lib/mpi: mpi_read_raw_from_sgl(): fix nbits calculationNicolai Stange2016-04-051-1/+2
* lib/mpi: mpi_read_raw_from_sgl(): purge redundant clearing of nbitsNicolai Stange2016-04-051-2/+0
* lib/mpi: mpi_read_raw_from_sgl(): don't include leading zero SGEs in nbytesNicolai Stange2016-04-051-6/+2