From patchwork Wed Feb 25 11:14:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Taras Kondratiuk X-Patchwork-Id: 45039 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f199.google.com (mail-we0-f199.google.com [74.125.82.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 48E9120502 for ; Wed, 25 Feb 2015 11:14:42 +0000 (UTC) Received: by wesw55 with SMTP id w55sf2339667wes.0 for ; Wed, 25 Feb 2015 03:14:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=2rdJBm3LSXzwKNV6lsmGwbf4/skk8cNTdYSi1ZRSvuA=; b=COLuzoBT3v1SQK5opJcOG5ns+ZLIcWMNpVYmoRzSAaG509en39z2ZGHSwpY5TYbg0t Y7DW9fJzVlyP1rFMC+7amTeaXaxJsPFeXBh727T7x/Z2KwjaQ5H++L8zCmOovoUs9U9Y ++FQQ3EnVP1Lc4PKgpgsOboUStuR5ePISWnx2u9ynnc2e62x5FojRti0uuZrZjS32bCX Yna2KZs2EkprDFFgED32twSwRXRIiSTBGOVUtyqenFkUOmJX0lfQ6qF8DQSWnmVJ08Rb LC+/J/DW22KnphbUrProPwir//uYMnUVJQSiEbf01qnyD7fQtKURmriZVSZ74gYfha76 nKiQ== X-Gm-Message-State: ALoCoQmGy5GOe73zpuszZbbblqJrjVfmH9cn1B8xABTesTxaOQ1hGPz1dtvqanXeKF7C5OEi2F0B X-Received: by 10.194.178.234 with SMTP id db10mr393837wjc.2.1424862881546; Wed, 25 Feb 2015 03:14:41 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.68 with SMTP id y4ls807515lay.12.gmail; Wed, 25 Feb 2015 03:14:41 -0800 (PST) X-Received: by 10.112.85.140 with SMTP id h12mr2202575lbz.67.1424862881191; Wed, 25 Feb 2015 03:14:41 -0800 (PST) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com. [209.85.215.41]) by mx.google.com with ESMTPS id l10si28158615lal.97.2015.02.25.03.14.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Feb 2015 03:14:41 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) client-ip=209.85.215.41; Received: by lams18 with SMTP id s18so3062794lam.11 for ; Wed, 25 Feb 2015 03:14:41 -0800 (PST) X-Received: by 10.152.8.33 with SMTP id o1mr2410120laa.56.1424862881103; Wed, 25 Feb 2015 03:14:41 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp2546925lbj; Wed, 25 Feb 2015 03:14:40 -0800 (PST) X-Received: by 10.140.32.166 with SMTP id h35mr5499742qgh.31.1424862879903; Wed, 25 Feb 2015 03:14:39 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id c62si19593755qga.8.2015.02.25.03.14.38 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 25 Feb 2015 03:14:39 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YQZvI-0003Ff-Nt; Wed, 25 Feb 2015 11:14:36 +0000 Received: from mail-la0-f51.google.com ([209.85.215.51]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YQZv2-0003ER-D0 for lng-odp@lists.linaro.org; Wed, 25 Feb 2015 11:14:20 +0000 Received: by labgq15 with SMTP id gq15so3103070lab.6 for ; Wed, 25 Feb 2015 03:14:14 -0800 (PST) X-Received: by 10.152.170.233 with SMTP id ap9mr2179386lac.47.1424862853940; Wed, 25 Feb 2015 03:14:13 -0800 (PST) Received: from localhost.localdomain ([80.77.38.170]) by mx.google.com with ESMTPSA id uf3sm8422201lbc.44.2015.02.25.03.14.12 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Feb 2015 03:14:13 -0800 (PST) From: Taras Kondratiuk To: lng-odp@lists.linaro.org Date: Wed, 25 Feb 2015 13:14:05 +0200 Message-Id: <1424862845-18733-4-git-send-email-taras.kondratiuk@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1424862845-18733-1-git-send-email-taras.kondratiuk@linaro.org> References: <1424862845-18733-1-git-send-email-taras.kondratiuk@linaro.org> X-Topics: crypto patch Subject: [lng-odp] [PATCH 3/3] validation: crypto: don't check detailed operation status X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: taras.kondratiuk@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Detailed status have to be filled only in case of failed operation. So don't verify it in case of success. Signed-off-by: Taras Kondratiuk --- test/validation/crypto/odp_crypto_test_async_inp.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/test/validation/crypto/odp_crypto_test_async_inp.c b/test/validation/crypto/odp_crypto_test_async_inp.c index 9f449e4..5675fd7 100644 --- a/test/validation/crypto/odp_crypto_test_async_inp.c +++ b/test/validation/crypto/odp_crypto_test_async_inp.c @@ -107,11 +107,6 @@ static void alg_test(enum odp_crypto_op op, odp_crypto_compl_free(compl_event); CU_ASSERT(result.ok); - CU_ASSERT(result.auth_status.alg_err == ODP_CRYPTO_ALG_ERR_NONE); - CU_ASSERT(result.auth_status.hw_err == ODP_CRYPTO_HW_ERR_NONE); - CU_ASSERT(result.cipher_status.alg_err == ODP_CRYPTO_ALG_ERR_NONE); - CU_ASSERT(result.cipher_status.hw_err == ODP_CRYPTO_HW_ERR_NONE); - CU_ASSERT(result.pkt == pkt); CU_ASSERT(!memcmp(data_addr, output_vec, output_vec_len));