Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10414343ybi; Thu, 11 Jul 2019 05:00:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqwl/M5tfKG9D9ud3EnZjdTHLcyn8Iwi226F4uIZLnHGN9zMI7a1gvexFlY04/bm3DwGQCjJ X-Received: by 2002:a63:f4e:: with SMTP id 14mr4094185pgp.58.1562846443760; Thu, 11 Jul 2019 05:00:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562846443; cv=none; d=google.com; s=arc-20160816; b=yNHliOn1ft+54rcInyyz4lHiw8YKfFLQNdzVE488prwiKNkcYhWj1YZDUQiJrEYPO3 xXMTmz8+Rr/vhGeeqPJJSKwoUvaTqcfuKDnRrklYtYdBrKvcZHxmvhhAUIUO1Cl14R7v oOfJUm6tjXs9ApQ4YxMwEnlooOAKspzsan67mOkwTOOeEdVHJOJKIyYajI+ENvuFqAYb VBfi3xygmi5ydhELmmDsUmWmt5PY0U0vifFGhrVk0KQLi4UIFflIqbREJrxFRmHtX7vn si2LTdXYWtxWnA9hj/sYmDoGH7GdaDQrrB9ERPziE9JHmwZZTTWkcd0JAmX56HtsRqtE nN5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=FYeHa/LQBgNc1fXBsPNk0LV3l5dXWty8yWc+ydNtiKs=; b=y67KmO2tgNpkO6BF3QI95G2WwyJjmUMKytXa5yBRptYS/uPduX1FCeQqA85uqkOCqr XHG5vnPQDyJeYXryjvY+dB9Om4a0jVDmSwsO6B7mD+GiVMugpItasvl/ONhoYXO+wT3N Fn1w8p4dEus1QrJVhjz+L2dHpyM2WNH0QXSgvRATLLF/fLRuAKUeSKlz0EiE5j5uVmQu k2uTVDrGJ8/IAUT0Kit5tnpF98GAhsimaOYFVNu2EPbcrEhMNYyrR93ptbrJANEvU+q5 Vg2x8IFegFVHW1NF3jSamFufdTUlrfsTUnkc891hGdK/SCoBJI9vUksjBo/zvkV1ytli hQ0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@chronox.de header.s=strato-dkim-0002 header.b=Y9zNsnLf; 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 q4si5184093pfg.286.2019.07.11.05.00.30; Thu, 11 Jul 2019 05:00:43 -0700 (PDT) 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; dkim=fail header.i=@chronox.de header.s=strato-dkim-0002 header.b=Y9zNsnLf; 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 S1728488AbfGKMAH (ORCPT + 99 others); Thu, 11 Jul 2019 08:00:07 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.160]:15462 "EHLO mo4-p00-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728578AbfGKMAH (ORCPT ); Thu, 11 Jul 2019 08:00:07 -0400 X-Greylist: delayed 359 seconds by postgrey-1.27 at vger.kernel.org; Thu, 11 Jul 2019 08:00:06 EDT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1562846405; s=strato-dkim-0002; d=chronox.de; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=FYeHa/LQBgNc1fXBsPNk0LV3l5dXWty8yWc+ydNtiKs=; b=Y9zNsnLfuCVgwIimRHQa+YyfobVsWuBepdqJSq5O/fYzoQ+1FXqf5Og/Nh5OTx/nb9 HJN89Ha6EVuwiPPKpxQZgHy2hznKnya5LT4dKBa6zaZe4/xK6my7q9dCyWUupaOBZNMO +zsQpWQB8p8i/GKDzr93u5NjtQIoj9F3xmtahY/V6lBlAW5/0195tzn6W/zNk0YVm+sh HVEet4YNbFPnEXCOWyVpqjtzySzDskaQabmCQ4kkWgw1uR/NejVzwaNMgDgrYF/7hcGG lBZpEL3xXVMxiDk52/lPlZlUdUjID5oSlVXygFcU28pEBhAyar5TM8UuQ5UZ1B+FqQi7 UeXA== X-RZG-AUTH: ":P2ERcEykfu11Y98lp/T7+hdri+uKZK8TKWEqNyiHySGSa9k9xm0dNS3IdRcRALiq2+M=" X-RZG-CLASS-ID: mo00 Received: from tauon.chronox.de by smtp.strato.de (RZmta 44.24 DYNA|AUTH) with ESMTPSA id 9078d1v6BBs5wqk (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Thu, 11 Jul 2019 13:54:05 +0200 (CEST) From: Stephan Mueller To: Gilad Ben-Yossef Cc: "Bhat, Jayalakshmi Manjunath" , "linux-crypto@vger.kernel.org" Subject: Re: CAVS test harness Date: Thu, 11 Jul 2019 13:54:05 +0200 Message-ID: <2656048.2Ru0tYgSs3@tauon.chronox.de> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Am Dienstag, 9. Juli 2019, 13:34:21 CEST schrieb Gilad Ben-Yossef: Hi Gilad, > On Tue, Jul 9, 2019 at 9:44 AM Bhat, Jayalakshmi Manjunath > > wrote: > > Hi All, > > > > We are working on a product that requires NIAP certification and use IPSec > > environment for certification. IPSec functionality is achieved by third > > party IPsec library and native XFRM. Third party IPsec library is used > > for ISAKMP and XFRM for IPsec. > > > > CAVS test cases are required for NIAP certification. Thus we need to > > implement CAVS test harness for Third party library and Linux crypto > > algorithms. I found the documentation on kernel crypto API usage. > > > > Please can you indication what is the right method to implement the test > > harness for Linux crypto algorithms. 1. Should I implement CAVS test > > harness for Linux kernel crypto algorithms as a user space application > > that exercise the kernel crypto API? 2. Should I implement CAVS > > test harness as module in Linux kernel? > > > > > > Any information on this will help me very much on implementation. > > Are you sure the needed tests are not already implemented in the > kernel crypto API testmgr? The testmgr implements the power-on self tests required by FIPS 140-2. But CAVS testing implies that there is a large set of test vectors which need to be processed by the crypto implementations. These test vectors are generated anew for each test round. Only the test approach remains stable. > > Gilad Ciao Stephan