]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix the aes-xts key-length checking condition and hw declaration.
authorJerry Shih <bignose1007@gmail.com>
Mon, 25 Sep 2023 00:42:23 +0000 (08:42 +0800)
committerHugo Landau <hlandau@openssl.org>
Thu, 26 Oct 2023 14:55:50 +0000 (15:55 +0100)
commita5871e951d3f3c3f0c498a0420c5ce1f53c425a5
tree1fb3d7d1dba6977d9d71d236147dd3a042a3493e
parentebecf322e52bf3cabaf36335c138712ae658503f
Fix the aes-xts key-length checking condition and hw declaration.

The argument `key-length` includes 2 sets of keys.

All declarations should under `PROV_CIPHER_HW_declare_xts()` macro.

Signed-off-by: Jerry Shih <jerry.shih@sifive.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21923)
providers/implementations/ciphers/cipher_aes_xts_hw.c