From: Shane Lontis Date: Sun, 15 Sep 2019 09:29:02 +0000 (+1000) Subject: Fix aesni_xts compile error X-Git-Tag: openssl-3.0.0-alpha1~1351 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f407a9a998f95f693a7127bc76a2c922dfaedbdb;p=oweals%2Fopenssl.git Fix aesni_xts compile error Block copy bug.. Reviewed-by: Richard Levitte (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 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; }