From: Archana Muniganti <marchana@marvell.com>
To: <ciara.power@intel.com>, <declan.doherty@intel.com>,
<gakhil@marvell.com>
Cc: Archana Muniganti <marchana@marvell.com>, <anoobj@marvell.com>,
<dev@dpdk.org>
Subject: [PATCH 2/2] app/crypto-perf: add vector file for AES-GCM
Date: Fri, 8 Apr 2022 15:48:35 +0530 [thread overview]
Message-ID: <20220408101835.12941-3-marchana@marvell.com> (raw)
In-Reply-To: <20220408101835.12941-1-marchana@marvell.com>
Added test vector file for AES-128-GCM for
64B and 512B length buffers.
Signed-off-by: Archana Muniganti <marchana@marvell.com>
---
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, 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, 0xf1, 0xca, 0xac, 0xaa, 0x76, 0x78, 0x65, 0x8e, 0xd1, 0xac, 0x0a, 0xf3, 0x5a, 0x52,
+0x9e, 0xd4, 0x6c, 0xd4, 0xd9, 0x94, 0x90, 0xc4, 0x63, 0x97, 0x39, 0x0b, 0xeb, 0xcd, 0xd5, 0x9d,
+0x3a, 0x69, 0x0d, 0xf4, 0x8e, 0x30, 0xc7, 0xf7, 0x87, 0x23, 0xd5, 0x9f, 0x83, 0x87, 0xce, 0xe7,
+0x07, 0xd6, 0x39, 0x67, 0xf0, 0x1f, 0xe0, 0xae, 0x78, 0x37, 0xd1, 0xea, 0x16, 0xc0, 0x4f, 0x47,
+0xd2, 0x21, 0x2c, 0xc7, 0xc3, 0X94, 0xfc, 0x88, 0x8a, 0xd5, 0xd6, 0xee, 0xf6, 0xb1, 0x0f, 0x79
+
+aead_key =
+0xd9, 0x52, 0x98, 0x40, 0x20, 0x0e, 0x1c, 0x17, 0x72, 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
next prev parent reply other threads:[~2022-04-08 10:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-08 10:18 [PATCH 0/2] populate mbuf in latency test Archana Muniganti
2022-04-08 10:18 ` [PATCH 1/2] app/crypto-perf: " Archana Muniganti
2022-04-29 5:59 ` Akhil Goyal
2022-04-29 9:35 ` Akhil Goyal
2022-04-08 10:18 ` Archana Muniganti [this message]
2022-04-29 6:01 ` [PATCH 2/2] app/crypto-perf: add vector file for AES-GCM Akhil Goyal
2022-04-29 9:21 ` Archana Muniganti
2022-04-29 9:31 ` Akhil Goyal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220408101835.12941-3-marchana@marvell.com \
--to=marchana@marvell.com \
--cc=anoobj@marvell.com \
--cc=ciara.power@intel.com \
--cc=declan.doherty@intel.com \
--cc=dev@dpdk.org \
--cc=gakhil@marvell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).