diff options
author | Dave Watson <davejwatson@fb.com> | 2018-12-10 22:59:59 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-12-23 06:52:43 +0300 |
commit | 603f8c3b0dbbe21fabb7e005f57883b21aaadd82 (patch) | |
tree | b65b9ea71cfb5d33331e6ce2b128d83fc4e16b6c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e044d5056396029cc12ed5354aa2a073b747195a (diff) | |
download | linux-603f8c3b0dbbe21fabb7e005f57883b21aaadd82.tar.xz |
crypto: aesni - Add scatter/gather avx stubs, and use them in C
Add the appropriate scatter/gather stubs to the avx asm.
In the C code, we can now always use crypt_by_sg, since both
sse and asm code now support scatter/gather.
Introduce a new struct, aesni_gcm_tfm, that is initialized on
startup to point to either the SSE, AVX, or AVX2 versions of the
four necessary encryption/decryption routines.
GENX_OPTSIZE is still checked at the start of crypt_by_sg. The
total size of the data is checked, since the additional overhead
is in the init function, calculating additional HashKeys.
Signed-off-by: Dave Watson <davejwatson@fb.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions