From f407a9a998f95f693a7127bc76a2c922dfaedbdb Mon Sep 17 00:00:00 2001 From: Shane Lontis Date: Sun, 15 Sep 2019 19:29:02 +1000 Subject: [PATCH] Fix aesni_xts compile error Block copy bug.. Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/9900) --- providers/common/ciphers/cipher_aes_xts_hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/common/ciphers/cipher_aes_xts_hw.c b/providers/common/ciphers/cipher_aes_xts_hw.c index 2b06c5bb4b..9ac70c4fa8 100644 --- a/providers/common/ciphers/cipher_aes_xts_hw.c +++ b/providers/common/ciphers/cipher_aes_xts_hw.c @@ -84,7 +84,7 @@ static int cipher_hw_aesni_xts_initkey(PROV_CIPHER_CTX *ctx, PROV_AES_XTS_CTX *xctx = (PROV_AES_XTS_CTX *)ctx; XTS_SET_KEY_FN(aesni_set_encrypt_key, aesni_set_decrypt_key, - aesni_xts_encrypt, aesni_decrypt, + aesni_encrypt, aesni_decrypt, aesni_xts_encrypt, aesni_xts_decrypt); return 1; } -- 2.25.1