diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2019-09-15 19:29:02 +1000 |
---|---|---|
committer | Shane Lontis <shane.lontis@oracle.com> | 2019-09-15 19:29:02 +1000 |
commit | f407a9a998f95f693a7127bc76a2c922dfaedbdb (patch) | |
tree | 56a994c9d2748d08369e96a45ca66f8435e550bc | |
parent | 64c1e74572f16a3e7c225f66fe85a3451ad39e68 (diff) |
Fix aesni_xts compile error
Block copy bug..
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9900)
-rw-r--r-- | providers/common/ciphers/cipher_aes_xts_hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |