1. 27 Feb, 2016 1 commit
  2. 17 Nov, 2015 1 commit
  3. 20 Oct, 2015 1 commit
  4. 14 Oct, 2015 2 commits
  5. 25 Aug, 2015 1 commit
  6. 16 Jun, 2015 1 commit
  7. 13 Jun, 2015 1 commit
  8. 14 Jan, 2015 3 commits
  9. 25 Sep, 2013 1 commit
  10. 19 Jul, 2013 1 commit
  11. 12 Jun, 2013 1 commit
  12. 24 May, 2013 1 commit
    • Helge Deller's avatar
      MPILIB: disable usage of floating point registers on parisc · 70ef5578
      Helge Deller authored
      The umul_ppmm() macro for parisc uses the xmpyu assembler statement
      which does calculation via a floating point register.
      
      But usage of floating point registers inside the Linux kernel are not
      allowed and gcc will stop compilation due to the -mdisable-fpregs
      compiler option.
      
      Fix this by disabling the umul_ppmm() and udiv_qrnnd() macros. The
      mpilib will then use the generic built-in implementations instead.
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      70ef5578
  13. 01 Feb, 2013 1 commit
  14. 23 Nov, 2012 1 commit
  15. 08 Oct, 2012 3 commits
  16. 26 May, 2012 2 commits
  17. 18 Apr, 2012 1 commit
    • Jesper Juhl's avatar
      mpi: Avoid using freed pointer in mpi_lshift_limbs() · 09c79b60
      Jesper Juhl authored
      At the start of the function we assign 'a->d' to 'ap'. Then we use the
      RESIZE_IF_NEEDED macro on 'a' - this may free 'a->d' and replace it
      with newly allocaetd storage. In that case, we'll be operating on
      freed memory further down in the function when we index into 'ap[]'.
      Since we don't actually need 'ap' until after the use of the
      RESIZE_IF_NEEDED macro we can just delay the assignment to it until
      after we've potentially resized, thus avoiding the issue.
      
      While I was there anyway I also changed the integer variable 'n' to be
      const. It might as well be since we only assign to it once and use it
      as a constant, and then the compiler will tell us if we ever assign to
      it in the future.
      Signed-off-by: default avatarJesper Juhl <jj@chaosbits.net>
      Acked-by: default avatarDmitry Kasatkin <dmitry.kasatkin@intel.com>
      Signed-off-by: default avatarJames Morris <james.l.morris@oracle.com>
      09c79b60
  18. 01 Feb, 2012 10 commits
  19. 19 Jan, 2012 1 commit
  20. 07 Dec, 2011 1 commit
  21. 09 Nov, 2011 4 commits
    • Dmitry Kasatkin's avatar
      crypto: GnuPG based MPI lib - additional sources (part 4) · 7e8dec91
      Dmitry Kasatkin authored
      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.
      
      This code is unnecessary for RSA digital signature verification,
      but for completeness it is included here and can be compiled,
      if CONFIG_MPILIB_EXTRA is enabled.
      Signed-off-by: default avatarDmitry Kasatkin <dmitry.kasatkin@intel.com>
      7e8dec91
    • Dmitry Kasatkin's avatar
      crypto: GnuPG based MPI lib - make files (part 3) · d9c46b18
      Dmitry Kasatkin authored
      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: default avatarDmitry Kasatkin <dmitry.kasatkin@intel.com>
      d9c46b18
    • Dmitry Kasatkin's avatar
      crypto: GnuPG based MPI lib - header files (part 2) · 5ce3e312
      Dmitry Kasatkin authored
      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: default avatarDmitry Kasatkin <dmitry.kasatkin@intel.com>
      5ce3e312
    • Dmitry Kasatkin's avatar
      crypto: GnuPG based MPI lib - source files (part 1) · cdec9cb5
      Dmitry Kasatkin authored
      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: default avatarDmitry Kasatkin <dmitry.kasatkin@intel.com>
      cdec9cb5