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
09 Feb, 2009
1 commit
-
It's illegal to call flush_dcache_page on slab pages on a number
of architectures. So this patch avoids doing so if PageSlab is
true.In future we can move the flush_dcache_page call to those page
cache users that actually need it.Reported-by: David S. Miller
Signed-off-by: Herbert Xu
11 Jan, 2008
4 commits
-
It's better to return silently than crash and burn when someone feeds us
a zero length. In particular the null digest algorithm when used as part
of authenc will do that to us.Signed-off-by: Herbert Xu
-
Unfortunately the generic chaining hasn't been ported to all architectures
yet, and notably not s390. So this patch restores the chainging that we've
been using previously which does work everywhere.Signed-off-by: Herbert Xu
-
The scatterwalk infrastructure is used by algorithms so it needs to
move out of crypto for future users that may live in drivers/crypto
or asm/*/crypto.Signed-off-by: Herbert Xu
-
This patch converts the crypto scatterwalk code to use the generic
scatterlist chaining rather the version specific to crypto.Signed-off-by: Herbert Xu
23 Oct, 2007
1 commit
-
Signed-off-by: Jens Axboe
16 Oct, 2007
1 commit
-
It's a subsystem function, prefix it as such.
Acked-by: Herbert Xu
Signed-off-by: Jens Axboe
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
-
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