crypto/nx: Use kzalloc for workmem allocation
authorHaren Myneni <haren@linux.vnet.ibm.com>
Thu, 31 Aug 2017 07:17:25 +0000 (00:17 -0700)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 1 Sep 2017 06:42:50 +0000 (16:42 +1000)
commitf05368336b3ae399f66cf511c52c6d69c7bc6b39
treeebfd02211faedc45f8862c2df7c7dba29d37bd52
parentcd38a8a8a2ab95e43a031410db6a32f2d84e3fc0
crypto/nx: Use kzalloc for workmem allocation

Send window is opened / closed for each crypto session.
So initializes txwin in workmem.

Signed-off-by: Haren Myneni <haren@us.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/crypto/nx/nx-842.c