1. 18 Jul, 2016 5 commits
    • Herbert Xu's avatar
      crypto: authencesn - Use skcipher · e75445a8
      Herbert Xu authored
      This patch converts authencesn to use the new skcipher interface as
      opposed to ablkcipher.
      
      It also fixes a little bug where if a sync version of authencesn
      is requested we may still end up using an async ahash.  This should
      have no effect as none of the authencesn users can request for a
      sync authencesn.
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      e75445a8
    • Herbert Xu's avatar
      crypto: authenc - Use skcipher · 7217d49f
      Herbert Xu authored
      This patch converts authenc to use the new skcipher interface as
      opposed to ablkcipher.
      
      It also fixes a little bug where if a sync version of authenc
      is requested we may still end up using an async ahash.  This should
      have no effect as none of the authenc users can request for a
      sync authenc.
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      7217d49f
    • Herbert Xu's avatar
      crypto: aead - Add chunk size · 7a530aa9
      Herbert Xu authored
      This patch adds a chunk size parameter to aead algorithms, just
      like the chunk size for skcipher algorithms.
      
      However, unlike skcipher we do not currently export this to AEAD
      users.  It is only meant to be used by AEAD implementors for now.
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      7a530aa9
    • Herbert Xu's avatar
      crypto: null - Add new default null skcipher · a0129733
      Herbert Xu authored
      Current the default null skcipher is actually a crypto_blkcipher.
      This patch creates a synchronous crypto_skcipher version of the
      null cipher which unfortunately has to settle for the name skcipher2.
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      a0129733
    • Herbert Xu's avatar
      crypto: skcipher - Add low-level skcipher interface · 4e6c3df4
      Herbert Xu authored
      This patch allows skcipher algorithms and instances to be created
      and registered with the crypto API.  They are accessible through
      the top-level skcipher interface, along with ablkcipher/blkcipher
      algorithms and instances.
      
      This patch also introduces a new parameter called chunk size
      which is meant for ciphers such as CTR and CTS which ostensibly
      can handle arbitrary lengths, but still behave like block ciphers
      in that you can only process a partial block at the very end.
      
      For these ciphers the block size will continue to be set to 1
      as it is now while the chunk size will be set to the underlying
      block size.
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      4e6c3df4
  2. 12 Jul, 2016 1 commit
  3. 11 Jul, 2016 3 commits
  4. 05 Jul, 2016 10 commits
  5. 03 Jul, 2016 1 commit
  6. 01 Jul, 2016 20 commits