get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/98350/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 98350,
    "url": "http://patches.dpdk.org/api/patches/98350/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210908120115.3548009-3-g.singh@nxp.com/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20210908120115.3548009-3-g.singh@nxp.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210908120115.3548009-3-g.singh@nxp.com",
    "date": "2021-09-08T12:01:13",
    "name": "[v3,2/4] test/crypto: add pdcp security short MAC-I support",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "9fffa683ce9a7f411f0fe6eda7cbb1050a27d2e9",
    "submitter": {
        "id": 1068,
        "url": "http://patches.dpdk.org/api/people/1068/?format=api",
        "name": "Gagandeep Singh",
        "email": "g.singh@nxp.com"
    },
    "delegate": {
        "id": 6690,
        "url": "http://patches.dpdk.org/api/users/6690/?format=api",
        "username": "akhil",
        "first_name": "akhil",
        "last_name": "goyal",
        "email": "gakhil@marvell.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210908120115.3548009-3-g.singh@nxp.com/mbox/",
    "series": [
        {
            "id": 18764,
            "url": "http://patches.dpdk.org/api/series/18764/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=18764",
            "date": "2021-09-08T12:01:11",
            "name": "support of MAC-I",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/18764/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/98350/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/98350/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 83C49A0C56;\n\tWed,  8 Sep 2021 14:01:55 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D75C4411E9;\n\tWed,  8 Sep 2021 14:01:45 +0200 (CEST)",
            "from EUR04-VI1-obe.outbound.protection.outlook.com\n (mail-eopbgr80051.outbound.protection.outlook.com [40.107.8.51])\n by mails.dpdk.org (Postfix) with ESMTP id 742A54118B\n for <dev@dpdk.org>; Wed,  8 Sep 2021 14:01:44 +0200 (CEST)",
            "from VI1PR04MB6960.eurprd04.prod.outlook.com (2603:10a6:803:12d::10)\n by VI1PR04MB5631.eurprd04.prod.outlook.com (2603:10a6:803:dd::27)\n with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.19; Wed, 8 Sep\n 2021 12:01:42 +0000",
            "from VI1PR04MB6960.eurprd04.prod.outlook.com\n ([fe80::d496:fcce:f667:7aa7]) by VI1PR04MB6960.eurprd04.prod.outlook.com\n ([fe80::d496:fcce:f667:7aa7%8]) with mapi id 15.20.4500.015; Wed, 8 Sep 2021\n 12:01:42 +0000",
            "from lsv03457.swis.in-blr01.nxp.com (14.142.151.118) by\n SG2PR06CA0108.apcprd06.prod.outlook.com (2603:1096:3:14::34) with Microsoft\n SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.20.4500.14 via Frontend Transport; Wed, 8 Sep 2021 12:01:40 +0000"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;\n b=gBkiHGajZKesF0N+rhAhdyEE84F1lMf3JbX91O2zKvyBkGb2bKd+TDuX28GdcDT8eSsoSRkiiMQ6GxNSWUJE8GNy519ko2Y5PgCmKSOGiTq+9XhSZ64bYP8+6ZuudzkpXc4pPcCvpPwgwXAzpoNu5eO6uHMDpo/nZEEgs/bDNf3YjCtK9j3s4RXAJTF+zGXrQ/kxgICPEznJg8sdgcDz/3yzZBgOdP6TAgYPbKqlg5cX5MQTVWtRwiXVy8Edoq+/w+sh10TbtM68a/Pl9ftxHEbyo59WifmV8GQ+Q9kBAZIuZHh3hfs/iSYmrvroGDMv0nmvKzAZf0BPxjSD9Gipzg==",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n s=arcselector9901;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version;\n bh=ov+ZI7Rea0+sTinuL2DIdxiX59moI1ezRA7y9Esdqcw=;\n b=et5fa19B7FiN8SzygTtF0FkatDtaGEoZYx1g26ctUiYWw5EN0WDUSVjJPy/pzGf/dcOaPtDmNBzJqwOFIUbgdU4m7v96mKFNpOds0yp+Pc51V3LBBoJpdrkDOSYuW85FSVcU/wxYmRM7L5tGaDS4dM+S+CdeOzbL4v44j9xdY8vF1pH2FYCMKBkUMR/rCJFVq4C2cVXv9hjXoOE9e921u6kZzzXbXNEhOHI8anxVDCOWH1MTGm3xRM5X+1EVK6lmh76wQM+xE9R0bdNUF0MuhFyO/UFBADw+Mh/PoLOfVkfCGEzvpsI7xv3QJv1feLVwYIMrw/H2FKL4rQ0Wf/r+vA==",
        "ARC-Authentication-Results": "i=1; mx.microsoft.com 1; spf=pass\n smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass\n header.d=nxp.com; arc=none",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=ov+ZI7Rea0+sTinuL2DIdxiX59moI1ezRA7y9Esdqcw=;\n b=Lv+AXS5YFTxwtpXzhuJ0ivT/ShDthMlKTPwUs42lSfZ+Y7/dh+gPqTe0YQLMy8p0hVaeN96gYgV6XldIureKpjsBKeyLVr2xrlZoRJ9uktzPDdqjUL9+k5ZJkTvpX5EEcSMd5M4AFXZCBvBkS8mGxu6tzMM8MbrUPQEVFDNJ6rw=",
        "Authentication-Results": "marvell.com; dkim=none (message not signed)\n header.d=none;marvell.com; dmarc=none action=none header.from=nxp.com;",
        "From": "Gagandeep Singh <g.singh@nxp.com>",
        "To": "gakhil@marvell.com,\n\tdev@dpdk.org",
        "Cc": "thomas@monjalon.net,\n\tGagandeep Singh <g.singh@nxp.com>",
        "Date": "Wed,  8 Sep 2021 17:31:13 +0530",
        "Message-Id": "<20210908120115.3548009-3-g.singh@nxp.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20210908120115.3548009-1-g.singh@nxp.com>",
        "References": "<20210907085605.3010882-2-g.singh@nxp.com>\n <20210908120115.3548009-1-g.singh@nxp.com>",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-ClientProxiedBy": "SG2PR06CA0108.apcprd06.prod.outlook.com\n (2603:1096:3:14::34) To VI1PR04MB6960.eurprd04.prod.outlook.com\n (2603:10a6:803:12d::10)",
        "MIME-Version": "1.0",
        "X-MS-Exchange-MessageSentRepresentingType": "1",
        "X-MS-PublicTrafficType": "Email",
        "X-MS-Office365-Filtering-Correlation-Id": "671be98f-e0b4-4914-72e1-08d972c06bf1",
        "X-MS-TrafficTypeDiagnostic": "VI1PR04MB5631:",
        "X-MS-Exchange-Transport-Forked": "True",
        "X-Microsoft-Antispam-PRVS": "\n <VI1PR04MB5631CCAA98D30021178D6A20E1D49@VI1PR04MB5631.eurprd04.prod.outlook.com>",
        "X-MS-Oob-TLC-OOBClassifiers": "OLM:321;",
        "X-MS-Exchange-SenderADCheck": "1",
        "X-MS-Exchange-AntiSpam-Relay": "0",
        "X-Microsoft-Antispam": "BCL:0;",
        "X-Microsoft-Antispam-Message-Info": "\n BQi3e9RTbtyTqZZjxvib+ORhCJVF1oHz6/L1QjBa0ENpeXuOWAuf0dz2Q7ww+sqLgsAY2Bvg+j1HSV3rMImg4D9Aw7Ert8gtNIIE8R//8k+S1jq1tpRGlATNWyvlggOtFonvrAxxS7B+J0ahJp/EpaflHhQx3oBwEXiHRvKLVZOATqXhtl5CuzOpoCO/bogXOG/Sh6U+sNSgJD7VP5jB5KEpbPPGcOKRM4tBFFP09qLWcLOVHMex6SyXq25eXyOy3zB14w23f9rXndaaRZkMN3VG2FRbC6TyH3LDbpbk0q6C92+IC4x6jqeV/0UC5qWnH2lbrQBHEomKwegsZjSb8gElOmEqd/G8D7UF3WAwhGI9qCs+AMny+15Dy9NTK2k/so/AoJ/p26ogU4kMFGw7aZMD7fue4fX3MJbnHYgsGX4aP358iRP9M+POTkRZqZDNChpF+U5XqFuOWIE713fP5sxX1E9BbVK9y+k1rXD+2FfESv9MTTQPC/9FMMfEsRYSCYXntNjUienHexN6cAmAI7Cex4Cz1Ao9DNId3KUvl0QxkUbBS6J4BjE7NiB2MsHlWL6yPtcXxOoaYUrt8WmkwiUPAwrGIbtHuYUPxNUJu6f04w1/M9TU1goDzKgTuz/7Pmb1N43KlDK3I04HdCzey10pfQlId6dE3HfxY/pgFbmgfPFNG4NKf6mmakaKdm/eTkEfE1Yu+g39Rl0mI1DhlaEcrEkiOkbVR9fFw5osMz8=",
        "X-Forefront-Antispam-Report": "CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;\n IPV:NLI; SFV:NSPM; H:VI1PR04MB6960.eurprd04.prod.outlook.com; PTR:; CAT:NONE;\n SFS:(4636009)(366004)(38350700002)(83380400001)(52116002)(316002)(508600001)(8676002)(66556008)(4326008)(956004)(7696005)(66476007)(66946007)(36756003)(86362001)(8936002)(1006002)(15650500001)(55236004)(5660300002)(2906002)(1076003)(6666004)(38100700002)(26005)(6486002)(2616005)(186003)(110426009);\n DIR:OUT; SFP:1101;",
        "X-MS-Exchange-AntiSpam-MessageData-ChunkCount": "1",
        "X-MS-Exchange-AntiSpam-MessageData-0": "\n P301utd6Fz1bERSj+PdQetHzAlvey9Jd4N0pZ0fEba7pak1xUElmXvIpJSYfaio9uG3h0ewG5xN97O9+1kkG1K56VIEgQXD5B7Z6h8l+mGN0CUSGO4WPE97XV+OhHrMSfTHsqSOS+D0aLjuwwLUTUGYAS7b90eMCndIxLaZ3TEnk/4VLQMoAmFUZHFCFkt45zht71NNvRvmwcUwJXOqZOAR1ecT+x4pQAzSat6Z/z2xsud9Mdk7q5hegxaFk7+ZAS9YG6TLonYgsOFv/tkCG+o03Xq2jYqO0NAUEKy6ByX2CJ02qHnRZONHFCsN9c70o08aFk3+YEbstXNP6QC9vAboJMBjFc/Kgyx5yx28O3B0ZfAOsZU/RFnq8f/++z3Xn8lmmEVOtXcDLyjOS5Hnp+XMDhaQ+t0h4ySFyNOduIu97DU7+E9mDJE3QfNQa7JcoKTmpo9X12cJ95ewy5WP+n4tjEo9ZRqrNZ+slrVLctRstL+YwxPY+8XrXO4BKEjPr/Jl9tAbOM3XaowVDLXWvZCVR15WWdlO2oL30c1Aiujg0aPgAEcywTosgsbe5TfRdLN9XxlgqE6xwhhgt0xCDgB6tPUlWXW8p1Od0b4Z5iXHzuxoYSVcR8I8ja6LHEcXr2/LYmuUMos9FlrKnr6LcpOUjkgtiA3e7lGiz+Xt0O1w3+NzmfYfFWiWUsy5VzRzTZQ7fzCeDBtUNYImuK03ikTYIuEb2d3LzN2xG01cYrfyE71UcM9PzIhc5Q1zgKIReptM4Cmd+gbLOtrEFKYWnt41ngCX+k8DF/pzO9LxpikNvu6JRI4H9nuZNjhnsUg9kpIYUBgSNLNiPP8bx3848MVf88RjYoGxQaQ3Fm6kXeDNysVnMv2saQ5hKIRXcQHv5AWewm1PuzDt5y3PFKkNrM8QDzZ0iQI7brYccAxfaXJjdP3dkaqYfPQbxwUJE0IWeCSn07314jVTkAb4ipl2rLR8PNLdliCWmQnMcmltacV7bwXBSgux9OeOyMr9T98DdVNe8pvZRVm1e2foUg/eb4LLsNEf76OflwZ6laPHjo60kwse5VRr3XjLO1IU5B/Kq4oDz77i36uyz0/lmR1t5QSAZiHns6ac+lbrOS1EC5T3yADvYIY57uz3TmcYUReYkHgMCmkBjln/SUynFz+AcMWaO4B1ShH/ozv4Hd6qx9bcCiMgOucnk5a5ufBPrgGG5D+33ZEZ/9Fps9ya6dOuVfLg/l1Cncxv/Fe5sUZNJ7zZamxXMVjloLf3hoU63DL45XF2LY9WfnClcjAlcl3An+e8V6IXFyuC32gEvDqUE8Rh7JrPuk1MHdW8cD9HMEpdV",
        "X-OriginatorOrg": "nxp.com",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n 671be98f-e0b4-4914-72e1-08d972c06bf1",
        "X-MS-Exchange-CrossTenant-AuthSource": "VI1PR04MB6960.eurprd04.prod.outlook.com",
        "X-MS-Exchange-CrossTenant-AuthAs": "Internal",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "08 Sep 2021 12:01:42.4389 (UTC)",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "Hosted",
        "X-MS-Exchange-CrossTenant-Id": "686ea1d3-bc2b-4c6f-a92c-d99c5c301635",
        "X-MS-Exchange-CrossTenant-MailboxType": "HOSTED",
        "X-MS-Exchange-CrossTenant-UserPrincipalName": "\n zarZ4b3Xu1mfsERqESk6illCg6DdWakLr5QINNXWIou7ePkBRTJoVUx7XP0IWGR4",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "VI1PR04MB5631",
        "Subject": "[dpdk-dev] [PATCH v3 2/4] test/crypto: add pdcp security short\n MAC-I support",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "This patch add support to test the pdcp short mac\npackets support in crypto.\n\nSigned-off-by: Gagandeep Singh <g.singh@nxp.com>\n---\n app/test/test_cryptodev.c                     |  48 ++++++++\n ...est_cryptodev_security_pdcp_test_vectors.h | 105 +++++++++++++++++-\n 2 files changed, 152 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c\nindex 9e823db1e6..16d770a17f 100644\n--- a/app/test/test_cryptodev.c\n+++ b/app/test/test_cryptodev.c\n@@ -8767,6 +8767,50 @@ test_PDCP_SDAP_PROTO_encap_all(void)\n \treturn (all_err == TEST_SUCCESS) ? TEST_SUCCESS : TEST_FAILED;\n }\n \n+static int\n+test_PDCP_PROTO_short_mac(void)\n+{\n+\tint i = 0, size = 0;\n+\tint err, all_err = TEST_SUCCESS;\n+\tconst struct pdcp_short_mac_test *cur_test;\n+\n+\tsize = RTE_DIM(list_pdcp_smac_tests);\n+\n+\tfor (i = 0; i < size; i++) {\n+\t\tcur_test = &list_pdcp_smac_tests[i];\n+\t\terr = test_pdcp_proto(\n+\t\t\ti, 0, RTE_CRYPTO_CIPHER_OP_ENCRYPT,\n+\t\t\tRTE_CRYPTO_AUTH_OP_GENERATE, cur_test->data_in,\n+\t\t\tcur_test->in_len, cur_test->data_out,\n+\t\t\tcur_test->in_len + ((cur_test->auth_key) ? 4 : 0),\n+\t\t\tRTE_CRYPTO_CIPHER_NULL, NULL,\n+\t\t\t0, cur_test->param.auth_alg,\n+\t\t\tcur_test->auth_key, cur_test->param.auth_key_len,\n+\t\t\t0, cur_test->param.domain, 0, 0,\n+\t\t\t0, 0, 0);\n+\t\tif (err) {\n+\t\t\tprintf(\"\\t%d) %s: Short MAC test failed\\n\",\n+\t\t\t\t\tcur_test->test_idx,\n+\t\t\t\t\tcur_test->param.name);\n+\t\t\terr = TEST_FAILED;\n+\t\t} else {\n+\t\t\tprintf(\"\\t%d) %s: Short MAC test PASS\\n\",\n+\t\t\t\t\tcur_test->test_idx,\n+\t\t\t\t\tcur_test->param.name);\n+\t\t\trte_hexdump(stdout, \"MAC I\",\n+\t\t\t\t    cur_test->data_out + cur_test->in_len + 2,\n+\t\t\t\t    2);\n+\t\t\terr = TEST_SUCCESS;\n+\t\t}\n+\t\tall_err += err;\n+\t}\n+\n+\tprintf(\"Success: %d, Failure: %d\\n\", size + all_err, -all_err);\n+\n+\treturn (all_err == TEST_SUCCESS) ? TEST_SUCCESS : TEST_FAILED;\n+\n+}\n+\n static int\n test_PDCP_SDAP_PROTO_decap_all(void)\n {\n@@ -14039,6 +14083,8 @@ static struct unit_test_suite cryptodev_snow3g_testsuite  = {\n \t\tTEST_CASE_ST(ut_setup, ut_teardown,\n \t\t\ttest_snow3g_encryption_test_case_5),\n \n+\t\tTEST_CASE_ST(ut_setup, ut_teardown,\n+\t\t\ttest_PDCP_PROTO_short_mac),\n \t\tTEST_CASE_ST(ut_setup, ut_teardown,\n \t\t\ttest_snow3g_encryption_test_case_1_oop),\n \t\tTEST_CASE_ST(ut_setup, ut_teardown,\n@@ -14279,6 +14325,8 @@ static struct unit_test_suite cryptodev_kasumi_testsuite  = {\n \t\tTEST_CASE_ST(ut_setup, ut_teardown,\n \t\t\ttest_kasumi_decryption_test_case_1_oop),\n \n+\t\tTEST_CASE_ST(ut_setup, ut_teardown,\n+\t\t\ttest_PDCP_PROTO_short_mac),\n \t\tTEST_CASE_ST(ut_setup, ut_teardown,\n \t\t\ttest_kasumi_cipher_auth_test_case_1),\n \ndiff --git a/app/test/test_cryptodev_security_pdcp_test_vectors.h b/app/test/test_cryptodev_security_pdcp_test_vectors.h\nindex 703076479d..81fd6e606b 100644\n--- a/app/test/test_cryptodev_security_pdcp_test_vectors.h\n+++ b/app/test/test_cryptodev_security_pdcp_test_vectors.h\n@@ -1,7 +1,7 @@\n /* SPDX-License-Identifier: BSD-3-Clause\n  *\n  * Copyright (C) 2015-2016 Freescale Semiconductor,Inc.\n- * Copyright 2018-2019 NXP\n+ * Copyright 2018-2021 NXP\n  */\n \n #ifndef SECURITY_PDCP_TEST_VECTOR_H_\n@@ -28,6 +28,109 @@ struct pdcp_test_param {\n \tconst char *name;\n };\n \n+struct pdcp_short_mac_test {\n+\tuint32_t test_idx;\n+\tstruct pdcp_short_mac_test_param {\n+\t\tenum rte_security_pdcp_domain domain;\n+\t\tenum rte_crypto_auth_algorithm auth_alg;\n+\t\tuint8_t auth_key_len;\n+\t\tconst char *name;\n+\t} param;\n+\tconst uint8_t *auth_key;\n+\tconst uint8_t *data_in;\n+\tuint32_t in_len;\n+\tconst uint8_t *data_out;\n+};\n+\n+static const struct pdcp_short_mac_test list_pdcp_smac_tests[] = {\n+\t{\n+\t\t.test_idx = 1,\n+\t\t.param = {.name = \"PDCP-SMAC SNOW3G UIA2\",\n+\t\t\t.auth_alg = RTE_CRYPTO_AUTH_SNOW3G_UIA2,\n+\t\t\t.domain = RTE_SECURITY_PDCP_MODE_SHORT_MAC,\n+\t\t\t.auth_key_len = 16,\n+\t\t},\n+\t\t.auth_key = (uint8_t[]){ 0x2b, 0xd6, 0x45, 0x9f, 0x82, 0xc5,\n+\t\t\t\t\t 0xb3, 0x00, 0x95, 0x2c, 0x49, 0x10,\n+\t\t\t\t\t 0x48, 0x81, 0xff, 0x48 },\n+\t\t.data_in = (uint8_t[]){ 0x33, 0x32, 0x34, 0x62, 0x63, 0x39,\n+\t\t\t\t\t0x38 },\n+\t\t.in_len = 7,\n+\t\t.data_out = (uint8_t[]){ 0x33, 0x32, 0x34, 0x62, 0x63, 0x39,\n+\t\t\t\t\t 0x38, 0x56, 0xd2, 0x09, 0xae },\n+\t},\n+\n+\t{\n+\t\t.test_idx = 2,\n+\t\t.param = {.name = \"PDCP-SMAC AES CMAC 1\",\n+\t\t\t.auth_alg = RTE_CRYPTO_AUTH_AES_CMAC,\n+\t\t\t.domain = RTE_SECURITY_PDCP_MODE_SHORT_MAC,\n+\t\t\t.auth_key_len = 16,\n+\t\t},\n+\t\t.auth_key = (uint8_t[]){ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n+\t\t\t\t\t 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n+\t\t\t\t\t 0x00, 0x00, 0x00, 0x00 },\n+\t\t.data_in = (uint8_t[]){ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n+\t\t\t\t\t0x00 },\n+\t\t.in_len = 7,\n+\t\t.data_out = (uint8_t[]){ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n+\t\t\t\t\t 0x00, 0x13, 0xf8, 0x4b, 0xea },\n+\t},\n+\n+\t{\n+\t\t.test_idx = 3,\n+\t\t.param = {.name = \"PDCP-SMAC AES CMAC 2\",\n+\t\t\t.auth_alg = RTE_CRYPTO_AUTH_AES_CMAC,\n+\t\t\t.domain = RTE_SECURITY_PDCP_MODE_SHORT_MAC,\n+\t\t\t.auth_key_len = 16,\n+\t\t},\n+\t\t.auth_key = (uint8_t[]){ 0x16, 0xc1, 0x98, 0x14,  0x9a, 0x2c,\n+\t\t\t\t\t 0xf4, 0x12, 0x4f, 0xd4, 0x14, 0xec,\n+\t\t\t\t\t 0x72, 0x43, 0x29, 0x04 },\n+\t\t.data_in = (uint8_t[]){ 0x00, 0xc0, 0x00, 0x00, 0x00, 0x05,\n+\t\t\t\t\t0x09, 0xe4 },\n+\t\t.in_len = 8,\n+\t\t.data_out = (uint8_t[]){ 0x00, 0xc0, 0x00, 0x00, 0x00, 0x05,\n+\t\t\t\t\t 0x09, 0xe4, 0xdd, 0xff, 0xde, 0xa9 },\n+\t},\n+\n+\t{\n+\t\t.test_idx = 4,\n+\t\t.param = {.name = \"PDCP-SMAC AES CMAC 3\",\n+\t\t\t.auth_alg = RTE_CRYPTO_AUTH_AES_CMAC,\n+\t\t\t.domain = RTE_SECURITY_PDCP_MODE_SHORT_MAC,\n+\t\t\t.auth_key_len = 16,\n+\t\t},\n+\t\t.auth_key = (uint8_t[]){ 0xD3, 0xC5, 0xD5, 0x92, 0x32, 0x7F,\n+\t\t\t\t\t 0xB1, 0x1C, 0x40, 0x35, 0xC6, 0x68,\n+\t\t\t\t\t 0x0A, 0xF8, 0xC6, 0xD3 },\n+\t\t.data_in = (uint8_t[]){ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n+\t\t\t\t\t0x00 },\n+\t\t.in_len = 7,\n+\t\t.data_out = (uint8_t[]){ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n+\t\t\t\t\t 0x00, 0x23, 0xea, 0x95, 0xb0 },\n+\t},\n+\n+\t{\n+\t\t.test_idx = 5,\n+\t\t.param = {.name = \"PDCP-SMAC NULL\",\n+\t\t\t.auth_alg = RTE_CRYPTO_AUTH_NULL,\n+\t\t\t.domain = RTE_SECURITY_PDCP_MODE_SHORT_MAC,\n+\t\t\t.auth_key_len = 16,\n+\t\t},\n+\t\t.auth_key = (uint8_t[]){ 0x2B, 0xD6, 0x45, 0x9F, 0x82, 0xC5,\n+\t\t\t\t\t 0xB3, 0x00, 0x95, 0x2C, 0x49, 0x10,\n+\t\t\t\t\t 0x48, 0x81, 0xFF, 0x48\n+\t\t},\n+\t\t.data_in = (uint8_t[]){ 0x33, 0x32, 0x34, 0x62, 0x63, 0x39,\n+\t\t\t\t\t0x38 },\n+\t\t.in_len = 7,\n+\t\t.data_out = (uint8_t[]){ 0x33, 0x32, 0x34, 0x62, 0x63, 0x39,\n+\t\t\t\t\t 0x38, 0x00, 0x00, 0x00, 0x00 },\n+\t},\n+\n+};\n+\n static struct pdcp_test_param pdcp_test_params[] = {\n \t{\n \t .name =\n",
    "prefixes": [
        "v3",
        "2/4"
    ]
}