Fix Aes-xts potential failure on aarch64
authorXiaokangQian <xiaokang.qian@arm.com>
Tue, 13 Oct 2020 09:53:58 +0000 (09:53 +0000)
committerTomas Mraz <tmraz@fedoraproject.org>
Tue, 20 Oct 2020 11:45:01 +0000 (13:45 +0200)
commitec5059c3effc59457f4b539ed105123c0b702307
tree60ebc070230c1b5fc7db1242eb4c2a5ccd3bc184
parent6be235a0927473a2fddad83dd30ce4474ae53880
Fix Aes-xts potential failure on aarch64

Add return value for aarch64 in the init key function.
This will avoid overwriting the stream pointers of aarch64.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/13133)
providers/implementations/ciphers/cipher_aes_xts_hw.c