aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-mul.c
Commit message (Collapse)AuthorAgeFilesLines
* crypto: lib/mpi - Fix an "Uninitialized scalar variable" issueQianqiang Liu2024-10-161-1/+1
| | | | | | | | The "err" variable may be returned without an initialized value. Fixes: 8e3a67f2de87 ("crypto: lib/mpi - Add error checks to extension") Signed-off-by: Qianqiang Liu <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
* crypto: lib/mpi - Add error checks to extensionHerbert Xu2024-08-171-6/+23
| | | | | | | | | | The remaining functions added by commit a8ea8bdd9df92a0e5db5b43900abb7a288b8a53e did not check for memory allocation errors. Add the checks and change the API to allow errors to be returned. Fixes: a8ea8bdd9df9 ("lib/mpi: Extend the MPI library") Signed-off-by: Herbert Xu <[email protected]>
* crypto: lib - Move mpi into lib/cryptoHerbert Xu2023-08-111-0/+92
As lib/mpi is mostly used by crypto code, move it under lib/crypto so that patches touching it get directed to the right mailing list. Signed-off-by: Herbert Xu <[email protected]> Reviewed-by: Mimi Zohar <[email protected]> Signed-off-by: Herbert Xu <[email protected]>