1. 30 5月, 2019 1 次提交
  2. 18 4月, 2019 1 次提交
  3. 25 1月, 2019 1 次提交
    • E
      crypto: clarify name of WEAK_KEY request flag · 231baecd
      Eric Biggers 提交于
      CRYPTO_TFM_REQ_WEAK_KEY confuses newcomers to the crypto API because it
      sounds like it is requesting a weak key.  Actually, it is requesting
      that weak keys be forbidden (for algorithms that have the notion of
      "weak keys"; currently only DES and XTS do).
      
      Also it is only one letter away from CRYPTO_TFM_RES_WEAK_KEY, with which
      it can be easily confused.  (This in fact happened in the UX500 driver,
      though just in some debugging messages.)
      
      Therefore, make the intent clear by renaming it to
      CRYPTO_TFM_REQ_FORBID_WEAK_KEYS.
      Signed-off-by: NEric Biggers <ebiggers@google.com>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      231baecd
  4. 24 11月, 2017 2 次提交
    • G
      s390: crypto: Remove redundant license text · a876ca4d
      Greg Kroah-Hartman 提交于
      Now that the SPDX tag is in all arch/s390/crypto/ files, that identifies
      the license in a specific and legally-defined manner.  So the extra GPL
      text wording can be removed as it is no longer needed at all.
      
      This is done on a quest to remove the 700+ different ways that files in
      the kernel describe the GPL license text.  And there's unneeded stuff
      like the address (sometimes incorrect) for the FSF which is never
      needed.
      
      No copyright headers or other non-license-description text was removed.
      
      Cc: Herbert Xu <herbert@gondor.apana.org.au>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      a876ca4d
    • G
      s390: crypto: add SPDX identifiers to the remaining files · 20a884f5
      Greg Kroah-Hartman 提交于
      It's good to have SPDX identifiers in all files to make it easier to
      audit the kernel tree for correct licenses.
      
      Update the arch/s390/crypto/ files with the correct SPDX license
      identifier based on the license text in the file itself.  The SPDX
      identifier is a legally binding shorthand, which can be used instead of
      the full boiler plate text.
      
      This work is based on a script and data from Thomas Gleixner, Philippe
      Ombredanne, and Kate Stewart.
      
      Cc: Herbert Xu <herbert@gondor.apana.org.au>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Kate Stewart <kstewart@linuxfoundation.org>
      Cc: Philippe Ombredanne <pombredanne@nexb.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      20a884f5
  5. 31 1月, 2017 1 次提交
  6. 29 8月, 2016 5 次提交
  7. 16 4月, 2016 1 次提交
    • M
      s390/crypto: cleanup and move the header with the cpacf definitions · c7d4d259
      Martin Schwidefsky 提交于
      The CPACF instructions are going be used in KVM as well, move the
      defines and the inline functions from arch/s390/crypt/crypt_s390.h
      to arch/s390/include/asm. Rename the header to cpacf.h and replace
      the crypt_s390_xxx names with cpacf_xxx.
      
      While we are at it, cleanup the header as well. The encoding for
      the CPACF operations is odd, there is an enum for each of the CPACF
      instructions with the hardware function code in the lower 8 bits of
      each entry and a software defined number for the CPACF instruction
      in the upper 8 bits. Remove the superfluous software number and
      replace the enums with simple defines.
      
      The crypt_s390_func_available() function tests for the presence
      of a specific CPACF operations. The new name of the function is
      cpacf_query and it works slightly different than before. It gets
      passed an opcode of an CPACF instruction and a function code for
      this instruction. The facility_mask parameter is gone, the opcode
      is used to find the correct MSA facility bit to check if the CPACF
      instruction itself is available. If it is the query function of the
      given instruction is used to test if the requested CPACF operation
      is present.
      Acked-by: NDavid Hildenbrand <dahi@linux.vnet.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      c7d4d259
  8. 22 7月, 2015 1 次提交
  9. 24 11月, 2014 1 次提交
  10. 08 5月, 2014 1 次提交
  11. 30 1月, 2014 2 次提交
  12. 20 12月, 2013 1 次提交
  13. 23 11月, 2012 1 次提交
  14. 01 8月, 2012 1 次提交
  15. 20 7月, 2012 1 次提交
    • H
      s390/comments: unify copyright messages and remove file names · a53c8fab
      Heiko Carstens 提交于
      Remove the file name from the comment at top of many files. In most
      cases the file name was wrong anyway, so it's rather pointless.
      
      Also unify the IBM copyright statement. We did have a lot of sightly
      different statements and wanted to change them one after another
      whenever a file gets touched. However that never happened. Instead
      people start to take the old/"wrong" statements to use as a template
      for new files.
      So unify all of them in one go.
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      a53c8fab
  16. 04 5月, 2011 3 次提交
  17. 21 5月, 2010 2 次提交
  18. 18 6月, 2009 1 次提交
  19. 17 4月, 2008 1 次提交
  20. 06 2月, 2007 1 次提交
  21. 21 9月, 2006 4 次提交
  22. 26 6月, 2006 1 次提交
    • H
      [CRYPTO] all: Pass tfm instead of ctx to algorithms · 6c2bb98b
      Herbert Xu 提交于
      Up until now algorithms have been happy to get a context pointer since
      they know everything that's in the tfm already (e.g., alignment, block
      size).
      
      However, once we have parameterised algorithms, such information will
      be specific to each tfm.  So the algorithm API needs to be changed to
      pass the tfm structure instead of the context pointer.
      
      This patch is basically a text substitution.  The only tricky bit is
      the assembly routines that need to get the context pointer offset
      through asm-offsets.h.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      6c2bb98b
  23. 15 1月, 2006 2 次提交
  24. 07 1月, 2006 1 次提交
  25. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4