From patchwork Mon Aug 19 14:22:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 171637 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp3052178ily; Mon, 19 Aug 2019 07:22:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqzVL2pA+u0PDTDfxZdD0rdcCBe7SwS2ujfZDs9ZLvAaZQAE2VnzPJgG7dGiXxdHmI4oLZDR X-Received: by 2002:a17:902:fa5:: with SMTP id 34mr23004780plz.285.1566224551032; Mon, 19 Aug 2019 07:22:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566224551; cv=none; d=google.com; s=arc-20160816; b=ggB8XKUoXR6zgH4yaBRfSzgUgi48+0UV38ASIvHRZ/9WjMS3ClpWNDAidp1uOwFRDc s0zounsghLaXwQYDRICfn/XielsFzLLgwbFErIRz1QPTkA/PmddO1b1X1rh0HO91OuAi 96KPbqYqnnDdrdZLmHmEJz8zHhqGBoCloP9iCsMU99qoa7JbNQjVMZhnlgKtC1GDUAHp rHOVoAU6pASzJFKlFegCKXEPpk42/0I3GUQmhgFRDVhSVfuTwgVa/9Tp9kG5NKQNpxMa YemDBBRW9V5Z0hmC5Z/qMhBXG1kx5MMADACNK82XKl5d+FfILoyq3rBFIT+E6Dr0P202 SLNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=PugF/khGc++UobH1xigOCuI7JbK9qCa/EKqEGByRJRU=; b=TCVTCW+vStrn3mb5GonZe1uJvevphOlvt3SxyatfX8mkzuHh/RUd2nSL67Rse77/Uc rW0ysGomXUA6TBeSh8ryj5BRM4nDAyI7S1XET70VJpeRHnRZEthU1hIKvj8sxqBxgBpo nqnnIQiaUqEGvZbFTbB0jJEpf2eJsuy5MVkCxBUPQ7BwfL4Jl/0sFxXUUcCOvH3+w2xy J90ZhWRO5mOLIK1xcIAhY0KqZXpcdWlHY8Yvk5QBj6uCS4V3n2B914yh3fMqSeNcDL52 5V1PiN7BpVt7jSHE7WWj7Y/QdL3o8nnqKSDkTeWaZz9R0KNy/CTLv3+Q0yviPbg5Bzay 9Dtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Fzb/ft5n"; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u190si8919847pfb.189.2019.08.19.07.22.30; Mon, 19 Aug 2019 07:22:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Fzb/ft5n"; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726949AbfHSOW3 (ORCPT + 3 others); Mon, 19 Aug 2019 10:22:29 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:51083 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726028AbfHSOW3 (ORCPT ); Mon, 19 Aug 2019 10:22:29 -0400 Received: by mail-wm1-f65.google.com with SMTP id v15so1805490wml.0 for ; Mon, 19 Aug 2019 07:22:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=PugF/khGc++UobH1xigOCuI7JbK9qCa/EKqEGByRJRU=; b=Fzb/ft5nGpUaHHxIAvT13NCjBo86kQICK7LGGiczPOiObAmTUfRWmQdFcGoDz5rVAv e75NVMZufZNgJcLSCaalbU5QxV3w2uLA21z9/G3K2C3egqGTQqhYfljN4/iiBuoIONE1 xroek9zBQQN6Sp38EmjCAaudQ06dtG4R+qUL3lBYeztjO2FARCBLSKDsxI/SpqnZDcUN EZ3mk6VL0cvl4O+DcRVh1EIOCU7W/2mUxyoZOgGd6Ww9BzPiv2W5phftJVHMGk/jOVV3 Yx2KK7eTmyWo9GRCSQSV6gVs07x8WtAYFA+8vzft/TgFJ4+npsIg8Idfjv871m1/eG8W uobA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=PugF/khGc++UobH1xigOCuI7JbK9qCa/EKqEGByRJRU=; b=dTi45ID6AyBArIeGWBNj7G7mknOur+U4cG2WNNb2BGeVgnLOrBe/8EJeWvIXJVTrPG BJHLPQpqdnMA+ujPldcMWu9hwTy6GY+o1Ql60bvXuyBGTfekc7SwxJGhxip4ke6QHW+s w/A/9OwGVki9syt30R9T1HJ6j2pR5lEX4FQLGytAukK3FwMhXhuZEoUaPQOCofPiMVlJ b1AX3IP/bM9HC2Yw8m/J6V0PqnQTmX8mui+4TOkFRuXG+arkKoqoGfqeL+gdejSKszNK r0FoOYKWZIrC/J5j7CZsWXLwQSFAiYOdN1JFSAkNYpfWZt5XY5LmP9sUJ4lQuM33JfYU U5BA== X-Gm-Message-State: APjAAAVQZDVl/Ya0vHtYJPDxpfEQVscZDGK184XO+Z5ofvRrX9k+oY4o 6YTzTQ/lkO5qvxkqbkW7JqCQFg== X-Received: by 2002:a1c:7606:: with SMTP id r6mr20234780wmc.118.1566224547164; Mon, 19 Aug 2019 07:22:27 -0700 (PDT) Received: from localhost.localdomain (11.172.185.81.rev.sfr.net. [81.185.172.11]) by smtp.gmail.com with ESMTPSA id o17sm13643356wrx.60.2019.08.19.07.22.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Aug 2019 07:22:26 -0700 (PDT) From: Ard Biesheuvel To: linux-crypto@vger.kernel.org Cc: herbert@gondor.apana.org.au, Ard Biesheuvel , Krzysztof Kozlowski , Vladimir Zapolskiy , Kamil Konieczny , linux-samsung-soc@vger.kernel.org Subject: [PATCH 0/2] drivers/crypto - s5p fixes Date: Mon, 19 Aug 2019 17:22:24 +0300 Message-Id: <20190819142226.1703-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Fix a couple of issues in the s5p crypto driver that were caught in fuzz testing. Cc: Krzysztof Kozlowski Cc: Vladimir Zapolskiy Cc: Kamil Konieczny Cc: linux-samsung-soc@vger.kernel.org Ard Biesheuvel (2): crypto: s5p - deal gracefully with bogus input sizes crypto: s5p - use correct block size of 1 for ctr(aes) drivers/crypto/s5p-sss.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) -- 2.17.1