diff options
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 2012-10-20 15:06:41 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-10-24 21:10:54 +0800 |
commit | cba1cce05498d55f363c28cd2512368e95605518 (patch) | |
tree | a8728af2175a89a598b865c89dc2e3f08313c813 /arch/x86/realmode | |
parent | 58990986f1cba40c23c0c10592ace08616de3ffa (diff) | |
download | op-kernel-dev-cba1cce05498d55f363c28cd2512368e95605518.zip op-kernel-dev-cba1cce05498d55f363c28cd2512368e95605518.tar.gz |
crypto: cast6/avx - avoid using temporary stack buffers
Introduce new assembler functions to avoid use temporary stack buffers in
glue code. This also allows use of vector instructions for xoring output
in CTR and CBC modes and construction of IVs for CTR mode.
ECB mode sees ~0.5% decrease in speed because added one extra function
call. CBC mode decryption and CTR mode benefit from vector operations
and gain ~2%.
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/x86/realmode')
0 files changed, 0 insertions, 0 deletions