19 May, 2010

1 commit

  • We are done with the scattergather entry when the walk offset goes
    past sg->offset + sg->length, not when it crosses a page boundary.

    There is a similarly queer test in the second half of
    scatterwalk_pagedone() that probably needs some scrutiny.

    Signed-off-by: David S. Miller
    Signed-off-by: Herbert Xu

    David S. Miller
     

09 Feb, 2009

1 commit


11 Jan, 2008

4 commits


23 Oct, 2007

1 commit


16 Oct, 2007

1 commit


11 Oct, 2007

2 commits

  • When scatterwalk is built as a module digest.c was broken because it
    requires the crypto_km_types structure which is in scatterwalk. This
    patch removes the crypto_km_types structure by encoding the logic into
    crypto_kmap_type directly.

    In fact, this even saves a few bytes of code (not to mention the data
    structure itself) on i386 which is about the only place where it's
    needed.

    Signed-off-by: Herbert Xu

    Herbert Xu
     
  • This patch adds the function scatterwalk_map_and_copy which reads or
    writes a chunk of data from a scatterlist at a given offset. It will
    be used by authenc which would read/write the authentication data at
    the end of the cipher/plain text.

    Signed-off-by: Herbert Xu

    Herbert Xu