Commit c76c9ec3 authored by Dan Carpenter's avatar Dan Carpenter Committed by Herbert Xu

crypto: spacc - Add a new line in spacc_open()

Put the break statement should be on its own line.
Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 5d22d37a
...@@ -1904,7 +1904,8 @@ int spacc_open(struct spacc_device *spacc, int enc, int hash, int ctxid, ...@@ -1904,7 +1904,8 @@ int spacc_open(struct spacc_device *spacc, int enc, int hash, int ctxid,
ctrl |= SPACC_CTRL_SET(SPACC_CTRL_HASH_ALG, ctrl |= SPACC_CTRL_SET(SPACC_CTRL_HASH_ALG,
H_SHAKE256); H_SHAKE256);
ctrl |= SPACC_CTRL_SET(SPACC_CTRL_HASH_MODE, ctrl |= SPACC_CTRL_SET(SPACC_CTRL_HASH_MODE,
HM_SHAKE_KMAC); break; HM_SHAKE_KMAC);
break;
case CRYPTO_MODE_MAC_KMACXOF128: case CRYPTO_MODE_MAC_KMACXOF128:
ctrl |= SPACC_CTRL_SET(SPACC_CTRL_HASH_ALG, ctrl |= SPACC_CTRL_SET(SPACC_CTRL_HASH_ALG,
H_SHAKE128); H_SHAKE128);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment