From patchwork Sun Jan 27 09:16:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 156685 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2218821jaa; Sun, 27 Jan 2019 01:17:18 -0800 (PST) X-Google-Smtp-Source: ALg8bN6b7CyDu3v+zH0h/SqoCl1BpDl1Bb+p/zYMCjSUI3NF/285m2SCnot8X3+5INMZ8txoejCp X-Received: by 2002:a62:b9a:: with SMTP id 26mr17867789pfl.196.1548580638189; Sun, 27 Jan 2019 01:17:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548580638; cv=none; d=google.com; s=arc-20160816; b=K8SrPSfKIsmmXFJ2RYRn3ixnqePmReiFPOHLaxgfsSE36kjC9mEmDOwC7jnFJekePy S6+RTkTpCkLPMdZoQbulWj01OPZs+2xONzIWyKjvM/xnjEkNoIgLkxpkIS+0k3gsJOzN oxiLG4qEYBVhx4co09IevXMy83R72poasyzW6zw0W0ePt0j2Y6PuxPAuJoPEtJCgatdj jn0NX7uXYHK/qeb0zkzbxJdx/dHLTW9q9nuzBdS5B2tmiD2LBl93DGYsQZ/favHrMuCq f76vMX4ykdJvw5Uq2VqgRRBvT1PSm/exKiB96zEDSBEF3x4TwLqeAiyXAimPTbJLLIrR 68gA== 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=nwzFXZp4r2AeZe6qjoqonjhS/92kW8oVNzf0eM9qfFg=; b=gVt0pd07pNQVHOqF8hxY1oGWbhMESaknZwUTbDKWIDjBWQAvHyvyO9ba9MZYGm63HA 2b4vxIE7C3gi4dHQCEQU6KgoYTqPxyNPEn7IvTlo9U/O4PxS/0DyILFHu8HcSQOh2RgM XAr/qYXvmyrHyDccwpW1Ebd2ARzxsjVckiDHSvOu0oyg9diNL+gE7giNuqUs22/SdKyW iKX95Do/eipmwZh50l2OT0eOmGGyZFcmSJVzjTAOXBU8xGOxnLooU7sRbZN6Ztfzh5b8 l0ZelzIOhwd2nS4Hahy9pQ8CB/l+vNGc0dMp30q65ge0i5aC7TPCbkU1j59TBipGApym HF0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Xnme5J3X; 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 q24si5992230pgi.334.2019.01.27.01.17.17; Sun, 27 Jan 2019 01:17:18 -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=Xnme5J3X; 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 S1726408AbfA0JRP (ORCPT + 3 others); Sun, 27 Jan 2019 04:17:15 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:34095 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726327AbfA0JRP (ORCPT ); Sun, 27 Jan 2019 04:17:15 -0500 Received: by mail-wr1-f68.google.com with SMTP id f7so14667070wrp.1 for ; Sun, 27 Jan 2019 01:17:14 -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=nwzFXZp4r2AeZe6qjoqonjhS/92kW8oVNzf0eM9qfFg=; b=Xnme5J3XBKZj2C9GAtm2EM2IP1D8wCCO9UcMf8EHhwSUispE0nX5nG1vfJSXMjqqM7 9EXWJ4lvfkrg0iJCvJg8rLauwN4MNRPKkZQxzUFRJVGoQLzGf0YFKyixbg4+8ZjGvT5F QAwmfrZYA+4pogIFw4O3FQry0ezTwenSPBSxE= 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=nwzFXZp4r2AeZe6qjoqonjhS/92kW8oVNzf0eM9qfFg=; b=YdSh1M0pEJ3FS1kX016lAwI8KNoB2YevepSCZaCkFCe8ShWuOMAQI6neLbBA+/vGr9 fLiOdd7CtXxbzf0jD+KumM4tagVbGbpwQztWzxdxI3SvRcQfkjmwjuSgFqbEgsRx7MX7 b2IE8KE8p48egDagXDN3noec6hQGF8KbueBo5dRJXJl6fbI66K/Ifpj+lXafR2tYMrUf kt772j29DS/YbPmFXR18zvrOBZLcHtDcciv4sdCkEXVfoGQeONBaVdgRdnSziVte957a 3hPznuaXopKLiAwwpiz298FnellHLWLwQ68k/C2QT3P9OWgvCGyRPSfkCasASDCHSUgN rWDw== X-Gm-Message-State: AJcUuke+lk/YKApvhnpkWuPQ1JPOaqaz6BEp47cU385uVdY6yPaB8b7A H9ByCijAsB7h401fpXye3QXMIm/OziI7UQ== X-Received: by 2002:adf:aa9c:: with SMTP id h28mr17335102wrc.216.1548580633204; Sun, 27 Jan 2019 01:17:13 -0800 (PST) Received: from sudo.home ([2a01:cb1d:112:6f00:887d:32e9:9391:d3bf]) by smtp.gmail.com with ESMTPSA id o5sm45397013wrw.46.2019.01.27.01.17.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Jan 2019 01:17:12 -0800 (PST) From: Ard Biesheuvel To: linux-crypto@vger.kernel.org Cc: herbert@gondor.apana.org.au, ebiggers@kernel.org, Ard Biesheuvel Subject: [PATCH v3 0/4] crypto: fix crct10dif for ARM and arm64 Date: Sun, 27 Jan 2019 10:16:51 +0100 Message-Id: <20190127091655.6262-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 Fix the issues in both NEON implementations of the CRC-T10DIF routines, that were reported by Eric's new testing code. v3: - fix commit log to state 'at least 16 bytes' not 'more than 16 bytes' (#1-#2) - add Eric's R-b to all patches v2: - keep alignment specifiers where possible (#1) - clarify/fix commit log (#2) - add fixes/cc-stable/etc tags - add patches that drop the now unreacheable code (#3 - #4) Ard Biesheuvel (4): crypto: arm/crct10dif - revert to C code for short inputs crypto: arm64/crct10dif - revert to C code for short inputs crypto: arm/crct10dif - remove dead code crypto: arm64/crct10dif - remove dead code arch/arm/crypto/crct10dif-ce-core.S | 27 +++++--------------- arch/arm/crypto/crct10dif-ce-glue.c | 23 +++++------------ arch/arm64/crypto/crct10dif-ce-core.S | 11 -------- arch/arm64/crypto/crct10dif-ce-glue.c | 25 +++++------------- 4 files changed, 19 insertions(+), 67 deletions(-) -- 2.20.1