1. 30 Jan, 2014 1 commit
  2. 28 Nov, 2013 1 commit
  3. 05 Nov, 2013 1 commit
    • Herbert Xu's avatar
      crypto: s390 - Fix aes-cbc IV corruption · f262f0f5
      Herbert Xu authored
      
      The cbc-aes-s390 algorithm incorrectly places the IV in the tfm
      data structure.  As the tfm is shared between multiple threads,
      this introduces a possibility of data corruption.
      
      This patch fixes this by moving the parameter block containing
      the IV and key onto the stack (the block is 48 bytes long).
      
      The same bug exists elsewhere in the s390 crypto system and they
      will be fixed in subsequent patches.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      f262f0f5
  4. 24 Oct, 2013 1 commit
  5. 23 Nov, 2012 1 commit
  6. 01 Aug, 2012 1 commit
  7. 20 Jul, 2012 1 commit
    • Heiko Carstens's avatar
      s390/comments: unify copyright messages and remove file names · a53c8fab
      Heiko Carstens authored
      
      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: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
      a53c8fab
  8. 04 May, 2011 3 commits
  9. 08 Jan, 2010 1 commit
  10. 18 Dec, 2009 1 commit
  11. 26 Feb, 2009 1 commit
    • Herbert Xu's avatar
      crypto: api - Fix module load deadlock with fallback algorithms · a760a665
      Herbert Xu authored
      
      With the mandatory algorithm testing at registration, we have
      now created a deadlock with algorithms requiring fallbacks.
      This can happen if the module containing the algorithm requiring
      fallback is loaded first, without the fallback module being loaded
      first.  The system will then try to test the new algorithm, find
      that it needs to load a fallback, and then try to load that.
      
      As both algorithms share the same module alias, it can attempt
      to load the original algorithm again and block indefinitely.
      
      As algorithms requiring fallbacks are a special case, we can fix
      this by giving them a different module alias than the rest.  Then
      it's just a matter of using the right aliases according to what
      algorithms we're trying to find.
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      a760a665
  12. 25 Dec, 2008 1 commit
  13. 17 Apr, 2008 1 commit
  14. 26 Jan, 2008 1 commit
  15. 10 Jan, 2008 3 commits
  16. 10 Oct, 2007 1 commit
  17. 04 May, 2007 1 commit
  18. 05 Feb, 2007 2 commits
  19. 21 Sep, 2006 4 commits
  20. 26 Jun, 2006 1 commit
    • Herbert Xu's avatar
      [CRYPTO] all: Pass tfm instead of ctx to algorithms · 6c2bb98b
      Herbert Xu authored
      
      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: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      6c2bb98b
  21. 15 Jan, 2006 1 commit
  22. 06 Jan, 2006 1 commit