Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3942157ybc; Tue, 26 Nov 2019 01:00:48 -0800 (PST) X-Google-Smtp-Source: APXvYqzu/Ccw8bxYLBMa7x6gOY93Qy4YV7M14yDXWuNo1unyB266H3tUCOtEiwWhBcbsEaA3/QG4 X-Received: by 2002:a17:906:600b:: with SMTP id o11mr41515390ejj.175.1574758848080; Tue, 26 Nov 2019 01:00:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574758848; cv=none; d=google.com; s=arc-20160816; b=k2LVxRge3AxwAggFomGXxvTiaweI5MkTQUzCkYaSmucmXYNEw+54r65ArCDsMf3ILi s9YCZVi2YSlZ5h8fywBk8YuWs9Cu0V2mVE0UtJx13f53KJ1ykCjq93x+vb/h7JIDlJiu fEBlOZRCILDwpTowZk2cDvQvKGDTaFYiRfgEiaIm8UcgK4BU/Q2ORjjPIUPQ0hMSO0xq QUBMMHOPzBMwRbet42l+9eIAiX2uGepMEs50poecKkzWQ0YF8rFKwpWGFZtx/2tSJNnV DZLFNsqWsOv5HU35ENJkZZxQgwZffQ6bN1IWElgPw7/YF19CL8ObSsDD0/8g8sFCWFfX 5bwQ== 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=hLnVQ0iiiucnHzaMe9txnl/Sfg+M7C9Ty849XNTSuoY=; b=f5q4FsFMvM9HciI2e9+r81huh6RT7lvjRch6vH+RXisP4+VCcaT6cqdkCGl4eDPAY7 rjFQG6epJ8sDaiqqUF4/sgGSp4Q6PIdFhmraiwBhjCplu4P1an4zQpk/iKVM7T70Bf35 CvtQuD1+cFx3jAaFN8Q7IUwqLImfb3WxT5R3OnJMStwb1d3DXmh+N9GInhbH5cgNNFr8 PDWx60VF9NkK10KcPw+ETzFFZl6cJ3wKK7jr0d+MWyuLC+EVwyqDj5916VDxKJllFaVf mktfjiEXE/yc+ErwhINV9pkGEwoTymjTyjv+qzVE8uZguKwW7TQu+lBgGGYMnwqeIBD3 mcxQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 j38si9313328eda.384.2019.11.26.01.00.15; Tue, 26 Nov 2019 01:00:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-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-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726346AbfKZI7i (ORCPT + 99 others); Tue, 26 Nov 2019 03:59:38 -0500 Received: from helcar.hmeau.com ([216.24.177.18]:59694 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725862AbfKZI7i (ORCPT ); Tue, 26 Nov 2019 03:59:38 -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 1iZWh6-0006kF-W1; Tue, 26 Nov 2019 16:59:37 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1iZWh4-0003cQ-PT; Tue, 26 Nov 2019 16:59:34 +0800 Date: Tue, 26 Nov 2019 16:59:34 +0800 From: Herbert Xu To: Harald Freudenberger Cc: linux-crypto@vger.kernel.org, ebiggers@kernel.org, heiko.carstens@de.ibm.com, gor@linux.ibm.com Subject: Re: [PATCH 3/3] crypto/testmgr: add selftests for paes-s390 Message-ID: <20191126085934.w5h3h2zjpqebknpe@gondor.apana.org.au> References: <20191113105523.8007-1-freude@linux.ibm.com> <20191113105523.8007-4-freude@linux.ibm.com> <20191122081611.vznhvhouim6hnehc@gondor.apana.org.au> <88154ccf-84e8-17d1-1917-b8deeff20311@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <88154ccf-84e8-17d1-1917-b8deeff20311@linux.ibm.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Fri, Nov 22, 2019 at 10:11:30AM +0100, Harald Freudenberger wrote: > > I thought about this too. But it would require to implement own versions of > alg_test_skcipher() and test_skcipher() and test_skcipher_vs_generic_impl() > and that's a lot of complicated code unique for paes within testmgr.c > I'd like to avoid. I don't think you have to do test_skcipher_vs_generic_impl right away. Just supporting the normal test vectors should be the same as your current patch with the advantage that any changes to the generic test vectors will be picked up automatically for paes. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt