summaryrefslogtreecommitdiffstats
path: root/lib/mpi/Makefile
diff options
context:
space:
mode:
authorMarcelo Henrique Cerri <marcelo.cerri@canonical.com>2020-07-20 19:08:09 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2020-07-31 10:08:59 +0200
commit4278e9d99e38938a7611b927fa4d73e6c86cb4fc (patch)
tree2e4a7d675d316ad53d27f0fdf5e2d8b1a819c189 /lib/mpi/Makefile
parentcrypto: ecdh - check validity of Z before export (diff)
downloadlinux-4278e9d99e38938a7611b927fa4d73e6c86cb4fc.tar.xz
linux-4278e9d99e38938a7611b927fa4d73e6c86cb4fc.zip
lib/mpi: Add mpi_sub_ui()
Add mpi_sub_ui() based on Gnu MP mpz_sub_ui() function from file mpz/aors_ui.h[1] from change id 510b83519d1c adapting the code to the kernel's data structures, helper functions and coding style and also removing the defines used to produce mpz_sub_ui() and mpz_add_ui() from the same code. [1] https://gmplib.org/repo/gmp-6.2/file/510b83519d1c/mpz/aors.h Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri@canonical.com> Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/mpi/Makefile')
-rw-r--r--lib/mpi/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mpi/Makefile b/lib/mpi/Makefile
index d5874a7f5ff9..43b8fce14079 100644
--- a/lib/mpi/Makefile
+++ b/lib/mpi/Makefile
@@ -16,6 +16,7 @@ mpi-y = \
mpicoder.o \
mpi-bit.o \
mpi-cmp.o \
+ mpi-sub-ui.o \
mpih-cmp.o \
mpih-div.o \
mpih-mul.o \