diff options
author | Attila Fülöp <[email protected]> | 2020-10-30 23:24:21 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-10-30 15:24:21 -0700 |
commit | e8beeaa1116cc771360a24c9c1f9e6f47ced0e28 (patch) | |
tree | 2abe313d9fa753ef2ade6a19781641841d3b0c86 /contrib | |
parent | d9655c5b3723abc21dc2915e8d6aecf22d842527 (diff) |
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 <[email protected]>
Signed-off-by: Attila Fülöp <[email protected]>
Closes #11102
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions