diff options
Diffstat (limited to 'target/linux/apm821xx/patches-4.14/022-0004-crypto-crypto4xx-avoid-VLA-use.patch')
-rw-r--r-- | target/linux/apm821xx/patches-4.14/022-0004-crypto-crypto4xx-avoid-VLA-use.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/apm821xx/patches-4.14/022-0004-crypto-crypto4xx-avoid-VLA-use.patch b/target/linux/apm821xx/patches-4.14/022-0004-crypto-crypto4xx-avoid-VLA-use.patch index a3e1b8c7df..a1e9b4b41a 100644 --- a/target/linux/apm821xx/patches-4.14/022-0004-crypto-crypto4xx-avoid-VLA-use.patch +++ b/target/linux/apm821xx/patches-4.14/022-0004-crypto-crypto4xx-avoid-VLA-use.patch @@ -26,7 +26,7 @@ Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> if (ivlen) crypto4xx_memcpy_to_le32(iv, req->iv, ivlen); -@@ -270,13 +270,7 @@ static inline bool crypto4xx_aead_need_f +@@ -271,13 +271,7 @@ static inline bool crypto4xx_aead_need_f static int crypto4xx_aead_fallback(struct aead_request *req, struct crypto4xx_ctx *ctx, bool do_decrypt) { @@ -41,7 +41,7 @@ Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> aead_request_set_tfm(subreq, ctx->sw_cipher.aead); aead_request_set_callback(subreq, req->base.flags, -@@ -377,7 +371,7 @@ static int crypto4xx_crypt_aes_ccm(struc +@@ -378,7 +372,7 @@ static int crypto4xx_crypt_aes_ccm(struc struct crypto_aead *aead = crypto_aead_reqtfm(req); unsigned int len = req->cryptlen; __le32 iv[16]; @@ -50,7 +50,7 @@ Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> struct dynamic_sa_ctl *sa = (struct dynamic_sa_ctl *)tmp_sa; if (crypto4xx_aead_need_fallback(req, true, decrypt)) -@@ -386,7 +380,7 @@ static int crypto4xx_crypt_aes_ccm(struc +@@ -387,7 +381,7 @@ static int crypto4xx_crypt_aes_ccm(struc if (decrypt) len -= crypto_aead_authsize(aead); |