summaryrefslogtreecommitdiff
path: root/net/llc/llc_c_ev.c
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2012-10-20 16:06:41 +0400
committerHerbert Xu <herbert@gondor.apana.org.au>2012-10-24 17:10:54 +0400
commitcba1cce05498d55f363c28cd2512368e95605518 (patch)
treea8728af2175a89a598b865c89dc2e3f08313c813 /net/llc/llc_c_ev.c
parent58990986f1cba40c23c0c10592ace08616de3ffa (diff)
downloadlinux-cba1cce05498d55f363c28cd2512368e95605518.tar.xz
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 'net/llc/llc_c_ev.c')
0 files changed, 0 insertions, 0 deletions