summaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-internal.h
Commit message (Collapse)AuthorAgeFilesLines
* MPILIB: Fix obvious but harmless typoRasmus Villemoes2015-01-141-1/+1
| | | | | | | The macro MPN_COPY_INCR this occurs in isn't used anywhere. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: David Howells <dhowells@redhat.com>
* mpilib: use DIV_ROUND_UP and remove unused macrosAndy Shevchenko2013-02-011-4/+0
| | | | | | | | Remove MIN, MAX and ABS macros that are duplicates kernel's native implementation. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: James Morris <james.l.morris@oracle.com>
* crypto: GnuPG based MPI lib - header files (part 2)Dmitry Kasatkin2011-11-091-0/+261
Adds the multi-precision-integer maths library which was originally taken from GnuPG and ported to the kernel by (among others) David Howells. This version is taken from Fedora kernel 2.6.32-71.14.1.el6. The difference is that checkpatch reported errors and warnings have been fixed. This library is used to implemenet RSA digital signature verification used in IMA/EVM integrity protection subsystem. Due to patch size limitation, the patch is divided into 4 parts. Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
OpenPOWER on IntegriCloud