benpicco
222a2e1d99
Merge pull request #20478 from mariemC/Mariem/dtls_default_user_params_fix
...
pkg/tinydtls: enforce the default dtls user params to be configurable
2024-03-26 17:48:08 +00:00
mariemC
208e757d33
pkg/tinydtls/contrib: add get user params
2024-03-22 12:19:15 +01:00
Leandro Lanzieri
868d8390f4
sys/net/sock_dtls: add public key verification
2024-03-19 07:44:50 +01:00
Frederik Haxel
1182de16fd
pkg: Use size_t print format specifier
2023-12-21 12:02:32 +01:00
Benjamin Valentin
dac5aec0c4
pkg/tinydtls: bump version
2023-12-06 19:07:59 +01:00
Benjamin Valentin
bb515ab51e
pkg/tinydtls: don't set custom log level
...
tinyDTLS now uses RIOT's log.h
2023-01-21 23:09:32 +01:00
Benjamin Valentin
33bff8cb18
pkg/tinydtls: implement sock_dtls_recv_buf_aux()
2023-01-13 00:08:55 +01:00
Benjamin Valentin
3af06a1c3d
net/sock/dtls: introduce sock_dtls_sendv_aux()
2022-07-28 13:21:07 +02:00
Hendrik van Essen
d424aaedac
pkg/tinydtls: add IPv4 support
2022-03-25 17:19:47 +01:00
Hendrik van Essen
e623133dab
pkg/tinydtls: remove unnecessary void casts
2022-03-25 14:30:47 +01:00
Leandro Lanzieri
05db36a3d0
pkg/tinydtls: join IPv6 address and port in addr member
2022-03-25 09:44:44 +01:00
Francisco Molina
a3d58c6dcd
pkg/tinydtls/sock_dtls: use ztimer_usec
2022-02-18 13:33:36 +01:00
Francisco Molina
73e7eacf22
pkg/tinydtls/contrib: uncruistify
2022-02-18 13:17:23 +01:00
Karl Fessel
af4381db07
pkg/tinydtls: depends on xtimer
2021-12-14 22:53:01 +01:00
Martine Lenders
8f5561d694
tinydtls: sock_dtls: only use ifindex with link-local addresses
...
For global addresses the out-going interface is typically decided by the
forwarding information base, so _requiring_ the user to set it with
`sock_dtls` is undesirable. This has the caveat, that now on
`sock_udp_send()` in the `_write()` method, the sock does not know via
which network interface to send a packet with a global address, but
again: this is really more a task for the underlying network stack, not
the sock layer.
2021-09-29 14:24:03 +02:00
János Brodbeck
c016b843d6
pkg/tinydtls: destroy session after sending close notification
2021-07-05 23:45:20 +02:00
Leandro Lanzieri
6428505017
net/sock/dtls: allow CREDMAN_TAG_EMPTY on sock creation
2021-04-01 09:47:39 +02:00
Leandro Lanzieri
bccfb6e990
pkg/tinydtls/sock: allow multiple RPK credentials
2021-04-01 09:47:38 +02:00
Leandro Lanzieri
1c1c5f1d36
pkg/tinydtls/sock: allow multiple PSK credentials
2021-04-01 09:47:38 +02:00
Leandro Lanzieri
8b57b87258
net/sock/dtls: add RPK callback for credential selection
2021-04-01 09:47:37 +02:00
Leandro Lanzieri
81892ee389
net/sock/dtls: add client PSK callback for credential selection
2021-04-01 09:47:37 +02:00
Leandro Lanzieri
62fb9ad69f
net/sock/dtls: allow to register multiple credentials into a sock
2021-04-01 09:47:36 +02:00
Leandro Lanzieri
d7440ce1e3
net/sock/dtls: allow to set PSK Identity hint
2021-04-01 09:47:36 +02:00
János Brodbeck
04d95d1c5e
pkg/tinydtls: implement sock_dtls_get_event_session
2021-01-21 19:03:40 +01:00
János Brodbeck
34a15b6540
pkg/tinydtls: implement sock_dtls_session_set_udp_ep
2021-01-04 20:22:57 +01:00
János Brodbeck
4be161c3e7
pkg/tinydtls: implement sock_dtls_session_get_udp_ep
2020-12-21 18:24:22 +01:00
János Brodbeck
387acdfdb5
pkg/tinydtls: remove sock_udp_ep_t from sock_dtls_session_t
2020-12-18 16:41:58 +01:00
Marian Buschsieweke
f222a3f2e9
pkg/tinydtls: Implement sock_aux_local
2020-12-04 16:00:32 +01:00
Marian Buschsieweke
9d46bc7d7f
Merge pull request #14703 from maribu/sock-aux-api
...
net/sock: Add access to auxiliary data (API only)
2020-12-03 12:08:49 +01:00
Marian Buschsieweke
152ffe6db9
net/sock_dtls: Extend API for auxiliary data
2020-12-02 17:56:14 +01:00
Marian Buschsieweke
ebcf1c0ab4
net/sock_ip: Extend API for auxiliary data
2020-12-02 17:56:13 +01:00
Martine Lenders
ef5e0344ef
tinydtls_sock_dtls: use new mbox_avail() function
2020-11-20 13:09:59 +01:00
János Brodbeck
2538e72625
pkg/tinydtls: set endpoint of session after complete handshake
2020-11-16 13:50:15 +01:00
János Brodbeck
958d604775
pkg/tinydtls: set address family of session endpoint on sock_dtls_recv
2020-11-10 03:11:20 +01:00
Bas Stottelaar
9dd3b7a3ec
pkg/*: replace #if ENABLE_DEBUG with IS_ACTIVE
2020-11-02 21:49:39 +01:00
Bas Stottelaar
38a5ff7d4b
pkg/*: realign ENABLE_DEBUG
2020-10-23 02:43:10 +02:00
Bas Stottelaar
970c72a0cb
pkg/*: add missing include of assert.h
2020-10-22 11:13:08 +02:00
János Brodbeck
ffb80ab6b6
tinydtls: fix minor typo in comment
2020-10-10 13:05:46 +02:00
Martine Lenders
4013c616f7
tinydtls: add sock_async
support for sock_dtls
2020-06-18 15:40:41 +02:00
M Aiman Ismail
44f2f50c89
tinydtls_sock_dtls: don't put alert & EVENT_CONNECT in mbox
2020-06-18 14:14:12 +02:00
M Aiman Ismail
2e16b90b38
tinydtls_sock_dtls: save session information after data decrypted
2020-06-18 14:04:51 +02:00
Martine S. Lenders
ccdcc3679c
tinydtls: provide implementation for sock_dtls_get_udp_sock
2020-05-26 20:37:42 +02:00
Aiman Ismail
3ad2724f44
sock_dtls: fix vera++ warnings on line length
2020-05-22 14:06:38 +02:00
Aiman Ismail
b5b7955743
sock_dtls: add sock_dtls_session_init()
...
deprecates sock_dtls_session_create()
2020-05-22 14:06:12 +02:00
Aiman Ismail
7f883f4098
sock_dtls: add timeout to sock_dtls_send()
2020-05-18 09:45:14 +02:00
Aiman Ismail
bd0228342d
tinydtls_sock_dtls: remove duplicate handle message
2020-04-05 16:11:18 +02:00
Aiman Ismail
e0a02705b2
examples/dtls-sock: change unsupported %zd to %d
2020-03-09 15:08:52 +01:00
Aiman Ismail
aa3cbacceb
net/sock_dtls: do not put msg in mbox on timeout
2020-03-09 15:08:52 +01:00
Aiman Ismail
d5b2aa8a2f
pkg/tinydtls: Move configurations to 'CONFIG_' namespace
...
Macros that changed:
DTLS_PSK -> CONFIG_DTLS_PSK
DTLS_ECC -> CONFIG_DTLS_ECC (except in release-notes.txt)
DTLS_CONTEXT_MAX -> CONFIG_DTLS_CONTEXT_MAX
DTLS_PEER_MAX -> CONFIG_DTLS_PEER_MAX
DTLS_HANDSHAKE_MAX -> CONFIG_DTLS_HANDSHAKE_MAX
DTLS_SECURITY_MAX -> CONFIG_DTLS_SECURITY_MAX
DTLS_HASH_MAX -> CONFIG_DTLS_HASH_MAX
2020-03-05 19:11:38 +01:00
Martine S. Lenders
f8198dbf6f
tinydtls: remove receive buffer indirection via mbox
2020-03-03 14:42:16 +01:00