diff options
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 2012-10-20 15:06:56 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-10-24 21:10:55 +0800 |
commit | c12ab20b162c9414acadc18c6da6cfd3eea54b7b (patch) | |
tree | 01efc5cd0712cbab4cdd0b091cbe173c9dd9500f /arch/x86/include | |
parent | facd416fbc1cdee357730909a414898934f16ae1 (diff) | |
download | op-kernel-dev-c12ab20b162c9414acadc18c6da6cfd3eea54b7b.zip op-kernel-dev-c12ab20b162c9414acadc18c6da6cfd3eea54b7b.tar.gz |
crypto: cast5/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 ~5%.
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/x86/include')
0 files changed, 0 insertions, 0 deletions