From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id F3B12A0526; Wed, 22 Jul 2020 03:48:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 434B21BFBB; Wed, 22 Jul 2020 03:48:53 +0200 (CEST) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by dpdk.org (Postfix) with ESMTP id 2BC2A1BFBA for ; Wed, 22 Jul 2020 03:48:52 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id E6C55A0527; Wed, 22 Jul 2020 03:48:51 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Wed, 22 Jul 2020 01:48:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: cryptodev X-Bugzilla-Version: 20.08 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: yux.jiang@intel.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] [Bug 512] [dpdk-20.08]Crypto:fips_cryptodev test failed for TDES on aesni_mb, openssl and qat PMD 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" https://bugs.dpdk.org/show_bug.cgi?id=3D512 Bug ID: 512 Summary: [dpdk-20.08]Crypto:fips_cryptodev test failed for TDES on aesni_mb, openssl and qat PMD Product: DPDK Version: 20.08 Hardware: All OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: cryptodev Assignee: dev@dpdk.org Reporter: yux.jiang@intel.com Target Milestone: --- Created attachment 110 --> https://bugs.dpdk.org/attachment.cgi?id=3D110&action=3Dedit Detail info DPDK version: 20.08.0-rc1 commit aae799d7dd4cc4d9c29cc665519cbec775b7bb6b Other software versions:=20 nasm 2.14 intel-ipsec-mb 0.54 OpenSSL 1.1.1 11 Sep 2018 OS: Ub18.04.4 LTS (Bionic Beaver) 4.15.0-108-generic Compiler: gcc version 7.5.0 Hardware platform: Purley Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz. Test Setup: Steps to reproduce: 1, Build DPDK and FIPS validation application make -j 110 install T=3Dx86_64-native-linuxapp-gcc MAKE_PAUSE=3Dn make -j 110 -C ./examples/fips_validation 2, Bind all qat vf device to vfio-pci driver modprobe vfio modprobe vfio-pci lspci -D -d:37c8|awk '{print $1}' usertools/dpdk-devbind.py --force --bind=3Dvfio-pci 0000:1a:01.0 0000:1a:01= .1=20 ..... usertools/dpdk-devbind.py --force --bind=3Dvfio-pci 0000:1c:01.0 0000:1c:01= .1 ..... usertools/dpdk-devbind.py --force --bind=3Dvfio-pci 0000:1e:01.0 0000:1e:01= .1 ..... 3, Start fips_validation testing ./examples/fips_validation/build/fips_validation -l 9,10,66 -w 0000:1a:01.0 --socket-mem 2048,2048 --legacy-mem -n 6 -- --req-file /root/FIPS/TDES/req --rsp-file /root/FIPS/TDES/resp --path-is-folder --cryptodev-id 0 --self-t= est 4, Compare fax/file & resp/file diff /root/FIPS/TDES/resp/TCBCMonte3.rsp /root/FIPS/TDES/fax/TCBCMonte3.rsp= | grep -v '#' | grep -v '\---'=20 diff /root/FIPS/TDES/resp/TCBCMonte2.rsp /root/FIPS/TDES/fax/TCBCMonte2.rsp= | grep -v '#' | grep -v '\---'=20 diff /root/FIPS/TDES/resp/TCBCMMT2.rsp /root/FIPS/TDES/fax/TCBCMMT2.rsp | g= rep -v '#' | grep -v '\---' diff /root/FIPS/TDES/resp/TCBCMMT3.rsp /root/FIPS/TDES/fax/TCBCMMT3.rsp | g= rep -v '#' | grep -v '\---' diff /root/FIPS/TDES/resp/TCBCvartext.rsp /root/FIPS/TDES/fax/TCBCvartext.r= sp | grep -v '#' | grep -v '\---'=20 diff /root/FIPS/TDES/resp/TCBCpermop.rsp /root/FIPS/TDES/fax/TCBCpermop.rsp= | grep -v '#' | grep -v '\---'=20 diff /root/FIPS/TDES/resp/TCBCsubtab.rsp /root/FIPS/TDES/fax/TCBCsubtab.rsp= | grep -v '#' | grep -v '\---'=20 diff /root/FIPS/TDES/resp/TCBCvarkey.rsp /root/FIPS/TDES/fax/TCBCvarkey.rsp= | grep -v '#' | grep -v '\---'=20 Q1, Badcommit1: 32440cdf2 examples/fips_validation: fix parsing of TDES vec= tors=20 Failed files:=20=20=20=20=20=20=20=20=20=20=20=20=20=20 diff /root/FIPS/TDES/resp/TCBCvartext.rsp /root/FIPS/TDES/fax/TCBCvartext.rsp | grep -v '#' | grep -v '\---' 466 failed -- diff /root/FIPS/TDES/resp/TCBCpermop.rsp /root/FIPS/TDES/fax/TCBCpermop.rsp | gr= ep -v '#' | grep -v '\---' 231 failed diff /root/FIPS/TDES/resp/TCBCsubtab.rsp /root/FIPS/TDES/fax/TCBCsubtab.rsp | gr= ep -v '#' | grep -v '\---' 149 failed diff /root/FIPS/TDES/resp/TCBCvarkey.rsp /root/FIPS/TDES/fax/TCBCvarkey.rsp | gr= ep -v '#' | grep -v '\---' 408 failed=20 Failed point:=20 fax/TCBC*.rsp is missing a blank line & PLAINTEXT =3D 8000000000000000 in "[DECRYPT] COUNT=3D0" part in below files. Q1, Badcommit2: 2b84d2bd4 examples/fips_validation: fix count overwrite for TDES=20=20 Failed files: diff /root/FIPS/TDES/resp/TCBCMonte3.rsp /root/FIPS/TDES/fax/TCBCMonte3.rsp | gr= ep -v '#' | grep -v '\---' failed diff /root/FIPS/TDES/ fax/TCBCMonte2.rsp /root/FIPS/TDES/fax/TCBCMonte2.rsp | grep -v '#' | grep = -v '\---' failed Failed point:=20=20 1,TDES/resp/TCBCMonte3.rsp add "COUNT =3D 0" and "COUNT =3D 1"(There are du= plicated "COUNT=3D1") in "[ENCRYPT]" & "[DECRYPT]" part. 2, TDES/resp/TCBCMonte2.rsp add "COUNT =3D 0" and "COUNT =3D 1"(There are duplicated "COUNT=3D1") in file. --=20 You are receiving this mail because: You are the assignee for the bug.=