OpenCloudOS-Kernel/drivers/crypto/bcm
raveendra padasalagi a7e6e5d8b2 crypto: brcm - Fix SHA3-512 algorithm failure
In Broadcom SPU driver, due to missing break statement
in spu2_hash_xlate() while mapping SPU2 equivalent
SHA3-512 value, -EINVAL is chosen and hence leading to
failure of SHA3-512 algorithm. This patch fixes the same.

Fixes: 9d12ba86f8 ("crypto: brcm - Add Broadcom SPU driver")
Signed-off-by: Raveendra Padasalagi <raveendra.padasalagi@broadcom.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
Reviewed-by: Scott Branden <scott.branden@broadcom.com>
Cc: stable@vger.kernel.org
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2017-07-18 17:00:59 +08:00
..
Makefile crypto: brcm - Add Broadcom SPU driver 2017-02-11 17:55:20 +08:00
cipher.c crypto: brcm - fix spelling mistake: "fallbck" -> "fallback" 2017-06-19 14:19:52 +08:00
cipher.h crypto: brcm - Add Broadcom SPU driver 2017-02-11 17:55:20 +08:00
spu.c crypto: brcm - Add Broadcom SPU driver 2017-02-11 17:55:20 +08:00
spu.h crypto: brcm - Add Broadcom SPU driver 2017-02-11 17:55:20 +08:00
spu2.c crypto: brcm - Fix SHA3-512 algorithm failure 2017-07-18 17:00:59 +08:00
spu2.h crypto: brcm - Add Broadcom SPU driver 2017-02-11 17:55:20 +08:00
spum.h crypto: brcm - Add Broadcom SPU driver 2017-02-11 17:55:20 +08:00
util.c crypto: bcm - fix spelling mistake: "genereate" -> "generate" 2017-03-09 18:34:27 +08:00
util.h crypto: brcm - Add Broadcom SPU driver 2017-02-11 17:55:20 +08:00