crypto/octeontx: reset session private data
authorAnkur Dwivedi <adwivedi@marvell.com>
Fri, 3 Jul 2020 05:41:39 +0000 (11:11 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 8 Jul 2020 16:16:16 +0000 (18:16 +0200)
commit0b345f41675af1b4ce55889bcec62ca59147f937
tree9cf69fcc124320fc5050b41759bda837e4fa561c
parent966b43fd996b7394b871c0482bcc16b884e3fd5d
crypto/octeontx: 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/octeontx/otx_cryptodev_ops.c