Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1032639ybp; Fri, 4 Oct 2019 08:35:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqwS1L7vZL4LbnsuYpE/Uv+P2433UDCXjSXrSJLIkzWEqJBpWxWvXozaH5QTvEUqG2lFC5Bp X-Received: by 2002:a05:6402:150a:: with SMTP id f10mr15576485edw.110.1570203350166; Fri, 04 Oct 2019 08:35:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570203350; cv=none; d=google.com; s=arc-20160816; b=xx9uSg06zy2Qb7N+RRPjgdQWsbuY3/KM1hGqWg0ZMLK18i1xOCgeANFZx0zgQHwYHV cvfHooZk6qVct2PpXj6FPzc4joLgK5ctxSLK6Nb0ZOa62d+aPc/QvDUDwak9xiGtfcVU RtGuX0Z1i4FShPz6QE3nQ9f2M/ko/WgxdGXBMc4ctO228eOBXdg720SPvjyAoRlr1dbU cdihEYw3AbaNMXgajGfdE22gtcDJUkpIo1bY8m9+w0rEA7nOqEW6Dn5GcP75Hz1N6+6q jM3Wyll5Vz0JpOCHsyZDvfYSQxkzP9dS4hXGNrT63ztY23unHd69ecGcxoOvUHFCPlZI 7XXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=EHEPH0znQpLNDvpWchmS5/pcQ9wb5ncOPlW9TZcx9bw=; b=Px0ryED88Jh2NdPzQRzmp8+SFaSAAuvw+f3pe3r5XVUcofiIyKB1pwGj2s55nQEZnP 3xGLD8JBcZhTJ3TnNOSpIWNZnNaHJXGlsmtPR+Jeb9Fqk4h2bNyjPGkaLR0dYvbv0LFJ HORii0NQlIajGOVJHU29t2mf1Kbn/BW5N4LlRHxe+jNT3jp66lrlasS5dPmPriU5kV59 dBYgnfEBaS3Hp8YCIVD0wC/t6hKWROPtOdCD6zrY/5rkIW5WoR2yspTZnW7LffGKlUwe YSdlOJfqg06HXahTzecK9gSHSA4fLgQrFOdhaFoAti6HRrnByhYfpkP4HFaHhFarSvM0 VP3w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x3si3874267eda.285.2019.10.04.08.35.24; Fri, 04 Oct 2019 08:35:50 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389614AbfJDPbk (ORCPT + 99 others); Fri, 4 Oct 2019 11:31:40 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:42408 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389556AbfJDPbk (ORCPT ); Fri, 4 Oct 2019 11:31:40 -0400 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.89 #2 (Debian)) id 1iGPYP-0000wZ-Tq; Sat, 05 Oct 2019 01:31:39 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Sat, 05 Oct 2019 01:31:37 +1000 Date: Sat, 5 Oct 2019 01:31:37 +1000 From: Herbert Xu To: Pascal van Leeuwen Cc: linux-crypto@vger.kernel.org, antoine.tenart@bootlin.com, davem@davemloft.net, Pascal van Leeuwen Subject: Re: [PATCHv3 0/3] crypto: inside-secure - Add support for (HMAC) SM3 Message-ID: <20191004153137.GG5148@gondor.apana.org.au> References: <1568388038-1268-1-git-send-email-pvanleeuwen@verimatrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1568388038-1268-1-git-send-email-pvanleeuwen@verimatrix.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Fri, Sep 13, 2019 at 05:20:35PM +0200, Pascal van Leeuwen wrote: > Extend driver support with sm3 and hmac(sm3) ahash support. > Also add GM/T 0042-2015 hmac(sm3) testvectors to the testmgr. > The patchset has been tested with the eip197c_iewxkbc configuration > on the Xilinx VCU118 development board, including the crypto extra tests. > > Note that this patchset applies on top of the earlier submitted > "Add support for the Chacha20 kcipher and the Chacha20-Poly..." series. > > changes since v1: > - incorporated feedback by Antoine Tenart, see individual patches for > details > > changes since v2: > - allow compilation if CONFIG_CRYPTO_SM3 is not set > > Pascal van Leeuwen (3): > crypto: inside-secure - Added support for basic SM3 ahash > crypto: inside-secure - Added support for HMAC-SM3 ahash > crypto: testmgr - Added testvectors for the hmac(sm3) ahash > > crypto/testmgr.c | 6 ++ > crypto/testmgr.h | 56 +++++++++++ > drivers/crypto/inside-secure/safexcel.c | 2 + > drivers/crypto/inside-secure/safexcel.h | 9 ++ > drivers/crypto/inside-secure/safexcel_hash.c | 134 +++++++++++++++++++++++++++ > 5 files changed, 207 insertions(+) All applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt