crypto: bcm - fix normal/non key hash algorithm failure
authorRaveendra Padasalagi <raveendra.padasalagi@broadcom.com>
Tue, 6 Nov 2018 08:28:58 +0000 (13:58 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 16 Nov 2018 06:09:40 +0000 (14:09 +0800)
commit4f0129d13e69bad0363fd75553fb22897b32c379
tree16a5ab59940ede910d86ba4943d7c16d6821b226
parentecd6d5c9cba5fc6053ba21e3f8a4c536f65ea27a
crypto: bcm - fix normal/non key hash algorithm failure

Remove setkey() callback handler for normal/non key
hash algorithms and keep it for AES-CBC/CMAC which needs key.

Fixes: 9d12ba86f818 ("crypto: brcm - Add Broadcom SPU driver")
Signed-off-by: Raveendra Padasalagi <raveendra.padasalagi@broadcom.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/bcm/cipher.c