Commit Graph
4 Commits
Author SHA1 Message Date
Colin Ian King b1a4b182c1 crypto: brcm - fix spelling mistake: "fallbck" -> "fallback"
Trivial fix to spelling mistake in flow_log message

Signed-off-by: Colin Ian King <[email protected]>
Reviewed-by: Steve Lin <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
2017-06-19 14:19:52 +08:00
Corentin LABBE 1126d47db0 crypto: brcm - Use IPAD/OPAD constant
This patch simply replace all occurrence of HMAC IPAD/OPAD value by their
define.

Signed-off-by: Corentin Labbe <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
2017-05-23 12:52:06 +08:00
Rob Rice dcd36c436c crypto: brcm - Avoid double free in ahash_finup()
In Broadcom SPU driver, in case where incremental hash
is done in software in ahash_finup(), tmpbuf was freed
twice.

Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Rob Rice <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
2017-02-15 13:23:51 +08:00
Rob Rice 9d12ba86f8 crypto: brcm - Add Broadcom SPU driver
Add Broadcom Secure Processing Unit (SPU) crypto driver for SPU
hardware crypto offload. The driver supports ablkcipher, ahash,
and aead symmetric crypto operations.

Signed-off-by: Steve Lin <[email protected]>
Signed-off-by: Rob Rice <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
2017-02-11 17:55:20 +08:00