commit 439ecd91c92016175cc179c571f49ba92b3d32fb
parent c15eb14639160b34d29b41b5cb63bcf8c6db8198
Author: Drew DeVault <sir@cmpwn.com>
Date: Wed, 20 Apr 2022 17:39:31 +0200
aes: initialize blocksz for ni
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/crypto/aes/+x86_64/ni.ha b/crypto/aes/+x86_64/ni.ha
@@ -27,6 +27,8 @@ export fn x86ni_available() bool = {
// state.
export fn x86ni() x86ni_block = {
return x86ni_block {
+ blocksz = BLOCKSIZE,
+ nparallel = CT64_NPARALLEL,
encrypt = &x86ni_encrypt,
decrypt = &x86ni_decrypt,
finish = &x86ni_finish,