1. 10 Dec, 2008 1 commit
  2. 08 Dec, 2008 1 commit
    • Dan Williams's avatar
      async_xor: dma_map destination DMA_BIDIRECTIONAL · a06d568f
      Dan Williams authored
      
      Mapping the destination multiple times is a misuse of the dma-api.
      Since the destination may be reused as a source, ensure that it is only
      mapped once and that it is mapped bidirectionally.  This appears to add
      ugliness on the unmap side in that it always reads back the destination
      address from the descriptor, but gcc can determine that dma_unmap is a
      nop and not emit the code that calculates its arguments.
      
      Cc: <stable@kernel.org>
      Cc: Saeed Bishara <saeed@marvell.com>
      Acked-by: default avatarYuri Tikhonov <yur@emcraft.com>
      Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
      a06d568f
  3. 14 Sep, 2008 1 commit
  4. 08 Sep, 2008 1 commit
  5. 05 Sep, 2008 1 commit
  6. 29 Aug, 2008 14 commits
  7. 22 Aug, 2008 1 commit
    • Herbert Xu's avatar
      crypto: authenc - Avoid using clobbered request pointer · a697690b
      Herbert Xu authored
      
      Authenc works in two stages for encryption, it first encrypts and
      then computes an ICV.  The context memory of the request is used
      by both operations.  The problem is that when an asynchronous
      encryption completes, we will compute the ICV and then reread the
      context memory of the encryption to get the original request.
      
      It just happens that we have a buffer of 16 bytes in front of the
      request pointer, so ICVs of 16 bytes (such as SHA1) do not trigger
      the bug.  However, any attempt to uses a larger ICV instantly kills
      the machine when the first asynchronous encryption is completed.
      
      This patch fixes this by saving the request pointer before we start
      the ICV computation.
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      a697690b
  8. 13 Aug, 2008 2 commits
  9. 05 Aug, 2008 1 commit
  10. 18 Jul, 2008 5 commits
  11. 15 Jul, 2008 1 commit
  12. 10 Jul, 2008 11 commits