diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-12-07 11:52:49 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-01-10 22:16:32 +0100 |
commit | 42c271c6c538857cb13c5ead5184d264d745f675 (patch) | |
tree | 9f6a05c756be3fc3f35ae7fe9b333a33986a2f56 /crypto/scatterwalk.c | |
parent | [CRYPTO] aead: Return EBADMSG for ICV mismatch (diff) | |
download | linux-42c271c6c538857cb13c5ead5184d264d745f675.tar.xz linux-42c271c6c538857cb13c5ead5184d264d745f675.zip |
[CRYPTO] scatterwalk: Move scatterwalk.h to linux/crypto
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 <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/scatterwalk.c')
-rw-r--r-- | crypto/scatterwalk.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/scatterwalk.c b/crypto/scatterwalk.c index 206c39a97e57..12d19019e178 100644 --- a/crypto/scatterwalk.c +++ b/crypto/scatterwalk.c @@ -13,6 +13,8 @@ * any later version. * */ + +#include <crypto/scatterwalk.h> #include <linux/kernel.h> #include <linux/mm.h> #include <linux/module.h> @@ -20,9 +22,6 @@ #include <linux/highmem.h> #include <linux/scatterlist.h> -#include "internal.h" -#include "scatterwalk.h" - static inline void memcpy_dir(void *buf, void *sgdata, size_t nbytes, int out) { void *src = out ? buf : sgdata; |