From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4FE0AA0501; Fri, 8 Apr 2022 12:18:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EC688427E9; Fri, 8 Apr 2022 12:18:49 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 23658427E9 for ; Fri, 8 Apr 2022 12:18:48 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 2383K2bl003641; Fri, 8 Apr 2022 03:18:47 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=xg5hNaXPP5AIgYzgKM9QbEthGj/UDhHpQKnwDj0U0c0=; b=FUQAK+Ca1T6IXJoHVPYlTnTGXNTvvHWRrJIb2EOwXHZqJwcxy9jxJPvp1AXLsiN9NzyM Z/kfY1jL+bYJgt0ViaIwgaubEaIthNT3bXcZeptqLEp/r+L/X5F6a2a1+hNIBtmknxN5 7YJb1F5GmKo5RN3t/+PaZyRNu0FIUNXtdOXfmQ4U4SVlGfBuIAFlv3WIWHDz3gArMVEJ tag2S2HrIBUI94+opCspwpZnEG0BWtVWkNBUJkWw4Rj1It7/CE4uK9MrCusvHCwTQfRP FkX2FtgPg7vKl/BBiWkELomBAdwQEDOkYC+NhqhtodbbZvi7NkpZ2pjK+CuAuJjQW2qf Mg== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3f9r7eqk3x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 08 Apr 2022 03:18:47 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Fri, 8 Apr 2022 03:18:45 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Fri, 8 Apr 2022 03:18:45 -0700 Received: from hyd1409.caveonetworks.com.com (unknown [10.29.45.15]) by maili.marvell.com (Postfix) with ESMTP id 07C553F704D; Fri, 8 Apr 2022 03:18:42 -0700 (PDT) From: Archana Muniganti To: , , CC: Archana Muniganti , , Subject: [PATCH 2/2] app/crypto-perf: add vector file for AES-GCM Date: Fri, 8 Apr 2022 15:48:35 +0530 Message-ID: <20220408101835.12941-3-marchana@marvell.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220408101835.12941-1-marchana@marvell.com> References: <20220408101835.12941-1-marchana@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: KAMkI8-rGNG65JO8pOLQrqMWW6k6cR-P X-Proofpoint-ORIG-GUID: KAMkI8-rGNG65JO8pOLQrqMWW6k6cR-P X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.425,FMLib:17.11.64.514 definitions=2022-04-08_03,2022-04-08_01,2022-02-23_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Added test vector file for AES-128-GCM for 64B and 512B length buffers. Signed-off-by: Archana Muniganti --- app/test-crypto-perf/data/aes_gcm_128.data | 97 ++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 app/test-crypto-perf/data/aes_gcm_128.data diff --git a/app/test-crypto-perf/data/aes_gcm_128.data b/app/test-crypto-perf/data/aes_gcm_128.data new file mode 100644 index 0000000000..197f0aa99d --- /dev/null +++ b/app/test-crypto-perf/data/aes_gcm_128.data @@ -0,0 +1,97 @@ +# List of tests for AES-128 GCM: +# 1) [aead_buff_64] +# 2) [aead_buff_512] + +########## +# GLOBAL # +########## +plaintext = +0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, +0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, +0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, +0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, +0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, +0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, +0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, +0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, +0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xa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0x5a, 0xb5, 0x2c, 0x9c, 0x92, 0x76, 0x37 + +aead_iv = +0x6e, 0x9a, 0x63, 0x9d, 0x4a, 0xec, 0xc2, 0x55, 0x30, 0xa8, 0xad, 0x75 + +aad = +0x47, 0x2a, 0x6f, 0x4e, 0x77, 0x71, 0xca, 0x39, 0x1e, 0x42, 0x06, 0x50, 0x30, 0xdb, 0x3f, 0xf4 + +################# +# aead_buff_64 # +################# +[aead_buff_64] +digest = +0x4b, 0x84, 0x64, 0x63, 0x82, 0x0a, 0x4a, 0xb0, 0xea, 0xee, 0x50, 0x55, 0xea, 0x94, 0x9c, 0x08 + +################# +# aead_buff_512 # +################# +[aead_buff_512] +digest = +0x9a, 0x09, 0x0c, 0xdd, 0x42, 0x7f, 0xe1, 0x14, 0x9f, 0x09, 0x2c, 0x87, 0xbe, 0xf5, 0x93, 0x24 -- 2.22.0