summaryrefslogtreecommitdiff
path: root/crypto/sha256.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2006-08-12 21:56:17 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2006-09-21 11:41:52 +1000
commitcf262766f8dbab3498cbbb983c80cb2b05b21837 (patch)
tree6c02c269c8a4a9922847c57e0341bb15ce83423f /crypto/sha256.c
parenta753d494bb98ba0d4e4f3d96d9a1f506a48ffbfc (diff)
downloadlinux-crypto-cf262766f8dbab3498cbbb983c80cb2b05b21837.tar.gz
linux-crypto-cf262766f8dbab3498cbbb983c80cb2b05b21837.zip
[CRYPTO] scatterwalk: Prepare for block ciphers
This patch prepares the scatterwalk code for use by the new block cipher type. Firstly it halves the size of scatter_walk on 32-bit platforms. This is important as we allocate at least two of these objects on the stack for each block cipher operation. It also exports the symbols since the block cipher code can be built as a module. Finally there is a hack in scatterwalk_unmap that relies on progress being made. Unfortunately, for hardware crypto we can't guarantee progress to be made since the hardware can fail. So this also gets rid of the hack by not advancing the address returned by scatterwalk_map. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/sha256.c')
0 files changed, 0 insertions, 0 deletions