mirror_zfs/module/icp/algs
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
..
aes Prefix zfs internal endian checks with _ZFS 2020-07-28 13:02:49 -07:00
edonr Prefix zfs internal endian checks with _ZFS 2020-07-28 13:02:49 -07:00
modes ICP: gcm: Allocate hash subkey table separately 2020-10-30 15:24:21 -07:00
sha1 Prefix zfs internal endian checks with _ZFS 2020-07-28 13:02:49 -07:00
sha2 Prefix zfs internal endian checks with _ZFS 2020-07-28 13:02:49 -07:00
skein Prefix zfs internal endian checks with _ZFS 2020-07-28 13:02:49 -07:00