Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7797960ybi; Tue, 9 Jul 2019 04:34:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqw/R8vRYH2cwE5f78MyOl5mHEIFqJwLBUIuMkDLsTs9D1yxjTk8HkWB3ta1QSlf4r/LgAxi X-Received: by 2002:a17:902:8203:: with SMTP id x3mr31678789pln.304.1562672095244; Tue, 09 Jul 2019 04:34:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562672095; cv=none; d=google.com; s=arc-20160816; b=SEzBC3fneBQx3YRZoIasOv/rFoI7wM+wrld9GwxixhIqfALxAtO0kQEXPEqGk7t5Vg 1aeq+5ird3QVD4t6jXUPCLMp7jZzZ62+5GhGTEq2H1zruJKfNL3yXjH791YNXTBi5iTS xJD5FVTzEtgVsiDEr5m53cknWn5Mo6kx7mOv9J0LPpQD+J9mGfVJkuKtOc2acG/+XQtu UFsrmimjZLQfU5zAgCENvDeKVsZez7cdji+7KaUfOVZvZMjLoxkmV9OUrsspY5fwUSiu N+CDJo1DNnk9uMcmnDcS6Hf2MTm2q1N/g38s5MRLrAPOdhqYQqNbR5MNRYWg6hN2Z1+a 7I8g== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=CGzDFS1Bv4DEi06akjll6evAdaNH8lWyUH1GXoVHxZw=; b=IcXXRiRDukWFOykwq9y4Y9Zv7efqSPwcivCXlsPjdSmVXfpAZDtqDPJEl7SSk1h0Lv oz/AT3HxtWSrd4z+Lyrt7dSStQwrC57Zwcji489V2bxND94jZCdGMbRnsvppP+nl6joT IJYLNi5v2lDhXt8GW7uYHgQIqcig8rSRLJzXayZuLMa2XSo1GCqB2eMfQN4gen7BqVqh K1J8UQRQRFBU2si7/C7o2xm3PniGQmv9W+t13R5tEvrVikCdN58B9/IYt32t2N0r8OcE FY67eJMBt6vdJ9fLO0IYKUCZO8RB21iB4VbWi+4WgLNKsNkKgykUI8M6XVognw9D0eEy eCiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@benyossef-com.20150623.gappssmtp.com header.s=20150623 header.b=VlApBi7V; 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 y192si23670999pfg.172.2019.07.09.04.34.35; Tue, 09 Jul 2019 04:34:55 -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=pass header.i=@benyossef-com.20150623.gappssmtp.com header.s=20150623 header.b=VlApBi7V; 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 S1726060AbfGILed (ORCPT + 99 others); Tue, 9 Jul 2019 07:34:33 -0400 Received: from mail-vs1-f68.google.com ([209.85.217.68]:40615 "EHLO mail-vs1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726047AbfGILed (ORCPT ); Tue, 9 Jul 2019 07:34:33 -0400 Received: by mail-vs1-f68.google.com with SMTP id a186so10396823vsd.7 for ; Tue, 09 Jul 2019 04:34:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=benyossef-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=CGzDFS1Bv4DEi06akjll6evAdaNH8lWyUH1GXoVHxZw=; b=VlApBi7VP6O0l5TLW4xKUeP1IP3gld8yI+26iO6zNpYhHfvwdWFMhV+Ua7LqXaGheH XskVEtqaurt4yH7ETAnfX2RxLFGkcvxAXiNzliaEKP+vYZNjAHOxiFa83B4IxJ6XQSxr kF/5w5ghuo5E0iWmaQBioi2mFKAD7V+vqzFAxkuAxkAfj1khA/+I+uU3CE0dIAbxjjOo xRb6l5HMdw/MRvo9hTC/xjgj9L84BoTP6RZsCXAyH1cYLK9Ot+IchEqzH1EFi9OZ0bDB WY6ohWHHZdBq++Ck1jD52zIiPcFBfZmeouzQ88Q2JW+RV1p21DWtZCxSwSOUGMTMeBDe Pd2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=CGzDFS1Bv4DEi06akjll6evAdaNH8lWyUH1GXoVHxZw=; b=FbNx/hH8ONubuRGXiaG/xolDty1HWhcGxXE7bhWUEf9IRM/3F6TU9lyzW0/ZphtBv5 P9BOJRXrlo9dXtw4roFLWfQqghGwGeCC5nhv4Ee9Tjmy9pUK7xQ5VqosVSjzOzqYoktC yshU+L7Rl2IKobmdujs2o/t9cc4b5MeaX6e63+5OoxOI6G99kxuClBVqJaEL1wAk/tz/ L9nBBIqdWob31hJvk4wXkQShQmB9EiZ5wjW7bKymeWhMVvFUd+83RN7Tk4iZjb3aIRZt 5SMMejbLW7Le2S+DhsX5E2qp0qPHoGJiZzOUMqyyfZHlIu9Dhxq1CoSF4/7fiEOutWWi 5y/w== X-Gm-Message-State: APjAAAVT0dv5L6iG9S4TG604DPNMGJ7tQPOkNQXuaATwi0j6zJqwoOim eXZQCwGI5tG8UHgyhfQyfCw67U09IlZrcTfBJ02F+Q== X-Received: by 2002:a67:8081:: with SMTP id b123mr14107151vsd.117.1562672071964; Tue, 09 Jul 2019 04:34:31 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Gilad Ben-Yossef Date: Tue, 9 Jul 2019 14:34:21 +0300 Message-ID: Subject: Re: CAVS test harness To: "Bhat, Jayalakshmi Manjunath" Cc: "linux-crypto@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org 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 IPSe= c environment for certification. IPSec functionality is achieved by third p= arty 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 imp= lement CAVS test harness for Third party library and Linux crypto algorithm= s. 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 algo= rithms 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? Gilad --=20 Gilad Ben-Yossef Chief Coffee Drinker values of =CE=B2 will give rise to dom!