commit | 58990986f1cba40c23c0c10592ace08616de3ffa | [log] [tgz] |
---|---|---|
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | Sat Oct 20 15:06:36 2012 +0300 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Wed Oct 24 21:10:54 2012 +0800 |
tree | 84466698a28860d1457c804b857b2e97d1995fcb | |
parent | e080b17a8cec92ef42343989ae65c73c25529346 [diff] |
crypto: x86/glue_helper - use le128 instead of u128 for CTR mode 'u128' currently used for CTR mode is on little-endian 'long long' swapped and would require extra swap operations by SSE/AVX code. Use of le128 instead of u128 allows IV calculations to be done with vector registers easier. Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>