From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM04-SN1-obe.outbound.protection.outlook.com (mail-oln040092011032.outbound.protection.outlook.com [40.92.11.32]) by dpdk.org (Postfix) with ESMTP id 3125D1BDDA for ; Fri, 29 Jun 2018 23:17:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RYzUMxUv2QIFLqMHYlMONapaSHo9JluRgqHlyG9Of84=; b=BuFE+0Q6wnQFGMJJwpg4T5hZphpA1J1BE5KjfIChMx/sgTZm6ccinptNh11xxjxi1NrKvPQsPsbGJG0LQwd31mBDxwQ/6FK5qwBwAC7xdTxKo5wxIKoLAxRWoLUlBnO4UZm8N0Rodmyhot+14vIYC1QNBYH02m28pGVcz6paeE4PUwc82YzotC2nbEyKDWsX6KcvVGmEWcjBhiTDni9JRaZUbAEGoopMKpKMEKFW5uGxVJjIVAqsX7hOjT6ZpKt2BdxrQbKvgDkv6gWQG6Ol8OLTX6uZifkT0OddVnniuM1qM7iS9QQxUSF0JKhYM3avRc2+l7DTuMJWcmgJpTqxkA== Received: from SN1NAM04FT064.eop-NAM04.prod.protection.outlook.com (10.152.88.54) by SN1NAM04HT204.eop-NAM04.prod.protection.outlook.com (10.152.89.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.906.15; Fri, 29 Jun 2018 21:17:02 +0000 Received: from CY4PR05MB3141.namprd05.prod.outlook.com (10.152.88.56) by SN1NAM04FT064.mail.protection.outlook.com (10.152.89.198) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.906.15 via Frontend Transport; Fri, 29 Jun 2018 21:17:02 +0000 Received: from CY4PR05MB3141.namprd05.prod.outlook.com ([fe80::c599:7ea7:2e9a:9146]) by CY4PR05MB3141.namprd05.prod.outlook.com ([fe80::c599:7ea7:2e9a:9146%5]) with mapi id 15.20.0930.005; Fri, 29 Jun 2018 21:17:01 +0000 From: Ashot Andreasyan To: "dev@dpdk.org" Thread-Topic: Failures in AESNI-GCM enc/dec tests Thread-Index: AQHUD+4zio2b889RPUyHnylTg2Xhmw== Date: Fri, 29 Jun 2018 21:17:01 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:8A8C70D2502B51B353EF5D84551F6323EC83A80C4C0AA1FA00CB99D35103223C; UpperCasedChecksum:DA18D716BB32600A1F28FAB031AE6EBF2420A21B3B5814285B61A96BC657C955; SizeAsReceived:6834; Count:44 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [Bx2cZ2GbAoxC1JdGuA/DU4h3IPQvMm1p] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; SN1NAM04HT204; 7:T6aXGFMF6QYTuBtLw2dxcDbs9V90OV785hE/6XX2oQBUk6U79A82lATS38sfut55Ehv7rYPua9PGZlAu06xmLdzG5iP9pO4Wyl/fikGivrVzwiZV+Ij2uvB9HhLv/oKwc/pBrjDHx0zmuZEfWrXQjHVJc0TqMOrr7rY/Pzwc+u7KTlghj9b4e/gakiqWyuWNQPwlZgqOKxAT8V+qWzZLlVDKlzOS+sh7z+V24eVP+mApeTXxNE9SIKX/LClxxQaw x-incomingheadercount: 44 x-eopattributedmessage: 0 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1603101448)(1601125500)(1701031045); SRVR:SN1NAM04HT204; x-ms-traffictypediagnostic: SN1NAM04HT204: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(444000031); SRVR:SN1NAM04HT204; BCL:0; PCL:0; RULEID:; SRVR:SN1NAM04HT204; x-forefront-prvs: 0718908305 x-forefront-antispam-report: SFV:NSPM; SFS:(7070007)(979002)(199004)(189003)(87572001)(7696005)(2900100001)(86362001)(97736004)(9686003)(6506007)(68736007)(74316002)(2351001)(33656002)(54896002)(6436002)(81156014)(5250100002)(1730700003)(5640700003)(2501003)(82202002)(20460500001)(25786009)(8676002)(6346003)(73972006)(486006)(105586002)(8936002)(106356001)(5660300001)(476003)(6606003)(26005)(256004)(55016002)(99286004)(14454004)(102836004)(83332001)(104016004)(19627405001)(6916009)(15852004)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1901; SCL:1; SRVR:SN1NAM04HT204; H:CY4PR05MB3141.namprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:; received-spf: None (protection.outlook.com: hotmail.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=ashota@hotmail.com; x-microsoft-antispam-message-info: ekYfAcUYsRIZ4yny9sK6qSIU66mdkGGvNze3s2+NSM88iwcJOtouDLPyWHzm5HSmEntEbQPC7K1QeIfW2OEOG6kmXc1lN2zxTaY8imeos+Sx5eA4RVLpBKwOjlPpDweJ6QbQOHMaEeRzHb7Zov1cDNJ8xRrzS5HhVXanfmP4bB7dtB7ERyn/cjnZFbK3sm+P241spevmKxTQOMF/2TOdXqt0+GGv6P7QOBLE8DjaPwQ= MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 074d7d4d-72e2-4a0a-9d89-73b16535e4cd X-MS-Exchange-CrossTenant-Network-Message-Id: cd0848b3-423e-4c24-a1eb-08d5de05a81d X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 074d7d4d-72e2-4a0a-9d89-73b16535e4cd X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jun 2018 21:17:01.8885 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1NAM04HT204 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Failures in AESNI-GCM enc/dec tests 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: , X-List-Received-Date: Fri, 29 Jun 2018 21:17:03 -0000 Hi there, I think there is errors on running AESNI-GCM Enc/Dec tests with long authen= tication tag length. When #define GCM_LARGE_AAD_LENGTH 65296 then rte_pktmbuf_append(...) fails if (unlikely(len > rte_pktmbuf_tailroom(m_last))) return NULL; because there is no room to append ( 65296 > 65536-512 ) Also in defining the authentication tag length 64 bytes plain text padding = length must be considered as well. I was trying to fix but expected authentication tag won't match. Thanks, Ashot