kernel: bump 4.14 to 4.14.114
[oweals/openwrt.git] / target / linux / apm821xx / patches-4.14 / 022-0004-crypto-crypto4xx-avoid-VLA-use.patch
index a3e1b8c7df24dfbdbb657aa0444bfc03655671a3..a1e9b4b41a11476b88336c7a46811bb9212ce8a5 100644 (file)
@@ -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);