Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1026912iob; Fri, 13 May 2022 20:09:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysh+xByQ9g/ZcT6/6EKucUYA+ZCJzz6Go5x4nt8XEIn+gHa+5CAkD3hmkGLCA1yMDH1BsH X-Received: by 2002:a05:600c:1151:b0:394:6816:d4f2 with SMTP id z17-20020a05600c115100b003946816d4f2mr17611682wmz.195.1652497796408; Fri, 13 May 2022 20:09:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652497796; cv=none; d=google.com; s=arc-20160816; b=jB3C4P6ATOLHoKCJIJDad2WXgliWnGbXxEFXs7T6CuCiKK9uFpapz9bmN+vEBJfV4D ZYIbct1U4KEtxZiUJhFsh6W9sar9IH1l2TOKSi3rMQxxh5lfD3wkI6qyr3XDRqwbXWHT L27zioRJYcGzbQh3m6ONu2xC5ZKsGBmCRVEdY5/rlM/Ql89mnkkgn0ybX4qeDZFg+34f qpwsQvpFqoYfXR9PsdVAUoB8wF4OZzEd1chTmY35rNCP4Afe7ughdv6yJLcCaFM316dV K7apMBGLJ5+x3DA12cLMEbsbJaBYwUDpHnqKOkW1ATNOalJVoglAsedD2FGk3Bxg5p7w AVgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=YiscHCJHMgi1oHGKt46oSAX7BJQ7MgtDGJai8XhZKQM=; b=mtILsKxg5yh8E1I5F1ZOHJM9WgA8KWrfmUiDvTLbZsIE/5tCW+VzsBVq3tZrJ5S8Dy EPA9KkIxTjOE737DJ/e8zNw0kZS2pc//51udymBs9aHAoVSN8Z1phOPlub+5w3u5YPEZ 3FIn8YBRjzmGVIaqqDhgKqdu1tZMWlO6Og6pTTJisKTGkR085HHuCxICs5cLQ5x9Q90d d2Of0mJLTB8lolUI7LbQ+sIo6s/HMeeccZNRdtUBH9cjjy/XeTM+qgPFYyYHjDjgFtz9 W0kTXybomNgRLOytWBlrnQzHqmwHbLb/6dvbZOritNlNdtcHkfnQF74cZTqF+v3ByAyn crww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Igyw7RsN; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id o9-20020a05600002c900b0020cf9078859si1080411wry.168.2022.05.13.20.09.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 20:09:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Igyw7RsN; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1F4B13C6EFC; Fri, 13 May 2022 16:50:47 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379442AbiEMKfZ (ORCPT + 99 others); Fri, 13 May 2022 06:35:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359854AbiEMKfZ (ORCPT ); Fri, 13 May 2022 06:35:25 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 20BD61E0588 for ; Fri, 13 May 2022 03:35:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1652438122; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YiscHCJHMgi1oHGKt46oSAX7BJQ7MgtDGJai8XhZKQM=; b=Igyw7RsNgrkpVhMCxEC7G8FsRttoJ8prG97RJpo8UQABRq2uuP4cU9aIzYD56kQhvnSLeL znprV8uEDY/mVFQkL2r0VnC2DpNf9/Z081SU7EkuOrWKbTt+nFyhW/AjUAhv+JtQ7QcNhJ L/Pr2SYuQqSS8/xgKReobSubjl1IXhk= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-122-_1tPb89cP_ucF1NJo3oLuQ-1; Fri, 13 May 2022 06:35:19 -0400 X-MC-Unique: _1tPb89cP_ucF1NJo3oLuQ-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 93EB0294EDE5; Fri, 13 May 2022 10:35:18 +0000 (UTC) Received: from redhat.com (unknown [10.33.36.124]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 74DAA40D2820; Fri, 13 May 2022 10:35:16 +0000 (UTC) Date: Fri, 13 May 2022 11:35:14 +0100 From: Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= To: zhenwei pi Cc: mst@redhat.com, arei.gonglei@huawei.com, qemu-devel@nongnu.org, virtualization@lists.linux-foundation.org, linux-crypto@vger.kernel.org, helei.sig11@bytedance.com, jasowang@redhat.com, cohuck@redhat.com Subject: Re: [PATCH v5 8/9] tests/crypto: Add test suite for RSA keys Message-ID: Reply-To: Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= References: <20220428135943.178254-1-pizhenwei@bytedance.com> <20220428135943.178254-9-pizhenwei@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220428135943.178254-9-pizhenwei@bytedance.com> User-Agent: Mutt/2.2.1 (2022-02-19) X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Thu, Apr 28, 2022 at 09:59:42PM +0800, zhenwei pi wrote: > From: Lei He > > As Daniel suggested, Add tests suite for rsakey, as a way to prove > that we can handle DER errors correctly. > > Signed-off-by: lei he > --- > tests/unit/test-crypto-akcipher.c | 285 +++++++++++++++++++++++++++++- > 1 file changed, 282 insertions(+), 3 deletions(-) Reviewed-by: Daniel P. Berrangé With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|