Skip to content
Snippets Groups Projects
  1. May 24, 2019
    • Thomas Gleixner's avatar
      treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 26 · 465ae836
      Thomas Gleixner authored
      
      Based on 1 normalized pattern(s):
      
        gnupg is free software you can redistribute it and or modify it
        under the terms of the gnu general public license as published by
        the free software foundation either version 2 of the license or at
        your option any later version gnupg is distributed in the hope that
        it will be useful but without any warranty without even the implied
        warranty of merchantability or fitness for a particular purpose see
        the gnu general public license for more details you should have
        received a copy of the gnu general public license along with this
        program if not write to the free software foundation inc 59 temple
        place suite 330 boston ma 02111 1307 usa note this code is heavily
        based on the gnu mp library actually it s the same code with only
        minor changes in the way the data is stored this is to support the
        abstraction of an optional secure memory allocation which may be
        used to avoid revealing of sensitive data due to paging etc the gnu
        mp library itself is published under the lgpl however i decided to
        publish this code under the plain gpl
      
      extracted by the scancode license scanner the SPDX license identifier
      
        GPL-2.0-or-later
      
      has been chosen to replace the boilerplate/reference in 14 file(s).
      
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Reviewed-by: default avatarAllison Randal <allison@lohutok.net>
      Reviewed-by: default avatarKate Stewart <kstewart@linuxfoundation.org>
      Cc: linux-spdx@vger.kernel.org
      Link: https://lkml.kernel.org/r/20190520170856.639982569@linutronix.de
      
      
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      465ae836
  2. Jun 08, 2018
  3. Feb 27, 2016
    • Arnd Bergmann's avatar
      lib/mpi: use "static inline" instead of "extern inline" · 9c6bd0c2
      Arnd Bergmann authored
      
      When we use CONFIG_PROFILE_ALL_BRANCHES, every 'if()' introduces
      a static variable, but that is not allowed in 'extern inline'
      functions:
      
      mpi-inline.h:116:204: warning: '______f' is static but declared in inline function 'mpihelp_sub' which is not static
      mpi-inline.h:113:184: warning: '______f' is static but declared in inline function 'mpihelp_sub' which is not static
      mpi-inline.h:70:184: warning: '______f' is static but declared in inline function 'mpihelp_add' which is not static
      mpi-inline.h:56:204: warning: '______f' is static but declared in inline function 'mpihelp_add_1' which is not static
      
      This changes the MPI code to use 'static inline' instead, to get
      rid of hundreds of warnings.
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      9c6bd0c2
  4. Jan 14, 2015
  5. Feb 01, 2013
  6. Nov 09, 2011
    • 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
Loading