crypto: sun8i-ss - Add SS_START define
Instead of using an hardcoded value, let's use a defined value for SS_START. Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
106aaab3fc
commit
f1455b18ee
@ -61,7 +61,7 @@ int sun8i_ss_run_task(struct sun8i_ss_dev *ss, struct sun8i_cipher_req_ctx *rctx
|
||||
const char *name)
|
||||
{
|
||||
int flow = rctx->flow;
|
||||
u32 v = 1;
|
||||
u32 v = SS_START;
|
||||
int i;
|
||||
|
||||
#ifdef CONFIG_CRYPTO_DEV_SUN8I_SS_DEBUG
|
||||
|
@ -13,6 +13,8 @@
|
||||
#include <linux/debugfs.h>
|
||||
#include <linux/crypto.h>
|
||||
|
||||
#define SS_START 1
|
||||
|
||||
#define SS_ENCRYPTION 0
|
||||
#define SS_DECRYPTION BIT(6)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user