afalg: add some memory initialisation calls to pacify memory sanitisation.
authorPauli <pauli@openssl.org>
Wed, 30 Jun 2021 00:21:17 +0000 (10:21 +1000)
committerPauli <pauli@openssl.org>
Thu, 1 Jul 2021 03:18:58 +0000 (13:18 +1000)
commit514b76917c36836ae4243392e71785f01d8233c9
tree175e56d3d4a2742f5a72e8ae92a2fc917c68b5c3
parentd720e60357c0a477ff547edac539d15b0a9e320e
afalg: add some memory initialisation calls to pacify memory sanitisation.

The engine is modifying memory without the sanitiser realising.  By pre-
initialising this memory, the sanitiser now thinks that read accesses are okay.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/15952)
engines/e_afalg.c
test/afalgtest.c