Skip to content
Snippets Groups Projects
This project is mirrored from https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git. Pull mirroring updated .
  1. Jul 14, 2009
    • Herbert Xu's avatar
      crypto: padlock - Switch sha to shash · bbbee467
      Herbert Xu authored
      
      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: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      bbbee467
  2. Jul 11, 2009
  3. Jun 25, 2009
  4. Jun 18, 2009
  5. Jun 17, 2009
Loading