Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1717821rwi; Thu, 13 Oct 2022 18:46:34 -0700 (PDT) X-Google-Smtp-Source: AMsMyM73+BUMy2M9S8FGZ/N7MaGo78Cm1K/DLJDzzJ9kd+N90xYj9QQaruGkLktHlj1syggchpZi X-Received: by 2002:aa7:cc8e:0:b0:457:23db:f0cc with SMTP id p14-20020aa7cc8e000000b0045723dbf0ccmr2194356edt.122.1665711994107; Thu, 13 Oct 2022 18:46:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665711994; cv=none; d=google.com; s=arc-20160816; b=zq9GpXnp8YvVqdWxu8Oj8clBjss0tuA9cfXhW8U4WBKYGBWoIkOPqpX0Y+Vc8K12xq REIUJWCNfLwFXhxKm2R1NfGeoMB8apBbVg8034fBT0zqmIDcskzauU9ZyMywSPjprCre qBVz6+XMEwEbaD61ws/IKC0q3fEZNbnZb7VioIJG77EIdJVurcISJG4LZUU+qyHhOqLO yLPQnMqIjE8VI94NHxQZTrdmdfWCXH415hcyowAQtcEylseXInfrUWoG4bOWniDRHHqm +JksHYm8A11ZTyZHiaRrAKPWHFOnbvSzW5Lm2C1kQNUCULHAZE2EeKGvXdI6lrg/plt7 g9EA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=s308lOJuZyrvSn0LW7yVhmc6N7AGvRmxfATWPWm/gNw=; b=HyC2bwdOIZfd6bpBZKJdDBJo2O7VF1xgktJghZ3UmAq4Ai8pbB5yV23lBaPYZm1sbI NnXdYQTmn5oS2PCIQHvUaY4+K217BEHY99YTO878Rzyy/mc1soYnJ/8E59Ebs3JwD4zt OQxPSn+Qq7fe8+6mVUVFOIxClo+BtsZegOJCYw4gz/02uwAYU7cdAPHU5SofJmF7WpGb 2C/JSEmbICh+jCvvbZ2bdPnhDMNkm0GpV/VGhuWw9IzVM/KJEfqinbL03vLQroa10Jsv e8f+pt6Mc5XDs9LEKgWpqU7KUnf30V3if6JMgRVEayVwFpKAjBgo52JK0rxw0s7h6vqN B1mA== 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id di8-20020a170906730800b00777be437681si1137251ejc.984.2022.10.13.18.46.08; Thu, 13 Oct 2022 18:46:34 -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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229462AbiJNBnp (ORCPT + 99 others); Thu, 13 Oct 2022 21:43:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229543AbiJNBno (ORCPT ); Thu, 13 Oct 2022 21:43:44 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD22B1A2093; Thu, 13 Oct 2022 18:43:42 -0700 (PDT) Received: from dggpemm500024.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4MpTZH5s3fzmVFq; Fri, 14 Oct 2022 09:39:03 +0800 (CST) Received: from dggpemm500005.china.huawei.com (7.185.36.74) by dggpemm500024.china.huawei.com (7.185.36.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 14 Oct 2022 09:43:40 +0800 Received: from [10.67.103.232] (10.67.103.232) by dggpemm500005.china.huawei.com (7.185.36.74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 14 Oct 2022 09:43:40 +0800 Message-ID: <09d0686b-1955-c63d-c02d-fb0d2db42672@huawei.com> Date: Fri, 14 Oct 2022 09:43:40 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.1.2 Subject: Re: [RFC PATCH 0/6] crypto: benchmark - add the crypto benchmark To: Herbert Xu CC: , , , References: <20220919120537.39258-1-shenyang39@huawei.com> <3dd984c1-d17f-0a6a-c52e-87e161f867fc@huawei.com> From: Yang Shen In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.103.232] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggpemm500005.china.huawei.com (7.185.36.74) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,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 在 2022/9/30 12:51, Herbert Xu 写道: > On Wed, Sep 21, 2022 at 04:19:18PM +0800, Yang Shen wrote: >> I know the tcrypt.ko has the speed test cases. But the tcrypt.ko test case >> is fixed. >> If I understand correctly, the design model of tcrypt.ko is test the >> algorithms with >> determined case conditions. It can provide some standardized testing to >> ensure >> that the implementation of the algorithm meets the requirements. This is a >> reasonable developer test tool, but it is not flexible enough for testers >> and users. > How about improving tcrypt then? We're not going to have two things > in the kernel that do the same thing unless you provide a clear path > of eliminating one of them. > > Cheers, Got it. I'll try to support this on the tcrypt. Thanks, Yang