From patchwork Mon Jul 31 14:00:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 109033 Delivered-To: patch@linaro.org Received: by 10.140.101.6 with SMTP id t6csp249952qge; Mon, 31 Jul 2017 07:00:32 -0700 (PDT) X-Received: by 10.55.7.139 with SMTP id 133mr20196609qkh.165.1501509632242; Mon, 31 Jul 2017 07:00:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501509632; cv=none; d=google.com; s=arc-20160816; b=O0+om17scU/an7VpuvgWXdYOx21YkWVHInB6Qdu2L9lTfJY4eOf1s4rfq3m0xEdfbT MM6TUa+k+UoVwQk8+STZuYzWCcCCGrt5hOtyW+xXh7jOypxcfD1nrG0C+ThPGIO5duW5 n+KdWcmP2mxc1MUw8tpIvfXJy/oTfC5abc/jXK9PEItb4bM5rolK+vBx12CmMeU7Q7ld /HlHaaXfLCsOBPwVEUhwEltzApk8FYTetlBYH/S2BG/Q4lRAttFP+dajzYPvBDIFePHj vJv+bRfYvv31CLdm3uyShG10Jfl2Do7GfAD4hUOQgVk2KwLPt/EFxEK6S/WBRiBugdiV KjjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=h9uj1bOsYjMrGfj2gyF03A22UdOOltm52MeUZYkTR4Y=; b=o03YhhpW5K/0atRhYbZugPXmP2gsxUvJtkrzcVAT49GQQ51wX2uD3srEYpcimpfMx1 SWaxB7BzFGlTy4cIz6k6dl0NKDlEF43vAgl7V9NPwR1z0s8HlkkhhlJA58LHl7d8u5Ob xK3KKy2vxOsIZoYLeCNvc0gyQP+yWljj7ehCZgZ/h7nNcFhYKFDKGPq+DcHgEKgV2SgS NEJg6HPalBXXYo7wqfIve21PIxRG/XnO9+aHnFAdELNjg0mpkAE0OMhUxkiK20KU9zuf WIBf6d57+NgMkXblVlyEXZre++UzuyC+qBmm75FUKeZ/7f5KZMZu98X8ELFO23i2Xw0i W4FQ== ARC-Authentication-Results: i=1; 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id s13si10195018qti.301.2017.07.31.07.00.30; Mon, 31 Jul 2017 07:00:32 -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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id D323B644A8; Mon, 31 Jul 2017 14:00:30 +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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,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 AE4AF60A79; Mon, 31 Jul 2017 14:00:22 +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 578DA60A79; Mon, 31 Jul 2017 14:00:20 +0000 (UTC) Received: from forward2j.cmail.yandex.net (forward2j.cmail.yandex.net [5.255.227.20]) by lists.linaro.org (Postfix) with ESMTPS id 5463460A79 for ; Mon, 31 Jul 2017 14:00:19 +0000 (UTC) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [37.140.190.26]) by forward2j.cmail.yandex.net (Yandex) with ESMTP id 0A1F120D76 for ; Mon, 31 Jul 2017 17:00:18 +0300 (MSK) Received: from smtp1o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1o.mail.yandex.net (Yandex) with ESMTP id 096F91300509 for ; Mon, 31 Jul 2017 17:00:15 +0300 (MSK) Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id iRDpf76yoo-0EFGv569; Mon, 31 Jul 2017 17:00:14 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Mon, 31 Jul 2017 17:00:06 +0300 Message-Id: <1501509606-28288-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1501509606-28288-1-git-send-email-odpbot@yandex.ru> References: <1501509606-28288-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 95 Subject: [lng-odp] [PATCH API-NEXT v1 1/1] api: crypto: clarify for odp_crypto_session_create X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 95 (lumag:crypto-session-create) ** https://github.com/Linaro/odp/pull/95 ** Patch: https://github.com/Linaro/odp/pull/95.patch ** Base sha: c16f1363303cd5fc11324acbc4dfebe0a9680a41 ** Merge commit sha: fe3265a0128831dc2ff4b7388c49fb0813c4a26a **/ include/odp/api/spec/crypto.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/odp/api/spec/crypto.h b/include/odp/api/spec/crypto.h index 6d4807c4..0ddff05e 100644 --- a/include/odp/api/spec/crypto.h +++ b/include/odp/api/spec/crypto.h @@ -647,7 +647,8 @@ int odp_crypto_auth_capability(odp_auth_alg_t auth, * * Create a crypto session according to the session parameters. Use * odp_crypto_session_param_init() to initialize parameters into their - * default values. + * default values. If call ends up with an error, 'session' argument won't be + * updated and no new session will be created. * * @param param Session parameters * @param session Created session else ODP_CRYPTO_SESSION_INVALID