]> git.baikalelectronics.ru Git - kernel.git/commit
[CRYPTO] scatterwalk: Add scatterwalk_map_and_copy
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 29 Aug 2007 08:31:34 +0000 (16:31 +0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:55:42 +0000 (16:55 -0700)
commitee13a415559e30fd05b32d47e6ff40050cb6ac8c
tree4e1fe825e9e45e0d4dab028b8188fe1ceff1f768
parentf27e9d3b5fbac62e78bce59dbffe2c012b9f27d7
[CRYPTO] scatterwalk: Add scatterwalk_map_and_copy

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@gondor.apana.org.au>
crypto/scatterwalk.c
crypto/scatterwalk.h