Fix the issue that aes-xxx-siv algorithms failed in OpenSSL speed test
authorXiaokang Qian <xiaokang.qian@arm.com>
Tue, 12 Nov 2019 08:48:27 +0000 (08:48 +0000)
committerShane Lontis <shane.lontis@oracle.com>
Mon, 18 Nov 2019 23:31:04 +0000 (09:31 +1000)
commit3f8907e459313f0b3df3b328f0a16db565fbcea0
treea291ceb13377b329566f4fefcc53bf0ac9fe8776
parentbdbf2df2e685ae653f3c683ce2f734eb0c0888e0
Fix the issue that aes-xxx-siv algorithms failed in OpenSSL speed test

Speed test, aes-siv related cases fail on both x86 and arm.
The return value of siv_init() causes this problem, remove
the iv check to fix it.
Verify it locally, the result is pass.

Fixes #10416

Change-Id: If1a18599f3d0f56f22a1ce4f8f114b8db0f68cca

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/10419)
providers/implementations/ciphers/cipher_aes_siv.c