diff options
Diffstat (limited to 'target/linux/apm821xx/patches-4.14/020-0022-crypto-crypto4xx-simplify-sa-and-state-context-acqui.patch')
-rw-r--r-- | target/linux/apm821xx/patches-4.14/020-0022-crypto-crypto4xx-simplify-sa-and-state-context-acqui.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/apm821xx/patches-4.14/020-0022-crypto-crypto4xx-simplify-sa-and-state-context-acqui.patch b/target/linux/apm821xx/patches-4.14/020-0022-crypto-crypto4xx-simplify-sa-and-state-context-acqui.patch index 06ab798f5b..55c85005af 100644 --- a/target/linux/apm821xx/patches-4.14/020-0022-crypto-crypto4xx-simplify-sa-and-state-context-acqui.patch +++ b/target/linux/apm821xx/patches-4.14/020-0022-crypto-crypto4xx-simplify-sa-and-state-context-acqui.patch @@ -42,7 +42,7 @@ Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> /* Setup SA */ sa = ctx->sa_in; -@@ -203,8 +196,8 @@ int crypto4xx_setkey_rfc3686(struct cryp +@@ -204,8 +197,8 @@ int crypto4xx_setkey_rfc3686(struct cryp if (rc) return rc; @@ -53,7 +53,7 @@ Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> return 0; } -@@ -213,7 +206,7 @@ int crypto4xx_rfc3686_encrypt(struct abl +@@ -214,7 +207,7 @@ int crypto4xx_rfc3686_encrypt(struct abl { struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); __le32 iv[AES_IV_SIZE / 4] = { @@ -62,7 +62,7 @@ Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> cpu_to_le32p((u32 *) req->info), cpu_to_le32p((u32 *) (req->info + 4)), cpu_to_le32(1) }; -@@ -227,7 +220,7 @@ int crypto4xx_rfc3686_decrypt(struct abl +@@ -228,7 +221,7 @@ int crypto4xx_rfc3686_decrypt(struct abl { struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); __le32 iv[AES_IV_SIZE / 4] = { @@ -71,7 +71,7 @@ Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> cpu_to_le32p((u32 *) req->info), cpu_to_le32p((u32 *) (req->info + 4)), cpu_to_le32(1) }; -@@ -254,21 +247,13 @@ static int crypto4xx_hash_alg_init(struc +@@ -255,21 +248,13 @@ static int crypto4xx_hash_alg_init(struc ctx->dev = my_alg->dev; /* Create SA */ @@ -167,7 +167,7 @@ Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> /** * alloc memory for the gather ring * no need to alloc buf for the ring -@@ -883,8 +852,6 @@ static int crypto4xx_alg_init(struct cry +@@ -892,8 +861,6 @@ static int crypto4xx_alg_init(struct cry ctx->dev = amcc_alg->dev; ctx->sa_in = NULL; ctx->sa_out = NULL; @@ -176,7 +176,7 @@ Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> ctx->sa_len = 0; switch (alg->cra_flags & CRYPTO_ALG_TYPE_MASK) { -@@ -905,7 +872,6 @@ static void crypto4xx_alg_exit(struct cr +@@ -914,7 +881,6 @@ static void crypto4xx_alg_exit(struct cr struct crypto4xx_ctx *ctx = crypto_tfm_ctx(tfm); crypto4xx_free_sa(ctx); |