Message ID | 1469803138-25622-2-git-send-email-nikhil.agarwal@linaro.org |
---|---|
State | Accepted |
Commit | b6a5e7039cc23e4547b11b78a12ba7f9efe6ae93 |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp1280010qga; Fri, 29 Jul 2016 02:10:59 -0700 (PDT) X-Received: by 10.200.47.39 with SMTP id j36mr64986249qta.10.1469783459227; Fri, 29 Jul 2016 02:10:59 -0700 (PDT) Return-Path: <lng-odp-bounces@lists.linaro.org> Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id l2si11513006qke.304.2016.07.29.02.10.58; Fri, 29 Jul 2016 02:10:59 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id E15E368510; Fri, 29 Jul 2016 09:10:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, DATE_IN_FUTURE_03_06, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 7E50168477; Fri, 29 Jul 2016 09:10:54 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 49CFA684EB; Fri, 29 Jul 2016 09:10:48 +0000 (UTC) Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0050.outbound.protection.outlook.com [104.47.40.50]) by lists.linaro.org (Postfix) with ESMTPS id 66FAE68477 for <lng-odp@lists.linaro.org>; Fri, 29 Jul 2016 09:10:27 +0000 (UTC) Received: from BN6PR03CA0032.namprd03.prod.outlook.com (10.175.124.18) by SN2PR03MB2303.namprd03.prod.outlook.com (10.166.210.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.549.15; Fri, 29 Jul 2016 09:10:24 +0000 Received: from BN1AFFO11FD028.protection.gbl (2a01:111:f400:7c10::132) by BN6PR03CA0032.outlook.office365.com (2603:10b6:404:10c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.549.15 via Frontend Transport; Fri, 29 Jul 2016 09:10:24 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning linaro.org discourages use of 192.88.158.2 as permitted sender) Received: from az84smr01.freescale.net (192.88.158.2) by BN1AFFO11FD028.mail.protection.outlook.com (10.58.52.88) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.549.5 via Frontend Transport; Fri, 29 Jul 2016 09:10:25 +0000 Received: from netperf2.ap.freescale.net ([10.232.133.164]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id u6T9AHT1003050 for <lng-odp@lists.linaro.org>; Fri, 29 Jul 2016 02:10:24 -0700 From: Nikhil Agarwal <nikhil.agarwal@linaro.org> To: <lng-odp@lists.linaro.org> Date: Fri, 29 Jul 2016 20:08:58 +0530 Message-ID: <1469803138-25622-2-git-send-email-nikhil.agarwal@linaro.org> X-Mailer: git-send-email 2.8.2 In-Reply-To: <1469803138-25622-1-git-send-email-nikhil.agarwal@linaro.org> References: <1469803138-25622-1-git-send-email-nikhil.agarwal@linaro.org> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131142570257976064; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(199003)(189002)(104016004)(5003940100001)(50986999)(76176999)(86362001)(11100500001)(33646002)(92566002)(586003)(105596002)(97736004)(47776003)(48376002)(50466002)(36756003)(110136002)(19580395003)(2906002)(2351001)(107886002)(8936002)(69596002)(68736007)(189998001)(2950100001)(356003)(7846002)(106466001)(81156014)(81166006)(77096005)(229853001)(87936001)(50226002)(8676002)(305945005)(19580405001)(450100001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR03MB2303; H:az84smr01.freescale.net; FPR:; SPF:SoftFail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD028; 1:TcLmJTr68fsrO/Wxon3ZZneIB/LBXofyT29OKda4doO9Mu3nL1aYuECqjkQXMipjrv20QRoXwMPKi22cRj7EUlKZlLaQVoJnXpOH5x+Zw5X+n2qgbMpYhTGKoy5l8JPkHyvoGHeSywhuiIe9iUO27LRw8w6j/EOoVSJhnsRvxdaZICvpe3dWi3ASskChHH3/2mtPtNS1dlwP8xeoG2BUZHDL64YpMHRhWxs1E5dfT7Nr6fQ3qhTydMAQEZiSmq+9B5fdrwFRgoVRmy81WcMOcazFPycJlGwp2T0xGxZese00krXpkdFXJqm5WwKSvLDrmeOJOg195aOO6Ls/TtwfJFn0DCttuhk9GJL4grS2obNt3V5O0AdKoJuTUwgfx2QicHRkcfvNWAgH+9x6oqYuwY5H9jB17NDbkozLEFMG4Elgk60MCEP9TC1Ygy24EMujjHHhHRjPYGvVMCpkLQRzHW+CJv8/IdJ/n/9A0iFeX41ys5uPvTvgR+o+YRFKx/m//0r9rL6d0lNL/PxARdrUVmCYQIB5wlKTOSyMFl0Tz58XuDv8rHNu8VnvduzAafoX MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 167c2d77-be5e-4061-29a0-08d3b7902d9d X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2303; 2:wMJbcna4yU8iaKAiYpJ33tR0qZg4U+3wsTEOaEaZZfIcNUY+HSNicMD8ZxRvFcbAGaHkuz8hPbwHaG2u54u2MZ9wUpjhWlBBAUOG0HXWNzy0smVK5a5VQInXbvbq4GxDpJf72ikm3+cFzp8rco0h5GOUjP/aE/K2/X2V6dZeKupfXQsCKSeFcN5DPuMTDY6K; 3:gjwqVA6PsCjOO9X9s0qXazRgWI9qsC+6mER/RwbHl4fJKRpIE86GXFmXn3EKAWFNIdR8uXvQX6pXDefJg6vIdhGoNGG/Vnr/2k+HKeiTe+w1TvjFYOPCh4dMIdB3hNUwd1RNIS9KhQojXyc5QZ4XVY7hgv+M9Bv+kA6Hc454O47yKPDEAu2y3qClbvzHtORyzr18L7wpOw2ezGBmKI6WldTh8hnwVFCb2yuvW0GFFa8=; 25:Si7CD874UyM483Pf3P5tDtwSv3sK5QPoo8F49N3C7jrPyQyXJ6k6YbNPVGws6LsNQHMfMoEaxxPm3cka+PDMBwXQunAcm5n4Pt1ksRcTR3v/EZ27qffJjhBZNoQvFIFrB7U6Rts1uUPzpnBYEbqGnzJDlfPNRCHtXekMy9TSIQ09oIt2o6MQSTdxEv9reaeRcN4atjCohdKLJ/7kI+LAT/B7B1L5mkenbh6njjhLcyaDFsCBdWkSiFoBpw2DI49chEuZqCABODOAp11fJI3lWvs2Xz0m90rSaWrjnM2k7lY1K8NaqCKWHhM7aP9CnK6YMgFyA12b6+c2PUXUyuKml0+I29ZtxGoLe1gMOy7KOyybuBxGlGYx5tjGqhB8hpOjo7nQn82JsPGG34uL0g7oiGQHoMFA8UIWqxCQRrtYo3g= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN2PR03MB2303; X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2303; 31:fGQcrN/UfzePQeRREnU/3LGLirgk8xeXcEBEqceqmiyGg0wWmu85AiVc4MERZJDCZnPsrbsuH6d0t664ysqXJLWPnghq019byCkCZ2kM16g5S0q31qNmNHrP2SIWPMN7C6vGX+R7qLuxoELJ7UX+KD36260MCJqtFr5TZd3MRuWUAZ8dJbcMuLFJkFK9CwI1klA1mBbL9H1iczLiC1hUzQ==; 4:vGMzxrlO/2ZoXiWPXE9WfBPdmuKQEaJBqQ11CNrck3V72kJd7GL1pK8ORNXsf0vGnzrz6iIscgfGmddNZ6aS5uZRkDCsBxg+Q8h3lBhICqLd1B3EMZFlekRsxN9pINhmRxiFOUfOVYRcU9lfmKnFggVLYfJCM2qCRFN1MF1/eQM8aqW8S3Eukn/NXtlGsjyjNMV4Mx25I1LwAc7WfodKxqbLjmCxbktpWEmKQzxcaal8XsNdQOZNAULujT6EoOd/BBouTnLvnNdYSBsV0MvQjNNV9II7qt1UproNCnuhIVtSR+kLbf1YQyG1T7BPjMaUa8nHnEXuhxOhSB0IJGJmpOEVs/rZAXqj2H9dMzvcUXSPQ0gsLTT24/njIlfOq7lQTGzJwLA4TUZeHNRI4PfLtmfj78QyfzJG7zm6245NppMZBDvOcB6q4ZvJYUh+IlfZpqlompy8HT2/ymxSc7vGz3IQZPug0SUvSYGCFy0op6s= X-Microsoft-Antispam-PRVS: <SN2PR03MB2303B8FB2E26EB515169656EF9010@SN2PR03MB2303.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(13018025)(13024025)(13015025)(13023025)(13017025)(3002001)(10201501046)(6055026); SRVR:SN2PR03MB2303; BCL:0; PCL:0; RULEID:(400006); SRVR:SN2PR03MB2303; X-Forefront-PRVS: 0018A2705B X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN2PR03MB2303; 23:IaCv0jwYohPle/yEbCjIr5H/OcybfGIcoxG5/3ttU?= =?us-ascii?Q?oz1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nosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jul 2016 09:10:25.5636 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR03MB2303 X-Topics: crypto patch Subject: [lng-odp] [PATCH 2/2] api:crypto: resolve todo items X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" <lng-odp.lists.linaro.org> List-Unsubscribe: <https://lists.linaro.org/mailman/options/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=unsubscribe> List-Archive: <http://lists.linaro.org/pipermail/lng-odp/> List-Post: <mailto:lng-odp@lists.linaro.org> List-Help: <mailto:lng-odp-request@lists.linaro.org?subject=help> List-Subscribe: <https://lists.linaro.org/mailman/listinfo/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=subscribe> Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" <lng-odp-bounces@lists.linaro.org> |
diff --git a/include/odp/api/spec/crypto.h b/include/odp/api/spec/crypto.h index d8123e9..dea1fe9 100644 --- a/include/odp/api/spec/crypto.h +++ b/include/odp/api/spec/crypto.h @@ -170,8 +170,6 @@ typedef struct odp_crypto_data_range { /** * Crypto API session creation parameters - * - * @todo Add "odp_session_proc_info_t" */ typedef struct odp_crypto_session_params { odp_crypto_op_t op; /**< Encode versus decode */ @@ -210,8 +208,6 @@ typedef struct odp_crypto_session_params { /** * Crypto API per packet operation parameters - * - * @todo Clarify who zero's ICV and how this relates to "hash_result_offset" */ typedef struct odp_crypto_op_params { odp_crypto_session_t session; /**< Session handle from creation */ @@ -245,6 +241,14 @@ typedef struct odp_crypto_op_params { * indicates the caller wishes the destination packet buffer be allocated * from the output pool specified during session creation. * + * @var odp_crypto_op_params_t::hash_result_offset + * + * Specifies the offset where the hash result is to be stored. In case of + * decode sessions, input hash values will be read from this offset, and + * overwritten with hash results. If this offset lies within specified + * auth_range, implementation will mute this field before calculating the hash + * result. + * * @sa odp_crypto_session_params_t::output_pool. */
odp_session_proc_info_t is no longer required. Clarified hash_result_offset and its relation with ICV value. Signed-off-by: Nikhil Agarwal <nikhil.agarwal@linaro.org> --- include/odp/api/spec/crypto.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) -- 2.8.2