“da22c134548794e4bed97210b26bb9ee9526d104”上不存在“projects/lrsjng/imports.yml”
  1. 21 4月, 2017 1 次提交
  2. 30 12月, 2016 1 次提交
    • A
      crypto: skcipher - introduce walksize attribute for SIMD algos · c821f6ab
      Ard Biesheuvel 提交于
      In some cases, SIMD algorithms can only perform optimally when
      allowed to operate on multiple input blocks in parallel. This is
      especially true for bit slicing algorithms, which typically take
      the same amount of time processing a single block or 8 blocks in
      parallel. However, other SIMD algorithms may benefit as well from
      bigger strides.
      
      So add a walksize attribute to the skcipher algorithm definition, and
      wire it up to the skcipher walk API. To avoid confusion between the
      skcipher and AEAD attributes, rename the skcipher_walk chunksize
      attribute to 'stride', and set it from the walksize (in the skcipher
      case) or from the chunksize (in the AEAD case).
      Signed-off-by: NArd Biesheuvel <ard.biesheuvel@linaro.org>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      c821f6ab
  3. 01 12月, 2016 1 次提交
  4. 28 11月, 2016 2 次提交
  5. 01 11月, 2016 2 次提交
  6. 25 10月, 2016 2 次提交
  7. 21 10月, 2016 1 次提交
  8. 18 7月, 2016 5 次提交
  9. 05 7月, 2016 1 次提交
  10. 23 6月, 2016 2 次提交
  11. 15 6月, 2016 1 次提交
  12. 06 2月, 2016 2 次提交
  13. 27 1月, 2016 1 次提交
  14. 09 12月, 2015 2 次提交
  15. 14 10月, 2015 1 次提交
  16. 21 8月, 2015 1 次提交
    • H
      crypto: skcipher - Add top-level skcipher interface · 7a7ffe65
      Herbert Xu 提交于
      This patch introduces the crypto skcipher interface which aims
      to replace both blkcipher and ablkcipher.
      
      It's very similar to the existing ablkcipher interface.  The
      main difference is the removal of the givcrypt interface.  In
      order to make the transition easier for blkcipher users, there
      is a helper SKCIPHER_REQUEST_ON_STACK which can be used to place
      a request on the stack for synchronous transforms.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      7a7ffe65
  17. 17 8月, 2015 2 次提交
  18. 14 7月, 2015 2 次提交
  19. 22 6月, 2015 1 次提交
    • H
      crypto: rng - Do not free default RNG when it becomes unused · 7cecadb7
      Herbert Xu 提交于
      Currently we free the default RNG when its use count hits zero.
      This was OK when the IV generators would latch onto the RNG at
      instance creation time and keep it until the instance is torn
      down.
      
      Now that IV generators only keep the RNG reference during init
      time this scheme causes the default RNG to come and go at a high
      frequencey.  This is highly undesirable as we want to keep a single
      RNG in use unless the admin wants it to be removed.
      
      This patch changes the scheme so that the system RNG once allocated
      is never removed unless a specifically requested.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      7cecadb7
  20. 19 6月, 2015 1 次提交
    • H
      crypto: aead - Fix aead_instance struct size · f5d8660a
      Herbert Xu 提交于
      The struct aead_instance is meant to extend struct crypto_instance
      by incorporating the extra members of struct aead_alg.  However,
      the current layout which is copied from shash/ahash does not specify
      the struct fully.  In particular only aead_alg is present.
      
      For shash/ahash this works because users there add extra headroom
      to sizeof(struct crypto_instance) when allocating the instance.
      Unfortunately for aead, this bit was lost when the new aead_instance
      was added.
      
      Rather than fixing it like shash/ahash, this patch simply expands
      struct aead_instance to contain what is supposed to be there, i.e.,
      adding struct crypto_instance.
      
      In order to not break existing AEAD users, this is done through an
      anonymous union.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      f5d8660a
  21. 17 6月, 2015 2 次提交
  22. 03 6月, 2015 3 次提交
  23. 28 5月, 2015 1 次提交
  24. 25 5月, 2015 1 次提交
  25. 22 5月, 2015 1 次提交
    • H
      crypto: seqiv - Add support for new AEAD interface · 856e3f40
      Herbert Xu 提交于
      This patch converts the seqiv IV generator to work with the new
      AEAD interface where IV generators are just normal AEAD algorithms.
      
      Full backwards compatibility is paramount at this point since
      no users have yet switched over to the new interface.  Nor can
      they switch to the new interface until IV generation is fully
      supported by it.
      
      So this means we are adding two versions of seqiv alongside the
      existing one.  The first one is the one that will be used when
      the underlying AEAD algorithm has switched over to the new AEAD
      interface.  The second one handles the current case where the
      underlying AEAD algorithm still uses the old interface.
      
      Both versions export themselves through the new AEAD interface.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      856e3f40