Fix aesni_xts compile error Block copy bug.. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9900)
diff --git a/providers/common/ciphers/cipher_aes_xts_hw.c b/providers/common/ciphers/cipher_aes_xts_hw.c index 2b06c5b..9ac70c4 100644 --- a/providers/common/ciphers/cipher_aes_xts_hw.c +++ b/providers/common/ciphers/cipher_aes_xts_hw.c
@@ -84,7 +84,7 @@ 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; }