1. 21 11月, 2011 2 次提交
    • K
      crypto: talitos - be less noisy on startup · 5b859b6e
      Kim Phillips 提交于
      talitos prints every algorithm it registers at module load time.
      Algorithms are being added that make for an excessively noisy console
      (latest HMACs patch makes an SEC 3.1 print 20 lines).
      Instead, display the SEC h/w version number, and inform the
      user of algorithm registration status in /proc/crypto, like so:
      
      talitos ffe30000.crypto: fsl,sec3.1 algorithms registered in /proc/crypto
      Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      5b859b6e
    • L
      crypto: talitos - add hmac algorithms · 79b3a418
      Lee Nipper 提交于
      Add these hmac algorithms to talitos:
          hmac(md5),
          hmac(sha1),
          hmac(sha224),
          hmac(sha256),
          hmac(sha384),
          hmac(sha512).
      These are all type ahash.
      Signed-off-by: NLee Nipper <lee.nipper@gmail.com>
      
      Fixed up to not register HMAC algorithms on sec2.0 devices.
      Rationale (from Lee):
      
      on an 8349E Rev1.1, there's a problem with hmac for any talitos
      hmac sequence requiring an intermediate hash context (Pointer
      DWORD 1); the result is an incorrect hmac.  An intermediate hash
      context is required for something longer than (65536-blocksize),
      and for other cases when update/finup/final are used inefficiently.
      Interestingly, a normal hash (without hmac) works perfectly
      when using an intermediate context.
      Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      79b3a418
  2. 08 11月, 2011 10 次提交
  3. 07 11月, 2011 26 次提交
  4. 06 11月, 2011 2 次提交