Skip to content

Commit

Permalink
Revert "crypto: GnuPG based MPI lib - additional sources (part 4)"
Browse files Browse the repository at this point in the history
This reverts commit 7e8dec9.

RSA verification implementation does not use this code.
James Morris has asked to remove that.

Signed-off-by: Dmitry Kasatkin <[email protected]>
Requested-by: James Morris <[email protected]>
Signed-off-by: James Morris <[email protected]>
  • Loading branch information
Dmitry Kasatkin authored and James Morris committed May 26, 2012
1 parent 423b978 commit 9e235dc
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 1,404 deletions.
8 changes: 0 additions & 8 deletions lib/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -361,14 +361,6 @@ config MPILIB
It is used to implement RSA digital signature verification,
which is used by IMA/EVM digital signature extension.

config MPILIB_EXTRA
bool
depends on MPILIB
help
Additional sources of multiprecision maths library from GnuPG.
This code is unnecessary for RSA digital signature verification,
but can be compiled if needed.

config SIGNATURE
tristate
depends on KEYS && CRYPTO
Expand Down
11 changes: 0 additions & 11 deletions lib/mpi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,3 @@ mpi-y = \
mpih-mul.o \
mpi-pow.o \
mpiutil.o

mpi-$(CONFIG_MPILIB_EXTRA) += \
mpi-add.o \
mpi-div.o \
mpi-cmp.o \
mpi-gcd.o \
mpi-inline.o \
mpi-inv.o \
mpi-mpow.o \
mpi-mul.o \
mpi-scan.o
4 changes: 0 additions & 4 deletions lib/mpi/generic_mpi-asm-defs.h

This file was deleted.

234 changes: 0 additions & 234 deletions lib/mpi/mpi-add.c

This file was deleted.

68 changes: 0 additions & 68 deletions lib/mpi/mpi-cmp.c

This file was deleted.

Loading

0 comments on commit 9e235dc

Please sign in to comment.