diff mbox series

[API-NEXT,v1,1/1] api: crypto: clarify for odp_crypto_session_create

Message ID 1501509606-28288-2-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [API-NEXT,v1,1/1] api: crypto: clarify for odp_crypto_session_create | expand

Commit Message

Github ODP bot July 31, 2017, 2 p.m. UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** 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 mbox series

Patch

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