From patchwork Fri Sep 27 08:16:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 174601 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp3172661ill; Fri, 27 Sep 2019 01:18:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqwQ+2JY4A4U8WOH4dwJQX5MLncJecg/s4q6HH1RRUevo/6UlFxCUx3MXOy0hpTlvYQfIuz4 X-Received: by 2002:a17:906:b74e:: with SMTP id fx14mr6787659ejb.226.1569572307344; Fri, 27 Sep 2019 01:18:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569572307; cv=none; d=google.com; s=arc-20160816; b=vu1A8XYlCLdwTlcaD7htCfDYdptbK9TT3F6zcYrdpxNX+L1zyfLNRevbD6YzV5x+n+ q+vMvQTivwAGAiGzd+5Lk7zvlUBwpWJSN4FMBCOAD6Ec9gKqISTfVgRN13H+P/IcWLop /ViJ6rlWeltmZPwMwxOQlVFW2dy578qbde6GCz7WLL4g6ehkTeXdLmwRI/HfpQjiYHz+ r2k5FMAee4WWfz9UglSdeTB15QGtyzQTuOiSEXKFbRchi6forNE1lX/y7urMY+VEWpd2 t8vVSL9xp+rnGRs/8WIKAQP6bsRt3QTWA0uBAXWnjXhd8RB8rgFgLprJrj8+6GVESAK/ JIFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:cc:to:from; bh=pvbaOAp/LdFl4TwiDztEab7avzdTPU1fxFljeVsH2Ac=; b=hhp0koC0avGgzc6GknYgou/fqrmm8GIT9LWY8nx9HL4vKI7J1I17wKdU9cgFilpjqJ kN323d79JqHDUuEik3huD5Uxv1Gvx0OLegiGDhbEvq9XMwIXYY/WxsXnj39XsSVXX6J3 aRPtLTYyKaTl4jy+yyVv5YOaHRaWDFaMfpZEt1bjTGTKuPlDVU4nhzTW9HYF7DVp0uxb /5iRgfNnY5rF0uPlZ4+BsjiLGwETla/jMNKpL97rWCwbQxNHp+HJGeMA9GOAt5/ubRls +Cn1qKhytY69mbOXDniUffaExkxaELdG80vuJxTuJDczVw3Y9LDAGwFE0HMvO5+szxFk Ve5Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id dt14si2326245ejb.168.2019.09.27.01.18.27; Fri, 27 Sep 2019 01:18:27 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DBCC11E34; Fri, 27 Sep 2019 10:18:26 +0200 (CEST) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by dpdk.org (Postfix) with ESMTP id 8391E9E4 for ; Fri, 27 Sep 2019 10:18:25 +0200 (CEST) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 3E5021A0656; Fri, 27 Sep 2019 10:18:25 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 6FC861A0651; Fri, 27 Sep 2019 10:18:23 +0200 (CEST) Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.133.63]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id CA0DE402B4; Fri, 27 Sep 2019 16:18:20 +0800 (SGT) From: Hemant Agrawal To: dev@dpdk.org, abhinandan.gujjar@intel.com Cc: Hemant Agrawal Date: Fri, 27 Sep 2019 13:46:05 +0530 Message-Id: <20190927081606.22931-2-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190927081606.22931-1-hemant.agrawal@nxp.com> References: <20190927081606.22931-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH] test/event_crypto: change the SEC cipher algo X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The existing code usages NULL as the cipher algo for testing crypto event adapter. DPAA1/DPAA2 do not support NULL algo. Hence changing is to the most common algo AES-CBC, which is supported by all crypto drivers implementing event crypto adapter. Signed-off-by: Hemant Agrawal --- app/test/test_event_crypto_adapter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 Acked-by: abhinandan.gujjar@intel.com diff --git a/app/test/test_event_crypto_adapter.c b/app/test/test_event_crypto_adapter.c index cff7ad61f..83f3214ca 100644 --- a/app/test/test_event_crypto_adapter.c +++ b/app/test/test_event_crypto_adapter.c @@ -183,7 +183,7 @@ test_op_forward_mode(uint8_t session_less) cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; cipher_xform.next = NULL; - cipher_xform.cipher.algo = RTE_CRYPTO_CIPHER_NULL; + cipher_xform.cipher.algo = RTE_CRYPTO_CIPHER_AES_CBC; cipher_xform.cipher.op = RTE_CRYPTO_CIPHER_OP_ENCRYPT; op = rte_crypto_op_alloc(params.op_mpool, @@ -373,7 +373,7 @@ test_op_new_mode(uint8_t session_less) cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER; cipher_xform.next = NULL; - cipher_xform.cipher.algo = RTE_CRYPTO_CIPHER_NULL; + cipher_xform.cipher.algo = RTE_CRYPTO_CIPHER_AES_CBC; cipher_xform.cipher.op = RTE_CRYPTO_CIPHER_OP_ENCRYPT; op = rte_crypto_op_alloc(params.op_mpool,