1. 13 8月, 2009 3 次提交
  2. 10 8月, 2009 1 次提交
  3. 16 7月, 2009 1 次提交
  4. 15 7月, 2009 2 次提交
  5. 14 7月, 2009 3 次提交
    • H
      crypto: crypto4xx - Switch to new style ahash · 4dc10c01
      Herbert Xu 提交于
      This patch changes crypto4xx to use the new style ahash type.
      In particular, we now use ahash_alg to define ahash algorithms
      instead of crypto_alg.
      
      This is achieved by introducing a union that encapsulates the
      new type and the existing crypto_alg structure.  They're told
      apart through a u32 field containing the type value.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      4dc10c01
    • H
      crypto: crypto4xx - Use crypto_ahash_set_reqsize · 6b1679f4
      Herbert Xu 提交于
      This patch makes crypto4xx use crypto_ahash_set_reqsize to avoid
      accessing crypto_ahash directly.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      6b1679f4
    • H
      crypto: padlock - Switch sha to shash · bbbee467
      Herbert Xu 提交于
      This patch converts the padlock-sha implementation to shash.
      In doing so the existing mechanism of storing the data until
      final is no longer viable as we do not have a way of allocating
      data in crypto_shash_init and then reliably freeing it.
      
      This is just as well because a better way of handling the problem
      is to hash everything but the last chunk using normal sha code
      and then provide the intermediate result to the padlock device.
      
      This is good enough because the primary application of padlock-sha
      is IPsec and there the data is laid out in the form of an hmac
      header followed by the rest of the packet.  In essence we can
      provide all the data to the padlock as the hmac header only needs
      to be hashed once.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      bbbee467
  6. 11 7月, 2009 1 次提交
  7. 18 6月, 2009 2 次提交
  8. 13 6月, 2009 1 次提交
  9. 02 6月, 2009 8 次提交
  10. 21 4月, 2009 1 次提交
  11. 12 4月, 2009 1 次提交
  12. 07 4月, 2009 1 次提交
  13. 03 4月, 2009 1 次提交
  14. 27 3月, 2009 1 次提交
  15. 04 3月, 2009 1 次提交
  16. 26 2月, 2009 1 次提交
    • H
      crypto: api - Fix module load deadlock with fallback algorithms · a760a665
      Herbert Xu 提交于
      With the mandatory algorithm testing at registration, we have
      now created a deadlock with algorithms requiring fallbacks.
      This can happen if the module containing the algorithm requiring
      fallback is loaded first, without the fallback module being loaded
      first.  The system will then try to test the new algorithm, find
      that it needs to load a fallback, and then try to load that.
      
      As both algorithms share the same module alias, it can attempt
      to load the original algorithm again and block indefinitely.
      
      As algorithms requiring fallbacks are a special case, we can fix
      this by giving them a different module alias than the rest.  Then
      it's just a matter of using the right aliases according to what
      algorithms we're trying to find.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      a760a665
  17. 18 2月, 2009 2 次提交
  18. 25 12月, 2008 9 次提交
新手
引导
客服 返回
顶部