crypto/octeontx2: reset session private data
authorAnkur Dwivedi <adwivedi@marvell.com>
Fri, 3 Jul 2020 05:41:40 +0000 (11:11 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 8 Jul 2020 16:16:16 +0000 (18:16 +0200)
commit04907345dbdae82de7b68e8a4b222d9e3df44def
treeb3cae829bf0ab2f0a9fb7309540d9394cfc27828
parent0b345f41675af1b4ce55889bcec62ca59147f937
crypto/octeontx2: reset session private data

This patch sets the first 32 bytes of session private data
to zero. This prevents garbage data to be used in code logic.

Signed-off-by: Ankur Dwivedi <adwivedi@marvell.com>
drivers/crypto/octeontx2/otx2_cryptodev_ops.c