Skip to content
Snippets Groups Projects
  1. Aug 20, 2009
    • Neil Horman's avatar
      crypto: fips - Depend on ansi_cprng · 4e4ed83b
      Neil Horman authored
      
      What about something like this?  It defaults the CPRNG to m and makes FIPS
      dependent on the CPRNG.  That way you get a module build by default, but you can
      change it to y manually during config and still satisfy the dependency, and if
      you select N it disables FIPS as well.  I rather like that better than making
      FIPS a tristate.  I just tested it out here and it seems to work well.  Let me
      know what you think
      
      Signed-off-by: default avatarNeil Horman <nhorman@tuxdriver.com>
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      4e4ed83b
  2. Aug 14, 2009
    • Herbert Xu's avatar
      crypto: blkcipher - Do not use eseqiv on stream ciphers · 63b5ac28
      Herbert Xu authored
      
      Recently we switched to using eseqiv on SMP machines in preference
      over chainiv.  However, eseqiv does not support stream ciphers so
      they should still default to chainiv.
      
      This patch applies the same check as done by eseqiv to weed out
      the stream ciphers.  In particular, all algorithms where the IV
      size is not equal to the block size will now default to chainiv.
      
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      63b5ac28
  3. Aug 13, 2009
  4. Aug 12, 2009
  5. Aug 09, 2009
  6. Aug 05, 2009
  7. Jul 24, 2009
    • Herbert Xu's avatar
      crypto: api - Fix aligned ctx helper · ab300465
      Herbert Xu authored
      
      The aligned ctx helper was using a bogus alignment value thas was
      one off the correct value.  Fortunately the current users do not
      require anything beyond the natural alignment of the platform so
      this hasn't caused a problem.
      
      This patch fixes that and also removes the unnecessary minimum
      check since if the alignment is less than the natural alignment
      then the subsequent ALIGN operation should be a noop.
      
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      ab300465
    • Herbert Xu's avatar
      crypto: hmac - Prehash ipad/opad · 0b767b4d
      Herbert Xu authored
      
      This patch uses crypto_shash_export/crypto_shash_import to prehash
      ipad/opad to speed up hmac.  This is partly based on a similar patch
      by Steffen Klassert.
      
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      0b767b4d
  8. Jul 23, 2009
  9. Jul 22, 2009
  10. Jul 21, 2009
  11. Jul 16, 2009
  12. Jul 15, 2009
  13. Jul 14, 2009
Loading