Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp228809imw; Fri, 15 Jul 2022 01:52:42 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vSSfzIzGGdoYbuU4QVKnD3k1VexRV1q/NKBwAMv0sBapHot3e943fYvOsKdIgu+qXg7BGR X-Received: by 2002:a17:906:cc17:b0:72b:4561:9153 with SMTP id ml23-20020a170906cc1700b0072b45619153mr12251991ejb.249.1657875162693; Fri, 15 Jul 2022 01:52:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657875162; cv=none; d=google.com; s=arc-20160816; b=0uhT2/eo9jn7tf4BLQegqlfbwP3RxgN0IQZFbpenXboLmGcvt8S6cInvb5N6231FzS NoUbeQ2XhtZOIZQVLI8BIgo4b0ZZ0GIlcbL/locpim5bJAs/nbJhSYR9VExaTpPv6d09 ef+2NaJQiO+fLayE3di/OVDPa8Cw7nTDMZPFq88o9tofRPVJMfhUd0bodvd6J1pC5p8b hsDhrtekE6DoXrgJ2p1l/ESbUvXkbAib41dMzG3N6HdnWZZqcZ0n4C9tZnJ25snph+gp OTkUrsRfiscBq2YsaK78CN9paz7DNBdb6F8RQFOKVa0Wn+HhORDQK/1peT9Cl3DpvHPS aY+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=XHEL+ZZsjRDGlRBglVh+kpXgQs/qu6hPfokN1RvYpnI=; b=EOyxn6ZEXaEjlTKmvV7TY/psPhBobAKAuw4QsJgtRnJJl5zQUzvjvWCocb77bUndN9 1ROOAAEEYplbRVDnYOdArWvXGN3jR0cqwoztJRtYCpx4nFcM0Niqy0pSp6FKkUjklHiq HqKKyAroC6e/bVAqG0+LMQzi6o6Jr0J6dWq+o3W2My1jBQ744zV7RmbbWX5qRYLN00bH O3KcWsleAnjsRpyzaBuzBnEoA73RWEU6kXOCEZzejHdeDHZgPwKrCRZueh2iATDURWgu 0ek9R4qiSt70+I+lSnOcVyjIgRHdovHBB6YqVtUiqKT4lPeyHMP1wcIlcrhS0UImneSI csTg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h18-20020aa7cdd2000000b0043a1a920b8esi4554139edw.169.2022.07.15.01.52.16; Fri, 15 Jul 2022 01:52:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232078AbiGOIrL (ORCPT + 99 others); Fri, 15 Jul 2022 04:47:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231902AbiGOIrJ (ORCPT ); Fri, 15 Jul 2022 04:47:09 -0400 Received: from fornost.hmeau.com (helcar.hmeau.com [216.24.177.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92E7F814B4; Fri, 15 Jul 2022 01:47:07 -0700 (PDT) Received: from gwarestrin.arnor.me.apana.org.au ([192.168.103.7]) by fornost.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1oCGyA-000nqB-Ie; Fri, 15 Jul 2022 18:46:44 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 15 Jul 2022 16:46:42 +0800 Date: Fri, 15 Jul 2022 16:46:42 +0800 From: Herbert Xu To: Taehee Yoo Cc: linux-crypto@vger.kernel.org, davem@davemloft.net, borisp@nvidia.com, john.fastabend@gmail.com, daniel@iogearbox.net, kuba@kernel.org, edumazet@google.com, pabeni@redhat.com, netdev@vger.kernel.org Subject: Re: [PATCH v2 0/3] crypto: Introduce ARIA symmetric cipher algorithm Message-ID: References: <20220704094250.4265-1-ap420073@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220704094250.4265-1-ap420073@gmail.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Mon, Jul 04, 2022 at 09:42:47AM +0000, Taehee Yoo wrote: > This patchset adds a new ARIA(RFC 5794) symmetric cipher algorithm. > > Like SEED, the ARIA is a standard cipher algorithm in South Korea. > Especially Government and Banking industry have been using this algorithm. > So the implementation of ARIA will be useful for them and network vendors. > > Usecases of this algorithm are TLS[1], and IPSec. > > It is tested in x86 and MIPS with the tcrypt module. > > The first patch is an implementation of ARIA algorithm. > The second patch adds tests for ARIA. > The third patch adds ARIA-kTLS feature. > > ARIA128-kTLS Benchmark results: > openssl-3.0-dev and iperf-ssl are used. > TLS > [ 3] 0.0- 1.0 sec 185 MBytes 1.55 Gbits/sec > [ 3] 1.0- 2.0 sec 186 MBytes 1.56 Gbits/sec > [ 3] 2.0- 3.0 sec 186 MBytes 1.56 Gbits/sec > [ 3] 3.0- 4.0 sec 186 MBytes 1.56 Gbits/sec > [ 3] 4.0- 5.0 sec 186 MBytes 1.56 Gbits/sec > [ 3] 0.0- 5.0 sec 927 MBytes 1.56 Gbits/sec > kTLS > [ 3] 0.0- 1.0 sec 198 MBytes 1.66 Gbits/sec > [ 3] 1.0- 2.0 sec 194 MBytes 1.62 Gbits/sec > [ 3] 2.0- 3.0 sec 194 MBytes 1.63 Gbits/sec > [ 3] 3.0- 4.0 sec 194 MBytes 1.63 Gbits/sec > [ 3] 4.0- 5.0 sec 194 MBytes 1.62 Gbits/sec > [ 3] 0.0- 5.0 sec 974 MBytes 1.63 Gbits/sec > > The previous patch version[2]. > > [1] https://datatracker.ietf.org/doc/html/rfc6209 > [2] https://www.spinics.net/lists/linux-crypto/msg64704.html > > v2: > - Add ARIA-kTLS feature. > > Taehee Yoo (3): > crypto: Implement ARIA symmetric cipher algorithm > crypto: add ARIA testmgr tests > net: tls: Add ARIA-GCM algorithm > > crypto/Kconfig | 15 + > crypto/Makefile | 1 + > crypto/aria.c | 288 ++++ > crypto/tcrypt.c | 38 +- > crypto/testmgr.c | 31 + > crypto/testmgr.h | 2860 ++++++++++++++++++++++++++++++++++++++ > include/crypto/aria.h | 461 ++++++ > include/uapi/linux/tls.h | 30 + > net/tls/tls_main.c | 62 + > net/tls/tls_sw.c | 34 + > 10 files changed, 3819 insertions(+), 1 deletion(-) > create mode 100644 crypto/aria.c > create mode 100644 include/crypto/aria.h Patches 1-2 applied. Thanks. Note that I adjusted the tcrypt test numbers to accommodate for other additions. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt