mirror_zfs/module/icp
Attila Fülöp e8beeaa111
ICP: gcm: Allocate hash subkey table separately
While evaluating other assembler implementations it turns out that
the precomputed hash subkey tables vary in size, from 8*16 bytes
(avx2/avx512) up to 48*16 bytes (avx512-vaes), depending on the
implementation.

To be able to handle the size differences later, allocate
`gcm_Htable` dynamically rather then having a fixed size array, and
adapt consumers.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Attila Fülöp <attila@fueloep.org>
Closes #11102
2020-10-30 15:24:21 -07:00
..
algs ICP: gcm: Allocate hash subkey table separately 2020-10-30 15:24:21 -07:00
api Remove checks for null out value in encryption paths 2020-03-26 10:41:57 -07:00
asm-x86_64 ICP: gcm: Allocate hash subkey table separately 2020-10-30 15:24:21 -07:00
core Mark functions as static 2020-06-18 12:20:38 -07:00
include ICP: gcm: Allocate hash subkey table separately 2020-10-30 15:24:21 -07:00
io ICP: gcm: Allocate hash subkey table separately 2020-10-30 15:24:21 -07:00
os Replace sprintf()->snprintf() and strcpy()->strlcpy() 2020-06-07 11:42:12 -07:00
spi Fix strdup conflict on other platforms 2019-10-10 09:47:06 -07:00
illumos-crypto.c Fix typos in modules/icp/ 2019-08-30 14:26:07 -07:00
Makefile.in Cleanup linux module kbuild files 2020-06-10 09:24:15 -07:00