[riot-notifications] [RIOT-OS/RIOT] pkg/tinydtls: documents usage and configuration options (#11936)

Aiman Ismail notifications at github.com
Thu Sep 12 15:25:07 CEST 2019


pokgak commented on this pull request.



> + *
+ * TinyDTLS only has support for `TLS_PSK_WITH_AES_128_CCM_8` and
+ * `TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8`. The cipher suites to be used can be
+ * chosen at compile time by adding `DTLS_PSK` or `DTLS_ECC` to the CFLAGS as
+ * follows:
+ *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {.mk}
+ * # Uncomment to enable
+ * # This adds support for TLS_PSK_WITH_AES_128_CCM_8
+ * # CFLAGS += -DDTLS_PSK
+ * # This adds support for TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8
+ * # CFLAGS += -DDTLS_ECC
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ *
+ * If neither `DTLS_PSK` nor `DTLS_ECC` are specified, then tinyDTLS will
+ * enable `DTLS_PSK` by default.

Removed the sentence in favour of "(default)".

-- 
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/11936#discussion_r323737580
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190912/28693dd4/attachment.htm>


More information about the notifications mailing list