From b765f4be407ca407c8f446a0970aab8e7e93bffb Mon Sep 17 00:00:00 2001 From: Koen Vandeputte Date: Mon, 29 Apr 2019 13:01:53 +0200 Subject: kernel: bump 4.14 to 4.14.114 Refreshed all patches. Altered patches: - 150-bridge_allow_receiption_on_disabled_port.patch - 201-extra_optimization.patch Remove upstreamed: - 022-0006-crypto-crypto4xx-properly-set-IV-after-de-and-encryp.patch Compile-tested on: ar71xx, cns3xxx, imx6, x86_64 Runtime-tested on: ar71xx, cns3xxx, imx6 Signed-off-by: Koen Vandeputte --- ...rypto-crypto4xx-simplify-sa-and-state-context-acqui.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'target/linux/apm821xx/patches-4.14/020-0022-crypto-crypto4xx-simplify-sa-and-state-context-acqui.patch') 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 /* 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 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 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 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 /** * 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 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); -- cgit v1.2.3