1. 20 11月, 2018 1 次提交
    • E
      crypto: remove useless initializations of cra_list · d4165590
      Eric Biggers 提交于
      Some algorithms initialize their .cra_list prior to registration.
      But this is unnecessary since crypto_register_alg() will overwrite
      .cra_list when adding the algorithm to the 'crypto_alg_list'.
      Apparently the useless assignment has just been copy+pasted around.
      
      So, remove the useless assignments.
      
      Exception: paes_s390.c uses cra_list to check whether the algorithm is
      registered or not, so I left that as-is for now.
      
      This patch shouldn't change any actual behavior.
      Signed-off-by: NEric Biggers <ebiggers@google.com>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      d4165590
  2. 28 9月, 2018 1 次提交
  3. 09 3月, 2018 2 次提交
  4. 15 2月, 2018 1 次提交
  5. 07 10月, 2017 1 次提交
  6. 22 9月, 2017 1 次提交
  7. 18 7月, 2017 1 次提交
  8. 10 6月, 2017 6 次提交
  9. 22 9月, 2016 1 次提交
  10. 13 9月, 2016 4 次提交
  11. 07 9月, 2016 2 次提交
  12. 18 7月, 2016 1 次提交
  13. 24 6月, 2016 1 次提交
  14. 07 6月, 2016 1 次提交
  15. 03 5月, 2016 1 次提交
  16. 01 2月, 2016 1 次提交
  17. 17 12月, 2015 1 次提交
  18. 08 7月, 2015 4 次提交
  19. 01 4月, 2015 1 次提交
    • V
      crypto: omap-aes - Fix support for unequal lengths · 6d7e7e02
      Vutla, Lokesh 提交于
      For cases where total length of an input SGs is not same as
      length of the input data for encryption, omap-aes driver
      crashes. This happens in the case when IPsec is trying to use
      omap-aes driver.
      
      To avoid this, we copy all the pages from the input SG list
      into a contiguous buffer and prepare a single element SG list
      for this buffer with length as the total bytes to crypt, which is
      similar thing that is done in case of unaligned lengths.
      
      Fixes: 6242332f ("crypto: omap-aes - Add support for cases of unaligned lengths")
      Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      6d7e7e02
  20. 26 1月, 2015 1 次提交
  21. 20 10月, 2014 1 次提交
  22. 10 3月, 2014 1 次提交
  23. 05 12月, 2013 1 次提交
  24. 30 10月, 2013 1 次提交
  25. 24 9月, 2013 1 次提交
  26. 21 8月, 2013 2 次提交