From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CA7BBC43334 for ; Wed, 15 Jun 2022 23:04:52 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B79FE83B15; Thu, 16 Jun 2022 01:04:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="XR1/M89D"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2F5AE83E9A; Thu, 16 Jun 2022 01:04:49 +0200 (CEST) Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9B515839BD for ; Thu, 16 Jun 2022 01:04:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=loic.poulain@linaro.org Received: by mail-pj1-x102d.google.com with SMTP id g10-20020a17090a708a00b001ea8aadd42bso126842pjk.0 for ; Wed, 15 Jun 2022 16:04:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Uct/n8PVG705vZiOEGAoJfRpZmaUOZhU/HEdL7CKBBk=; b=XR1/M89DFLuRMq9VtCBMRB4sVVcPTabfqwhePPEFoJXOxRR2nVfeiZX6jZ8DAbYrEg zvX9JegWmuV9B4NWXWkkDkix3lflr0L1Ku6YtDQDDk4PFB2bOSukRpNHeYCPJ1TLEsd8 /pGQ6t3/qGp0xrMXW2kWfnk8VqGnEgjyU/5hrHlz4f7KUNVzNYRRP7c7MFHG3poALpAz vxxHuzbFs+qNpN1NVh5SGxR0IKJoZ7nom6+IeY7eaefCRYRRPhCSDVdem3fojoqlVtXA 1oXzPTbSWEg2w7Z8VOGliWyeEpFGcLa7HMZgr+SNCAUeoHk+f+vt1cVau5E3GUw6X/+m cmMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Uct/n8PVG705vZiOEGAoJfRpZmaUOZhU/HEdL7CKBBk=; b=Fr7RxQxQOXPE6JUEh678e/7DuBUwLohpwEVar6k1F61aqM+tZ204zUB7cFT0m7QaTx LdIsm3P+5lBuBMTSo+dmQk8/YzoJOpWHFFjeWGKdxX76seuS2G9sinmNMUDIN2fs/wuN csj+qyLcHgL9ELtsKF+vS+FrLxBOjaVG6KKz+/sKrCnQJfSPDL4+aP7vbU3WeuCGwW08 K14ov38imWQzzBmegMi8Rr2afpW+moCY4OD+8bG7pxbrmnjaI5uOgaooPdvrS7onCc9q 9bJeWC9gizRFeM45oQFT9boAXwDZ0N/v27wUzaPO8gZQ0IatwWH6h1mNPQk8EEhl/TbS 8Zfw== X-Gm-Message-State: AJIora9Qkyp6gOtjVKHgu8PMpIQMIr3qJqKcq5PT6RcYVBtbjIbxex7q hJS3a3pYEgKyFSFpFiIsMfDpiWk6HljyMVT5ZDPUsA== X-Google-Smtp-Source: AGRyM1sQAzdbc2gPO78maZazqN5BkqQ5zRXt2xbTEbIUuY30KgHDqnzpWVddEHo7I1jUYzMhFG8jZUzSCqCSRBmYaCA= X-Received: by 2002:a17:90b:1298:b0:1e3:49cb:85be with SMTP id fw24-20020a17090b129800b001e349cb85bemr1810539pjb.159.1655334284831; Wed, 15 Jun 2022 16:04:44 -0700 (PDT) MIME-Version: 1.0 References: <1654107991-598-1-git-send-email-loic.poulain@linaro.org> In-Reply-To: <1654107991-598-1-git-send-email-loic.poulain@linaro.org> From: Loic Poulain Date: Thu, 16 Jun 2022 01:04:07 +0200 Message-ID: Subject: Re: [PATCH v2 0/5] Add ARMv8 CE sha1/sha256 support To: trini@konsulko.com Cc: u-boot@lists.denx.de, michal.simek@xilinx.com, kettenis@openbsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean Hi Folks, Any comments on this series? Anyone else to CC? Thanks, Loic On Wed, 1 Jun 2022 at 20:26, Loic Poulain wrote: > > This series adds support for the SHA-1 and SHA-256 Secure Hash Algorithm > for CPUs that have support of the ARM v8 Crypto Extensions. It Improves > speed of integrity & signature checking procedures. > > V2: > - Add cover letter & sha256 support. > - Kconfig default 'y' only if SHA1 and SHA256 selected > > Loic Poulain (5): > lib: sha1: Add support for hardware specific sha1_process > sha1: Fix digest state size/type > armv8 SHA-1 using ARMv8 Crypto Extensions: > lib: sha256: Add support for hardware specific sha256_process > armv8 SHA-256 using ARMv8 Crypto Extensions > > arch/arm/cpu/armv8/Kconfig | 15 ++++ > arch/arm/cpu/armv8/Makefile | 2 + > arch/arm/cpu/armv8/sha1_ce_core.S | 132 +++++++++++++++++++++++++++++++++++ > arch/arm/cpu/armv8/sha1_ce_glue.c | 21 ++++++ > arch/arm/cpu/armv8/sha256_ce_core.S | 134 ++++++++++++++++++++++++++++++++++++ > arch/arm/cpu/armv8/sha256_ce_glue.c | 21 ++++++ > include/u-boot/sha1.h | 2 +- > lib/sha1.c | 26 +++++-- > lib/sha256.c | 26 +++++-- > 9 files changed, 364 insertions(+), 15 deletions(-) > create mode 100644 arch/arm/cpu/armv8/sha1_ce_core.S > create mode 100644 arch/arm/cpu/armv8/sha1_ce_glue.c > create mode 100644 arch/arm/cpu/armv8/sha256_ce_core.S > create mode 100644 arch/arm/cpu/armv8/sha256_ce_glue.c > > -- > 2.7.4 >