Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp312915imu; Fri, 25 Jan 2019 02:48:32 -0800 (PST) X-Google-Smtp-Source: ALg8bN7RJ38GIHhRvzqbKEIbrC+4XQYO33bHTJdO9Bt3Zm7hZKRpyaiI23TPZgLkraneGUfilHfR X-Received: by 2002:a17:902:2ec1:: with SMTP id r59mr10629457plb.254.1548413312750; Fri, 25 Jan 2019 02:48:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548413312; cv=none; d=google.com; s=arc-20160816; b=qQ0rXaGF8yJ5VKRkgwVfXlqvw3SKwEk+DYobt/ewm28Nj/TtER6WC1kGeBHsemsJBo bwQh9QNxIEQ+wQhZLoTzKc4vTahXVxo3F3fR/K5J8N9yCXCGQULI5EwFOHtqXW5aQ9QK t2Gk+8R1ZkTU1i6nJr2kqVi13ry3PYUxH3tldXyYSYIJlvqvmYLI4y1AqzyEkNX0Tgq4 gvrJgle2PIr4nTApzshKRbfaf12DrFLCxNt3IkDss0KmO9OICtB/Q6ObozXfa2DOkH7l J3vwg8yJVPURzt7ba0GjCdnPrKkDdFfHI22a9neIcfsuZyiEW2pfg+8Imvq1BES6OycJ GWUA== 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=2I4Hiab+AYP7kramND9D86Euh7oJiC0oxt1PMrQDYzo=; b=I+bEWKyuCjNObkOwiJA+CLmDzAYhw+VBUuqmKeuEiM4EHOIxWqmnp52iooCeogv6fe IFz6U6d76bra+F0HBYTOuGGX7hP8J3xIxez0smnLitUjj+1o1XZCOKZFBCP/w50jhDtm 2KX8eTkEzvYEEROdoM/JfdoGaKVLkpUO1uYZPdIjnfCfy0RZOt90J6rFKIVp4+5xWdGv ihNGHbcuEXImJxEv1FDBrm5k0nbVeIPV6E5dLiU6lol6qosRtQmjXoYNss8Ywiiw09Dd OPjpOsDzStk5Kz7v/rFhZY7zW5+XVe/UYCC05ixA3X9yq4UMEt4fihiUkURmPkQ8iZMi NVeA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 g83si26070374pfb.278.2019.01.25.02.48.17; Fri, 25 Jan 2019 02:48:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728063AbfAYKsG (ORCPT + 99 others); Fri, 25 Jan 2019 05:48:06 -0500 Received: from orcrist.hmeau.com ([104.223.48.154]:44452 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725909AbfAYKsF (ORCPT ); Fri, 25 Jan 2019 05:48:05 -0500 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1gmz1n-0005hb-SD; Fri, 25 Jan 2019 18:48:03 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1gmz1m-00026b-Gu; Fri, 25 Jan 2019 18:48:02 +0800 Date: Fri, 25 Jan 2019 18:48:02 +0800 From: Herbert Xu To: Xiongfeng Wang Cc: davem@davemloft.net, ebiggers@kernel.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, broonie@kernel.org, ard.biesheuvel@linaro.org, jonathan.cameron@huawei.com Subject: Re: [PATCH V3 0/5] Crypto Cleanup Message-ID: <20190125104802.edcc6ryexkqhtq7f@gondor.apana.org.au> References: <1547791095-48339-1-git-send-email-wangxiongfeng2@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1547791095-48339-1-git-send-email-wangxiongfeng2@huawei.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 18, 2019 at 01:58:10PM +0800, Xiongfeng Wang wrote: > The patchset introduce a helper to (un)register a array of crypto templates. > The following patches use this helper to simplify the code. This is also > a preparation for a coming patchset, which will register several crypto > templates. > > Changelog: > v2 -> v3: > remove the extra blank line in the fourth patch > change author to Xiongfeng Wang > v1 -> v2: > rebased to cryptodev, fix some format issue > > Xiongfeng Wang (5): > crypto: api - add a helper to (un)register a array of templates > crypto: ccm - use template array registering API to simplify the code > crypto: gcm - use template array registering API to simplify the code > crypto: ctr - use template array registering API to simplify the code > crypto: chacha20poly1305 - use template array registering API to > simplify the code > > crypto/algapi.c | 27 ++++++++++++++++ > crypto/ccm.c | 78 ++++++++++++++--------------------------------- > crypto/chacha20poly1305.c | 37 +++++++++------------- > crypto/ctr.c | 42 +++++++++---------------- > crypto/gcm.c | 73 ++++++++++++++------------------------------ > include/crypto/algapi.h | 2 ++ > 6 files changed, 103 insertions(+), 156 deletions(-) All applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt