From patchwork Sat Feb 16 13:51: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: 158564 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp538606jaa; Sat, 16 Feb 2019 05:51:35 -0800 (PST) X-Google-Smtp-Source: AHgI3IZXBiuqhxGesXIfEGxmZWqsBzlJghEwPirAIRUZZWBD+C+qzpOWnW8wBnt2Rd9GIAsbEHh9 X-Received: by 2002:a17:902:aa44:: with SMTP id c4mr15413221plr.91.1550325095915; Sat, 16 Feb 2019 05:51:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550325095; cv=none; d=google.com; s=arc-20160816; b=ywTQZkqAzSAVtD5jFV/QnZPyxCtJi9+Ljo+pLi2NLaS5S6gbZ0CnzPfvtPmueXwVhu SF58mPS5/jvBcNHoOmKF5VLDvHEZLfwF+4I3+TDlwp49V9cGGOW9CdfZXan1TeJOfLfP oKvhGCzq0qWvRoiTJzRs0SeVSm8RsCx+3tdxVztA105EJ0C3VtPLr3PICxeifHqkHFYn ZameA9aiJUP0KMl6+Fn2AH/vqnwv9192e5s9K0f9botqTb2TQXNvP9eXyRBKYIxUNp9K YfHGGDDAzB/gVCEFVuPOLfUrfBDJUxj6cjWGadXg0WVzacrPqJrwahXcZLkBwwlWHoT9 4/Ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ZORToI5nt6PNzFypx/0DHWLVrDRL44b6utu7PDdTvuw=; b=zoDBzGnjcN5lqiFSMoCD0w8fYVV0VSLa3BazuhYqgSQ+ONXmyeUILkf8Eaqn/FERi2 OO/PS5QzQBwxB3h8NGi+N+N00QOSd6xhfkkejGhbA8Lil1OdkAzeUCGg6P3auee5af9s 0tkp0rBiLprF6AaxRCuXkeSIb+ETk2RwMGMZXGz6M1DuShbWHFH2f1ycXPYMaWGaIg7k ceBZe+D+SNVUUJUuLwkaaZxN6+VPKekMgMpnlHM0dvqnaCvVbEGIYZvcN9xeqYcS9Axf MQGtwaPpiyKIenC+F34QXkRP3Qqkx/r4nSZQ1poJz9cftVa5nlZST9g2bG1VdrEANF5/ tXJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=whdM0tjc; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 m188si8403303pfb.266.2019.02.16.05.51.35; Sat, 16 Feb 2019 05:51:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-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=whdM0tjc; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 S1726074AbfBPNve (ORCPT + 3 others); Sat, 16 Feb 2019 08:51:34 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:53710 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725769AbfBPNve (ORCPT ); Sat, 16 Feb 2019 08:51:34 -0500 Received: by mail-wm1-f67.google.com with SMTP id d15so12770606wmb.3 for ; Sat, 16 Feb 2019 05:51:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZORToI5nt6PNzFypx/0DHWLVrDRL44b6utu7PDdTvuw=; b=whdM0tjclRD1wScJxqOwNYxB99LYPFcBvQ4gFrsnqwlw3WAJSlEp7zHIX8L9EiRUp3 pAciCkaMh0GlFvPtdfKS9dEvnL2bCpZPfBwlg91Wp5ID8dn3Bvf92KuYSXeF6LmMT0M6 mJ9s/G9pLVtqgav+KnOgw6hQxxkIL9IB/dB835nuJnc5rVA3F36Ao5qKX6qo88zqvMjM CVFXMCbjf3cD13MMPT91N+Z90/QLi1xPY5WVe90c4aNt9NfFqXUuqCS+5R+51x27M7kN vWtyqn6yi1ePJyMSae7WEeJNzFcihL9IHYxCdiScW3OWIDO8BBMT31BulfrvhLAObRvU NTaA== 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:mime-version :content-transfer-encoding; bh=ZORToI5nt6PNzFypx/0DHWLVrDRL44b6utu7PDdTvuw=; b=CRN6qwq3idEWQ8q6Gr5apkxXfR0FH+wKelzc/SlWeK2Eb/FKe5V0xd/NMMP2jgIIb+ 50B/fSqibwYYuD7Yjxj3UIENuzZI1wmWmNTvMqTW1GpSU3LRLDT/EkjTVDek6/oBF8Ml dT5canC5wbSYAPuc7feYbW1+TH0s3EVKAvaA6AWE6NpV/nSAFfs7a1geywlfwQtTnsoY nvP7iYkjlUqar9FfBMHLC8T3Wzwyol9ZN/aqNovQBXwDhpr6gWZ7Gjh4bYOd3Chr5Q4q 27xYQNQORhm7hD/Am4i37fhUxIBKjMZ8ckBNLk9ecXj8wgTOuGuBS5jEwbu2tlPqS2Mw zozw== X-Gm-Message-State: AHQUAub9ZZVY+3tNVsFTJblmd+ECPNp6DcjiJpC0w59QLgC3uCMczbDr JCfs8OJ1TtwwPePtRgPo8FiZqAYqAQA= X-Received: by 2002:a1c:e344:: with SMTP id a65mr1495617wmh.117.1550325092088; Sat, 16 Feb 2019 05:51:32 -0800 (PST) Received: from sudo.home ([2a01:cb1d:112:6f00:8ee:778e:6c2d:d201]) by smtp.gmail.com with ESMTPSA id z17sm7452339wrs.75.2019.02.16.05.51.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 16 Feb 2019 05:51:30 -0800 (PST) From: Ard Biesheuvel To: linux-crypto@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, herbert@gondor.apana.org.au, ebiggers@kernel.org, Ard Biesheuvel Subject: [PATCH 0/2] SHA fixes for 32-bit ARM Date: Sat, 16 Feb 2019 14:51:24 +0100 Message-Id: <20190216135126.17290-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org A couple of fixes for a crash bugs in the scalar SHA code for ARM, taken from the OpenSSL project. This is triggered by a binutils change, and so they should probably be tagged for all stable (v4.4+) Ard Biesheuvel (2): crypto: sha256/arm - fix crash bug in Thumb2 build crypto: sha512/arm - fix crash bug in Thumb2 build arch/arm/crypto/sha256-armv4.pl | 3 ++- arch/arm/crypto/sha256-core.S_shipped | 3 ++- arch/arm/crypto/sha512-armv4.pl | 3 ++- arch/arm/crypto/sha512-core.S_shipped | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) -- 2.20.1