[riot-notifications] [RIOT-OS/RIOT] sys: add credman (D)TLS credential management module (#11564)

Aiman Ismail notifications at github.com
Tue May 28 18:20:01 CEST 2019


pokgak commented on this pull request.



> +    credman_tag_t tag;          /**< Tag of the credential */
+    union {
+        psk_params_t *psk;      /**< PSK credential parameters */
+        ecdsa_params_t *ecdsa;  /**< ECDSA credential parameters */
+    } params;                   /**< Credential parameters */
+} credman_credential_t;
+
+/**
+ * @brief Return values
+ */
+enum {
+    CREDMAN_OK          = 0,
+    CREDMAN_EXIST       = -1,
+    CREDMAN_NO_SPACE    = -2,
+    CREDMAN_NOT_FOUND   = -3,
+    CREDMAN_ERROR       = -4,

Docs added.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11564#discussion_r288189906
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190528/86a0a0c0/attachment.html>


More information about the notifications mailing list