1. 29 8月, 2008 3 次提交
    • H
      crypto: tcrypt - Add alg_test interface · 01b32324
      Herbert Xu 提交于
      This patch creates a new interface algorithm testing.  A test can
      be requested for a particular implementation of an algorithm.  This
      is achieved by taking both the name of the algorithm and that of
      the implementation.
      
      The all-inclusive test has also been rewritten to no longer require
      a duplicate listing of all algorithms with tests.  In that process
      a number of missing tests have also been discovered and rectified.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      01b32324
    • H
      crypto: tcrypt - Abort and only log if there is an error · bdecd228
      Herbert Xu 提交于
      The info printed is a complete waste of space when there is no error
      since it doesn't tell us anything that we don't already know.  If there
      is an error, we can also be more verbose.
      
      In case that there is an error, this patch also aborts the test and
      returns the error to the caller.  In future this will be used to
      algorithms at registration time.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      bdecd228
    • H
      crypto: tcrypt - Avoid using contiguous pages · f139cfa7
      Herbert Xu 提交于
      If tcrypt is to be used as a run-time integrity test, it needs to be
      more resilient in a hostile environment.  For a start allocating 32K
      of physically contiguous memory is definitely out.
      
      This patch teaches it to use separate pages instead.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      f139cfa7
  2. 13 8月, 2008 1 次提交
    • H
      crypto: tcrypt - Fix AEAD chunk testing · f176e632
      Herbert Xu 提交于
      My changeset 4b22f0dd
      
      	crypto: tcrpyt - Remove unnecessary kmap/kunmap calls
      
      introduced a typo that broke AEAD chunk testing.  In particular,
      axbuf should really be xbuf.
      
      There is also an issue with testing the last segment when encrypting.
      The additional part produced by AEAD wasn't tested.  Similarly, on
      decryption the additional part of the AEAD input is mistaken for
      corruption.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      f176e632
  3. 10 7月, 2008 8 次提交
  4. 08 7月, 2008 1 次提交
  5. 21 4月, 2008 5 次提交
  6. 11 1月, 2008 17 次提交
  7. 27 10月, 2007 1 次提交
  8. 26 10月, 2007 1 次提交
  9. 23 10月, 2007 1 次提交
  10. 11 10月, 2007 2 次提交