1. 29 Nov, 2017 1 commit
  2. 13 Jan, 2015 1 commit
    • Mathias Krause's avatar
      crypto: add missing crypto module aliases · 3e14dcf7
      Mathias Krause authored
      Commit 5d26a105 ("crypto: prefix module autoloading with "crypto-"")
      changed the automatic module loading when requesting crypto algorithms
      to prefix all module requests with "crypto-". This requires all crypto
      modules to have a crypto specific module alias even if their file name
      would otherwise match the requested crypto algorithm.
      
      Even though commit 5d26a105 added those aliases for a vast amount of
      modules, it was missing a few. Add the required MODULE_ALIAS_CRYPTO
      annotations to those files to make them get loaded automatically, again.
      This fixes, e.g., requesting 'ecb(blowfish-generic)', which used to work
      with kernels v3.18 and below.
      
      Also change MODULE_ALIAS() lines to MODULE_ALIAS_CRYPTO(). The former
      won't work for crypto modules any more.
      
      Fixes: 5d26a105 ("crypto: prefix module autoloading with "crypto-"")
      Cc: Kees Cook <keescook@chromium.org>
      Signed-off-by: 's avatarMathias Krause <minipli@googlemail.com>
      Signed-off-by: 's avatarHerbert Xu <herbert@gondor.apana.org.au>
      3e14dcf7
  3. 24 Nov, 2014 1 commit
  4. 01 Aug, 2012 1 commit
  5. 03 Jun, 2010 1 commit
    • Joachim Fritschi's avatar
      crypto: twofish: Rename twofish to twofish_generic and add an alias · 5b04fc17
      Joachim Fritschi authored
      This fixes the broken autoloading of the corresponding twofish assembler
      ciphers on x86 and x86_64 if they are available. The module name of the
      generic implementation was in conflict with the alias in the assembler
      modules. The generic twofish c implementation is renamed to
      twofish_generic according to the other algorithms with assembler
      implementations and an module alias is added for 'twofish'. You can now
      load 'twofish' giving you the best implementation by priority,
      'twofish-generic' to get the c implementation or 'twofish-asm' to get
      the assembler version of cipher.
      Signed-off-by: 's avatarJoachim Fritschi <jfritschi@freenet.de>
      Signed-off-by: 's avatarHerbert Xu <herbert@gondor.apana.org.au>
      5b04fc17
  6. 21 Apr, 2008 1 commit
    • Kamalesh Babulal's avatar
      [CRYPTO] all: Clean up init()/fini() · 3af5b90b
      Kamalesh Babulal authored
      On Thu, Mar 27, 2008 at 03:40:36PM +0100, Bodo Eggert wrote:
      > Kamalesh Babulal <kamalesh@linux.vnet.ibm.com> wrote:
      > 
      > > This patch cleanups the crypto code, replaces the init() and fini()
      > > with the <algorithm name>_init/_fini
      > 
      > This part ist OK.
      > 
      > > or init/fini_<algorithm name> (if the 
      > > <algorithm name>_init/_fini exist)
      > 
      > Having init_foo and foo_init won't be a good thing, will it? I'd start
      > confusing them.
      > 
      > What about foo_modinit instead?
      
      Thanks for the suggestion, the init() is replaced with
      
      	<algorithm name>_mod_init ()
      
      and fini () is replaced with <algorithm name>_mod_fini.
      Signed-off-by: 's avatarKamalesh Babulal <kamalesh@linux.vnet.ibm.com>
      Signed-off-by: 's avatarHerbert Xu <herbert@gondor.apana.org.au>
      3af5b90b
  7. 21 Sep, 2006 2 commits
  8. 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: 's avatarHerbert Xu <herbert@gondor.apana.org.au>
      6c2bb98b
  9. 21 Mar, 2006 1 commit
  10. 09 Jan, 2006 2 commits
  11. 16 Apr, 2005 1 commit
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      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