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 X-Spam-Level: X-Spam-Status: No, score=-13.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 539F0C43464 for ; Fri, 18 Sep 2020 13:36:18 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B28CF20795 for ; Fri, 18 Sep 2020 13:36:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="wTcowJF0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B28CF20795 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=QzQKY3sBFFutUGJ1R3ZtuOzq4uWOnXW2DVp6FjKw9p8=; b=wTcowJF0zsw8F/24rYJi6RXPT lkIoGlCkjtM9cScH6ypoFmElW+1jmEaPwZVgCOjQlaHncM5Aqqr1QgDQdBWKV6AN9/Y6avKrUlO0k GUu1VDJh/umx0KgbZ5GzFn23EfUX78aOckX/lTsxbNLNqcVO0S+5kdnrskgcljmBJz0nexqiE99o8 dSPTA5Sgk4oR9ptEHdyn3w/dj7FIU4SAMQOijYrMqYDrI0iHj6ZZoMniQvZrBf1t0cF1qSQKm3LcE /nl5z+r6Lac2y6bwVg3QAu60x/zRtZBHUdCDR4ZAb94z0xIa3NQKBEEqpoaxuCy4Aa+NF+B69LNGJ dN+Fgox5Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kJGXK-0003Qo-Sf; Fri, 18 Sep 2020 13:34:50 +0000 Received: from out30-130.freemail.mail.aliyun.com ([115.124.30.130]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kJGXH-0003Mc-7g for linux-arm-kernel@lists.infradead.org; Fri, 18 Sep 2020 13:34:48 +0000 X-Alimail-AntiSpam: AC=PASS; BC=-1|-1; BR=01201311R911e4; CH=green; DM=||false|; DS=||; FP=0|-1|-1|-1|0|-1|-1|-1; HT=e01e01424; MF=tianjia.zhang@linux.alibaba.com; NM=1; PH=DS; RN=30; SR=0; TI=SMTPD_---0U9K7wHw_1600436072; Received: from B-455UMD6M-2027.local(mailfrom:tianjia.zhang@linux.alibaba.com fp:SMTPD_---0U9K7wHw_1600436072) by smtp.aliyun-inc.com(127.0.0.1); Fri, 18 Sep 2020 21:34:34 +0800 Subject: Re: [PATCH v6 5/8] crypto: testmgr - support test with different ciphertext per encryption To: Herbert Xu References: <20200903131242.128665-1-tianjia.zhang@linux.alibaba.com> <20200903131242.128665-6-tianjia.zhang@linux.alibaba.com> <20200918064721.GA9520@gondor.apana.org.au> From: Tianjia Zhang Message-ID: <861bc3cc-2119-0325-33ea-828bd7e8544d@linux.alibaba.com> Date: Fri, 18 Sep 2020 21:34:32 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.2.2 MIME-Version: 1.0 In-Reply-To: <20200918064721.GA9520@gondor.apana.org.au> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200918_093447_544280_A731A1E1 X-CRM114-Status: GOOD ( 17.74 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stephan Mueller , Brendan Higgins , Jia Zhang , Mimi Zohar , Vitaly Chikunov , keyrings@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, Masahiro Yamada , James Morris , Lakshmi Ramasubramanian , Marcelo Henrique Cerri , Waiman Long , "Serge E. Hallyn" , Alexandre Torgue , "Steven Rostedt \(VMware\)" , Gilad Ben-Yossef , Tushar Sugandhi , linux-arm-kernel@lists.infradead.org, David Howells , Pascal van Leeuwen , linux-kernel@vger.kernel.org, Xufeng Zhang , linux-security-module@vger.kernel.org, linux-crypto@vger.kernel.org, Maxime Coquelin , Johannes Weiner , Colin Ian King , Andrew Morton , "David S. Miller" Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 9/18/20 2:47 PM, Herbert Xu wrote: > On Thu, Sep 03, 2020 at 09:12:39PM +0800, Tianjia Zhang wrote: >> Some asymmetric algorithms will get different ciphertext after >> each encryption, such as SM2, and let testmgr support the testing >> of such algorithms. >> >> In struct akcipher_testvec, set c and c_size to be empty, skip >> the comparison of the ciphertext, and compare the decrypted >> plaintext with m to achieve the test purpose. >> >> Signed-off-by: Tianjia Zhang >> Tested-by: Xufeng Zhang >> --- >> crypto/testmgr.c | 7 ++++++- >> 1 file changed, 6 insertions(+), 1 deletion(-) > > Is there supposed to be another patch that contains test vectors? > > Thanks, > Yes, I was negligent. It is necessary to provide a test vector and I will support it as soon as possible. Thanks, Tianjia _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel