1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

8305 Commits

Author SHA1 Message Date
Marian Buschsieweke
1d69f067d1
sys/net/gnrc: Implement sock_aux_local
Provide address the IP packet / UDP datagram was received on in the auxiliary
data, if module sock_aux_local is used.
2020-12-04 12:47:59 +01:00
Fabian Hüßler
7b5391b7ce sys/net/gnrc/netif/init_devs: IEEE802154_STACKSIZE_DEFAULT 2020-12-04 09:40:55 +01:00
Fabian Hüßler
6123e87e64 sys/include/net/ieee802154: Add sec ops to radio HAL 2020-12-04 09:40:55 +01:00
Fabian Hüßler
dc16c14b3d sys: Add IEEE 802.15.4 security 2020-12-04 09:40:55 +01:00
benpicco
1a25df9d34
Merge pull request #15471 from maribu/event-threads-multi
sys/event: Allow single event_thread handling all queues
2020-12-03 21:04:36 +01:00
Marian Buschsieweke
c6211cc6c2
sys/event: Allow shared thread for multiple queues
Allow using `event_loop_multi()` to handle event queues of multiple priorities
in an single thread. In the extreme case, all three event queues are handled
by a single thread (thus saving two stacks). This comes for the price of
increased worst case latency, as already running event handlers will no longer
be preempted by higher priority events.

With this, all three event queue priorities are always provided. Using modules,
the old behavior of one thread per event queue can be restored for better worst
case latency at the expense of additional thread size.
2020-12-03 15:28:35 +01:00
János Brodbeck
18fb081d50
sock/dtls: remove usage of sock_dtls_session_create in documentation 2020-12-03 14:45:38 +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
Benjamin Valentin
191c91ce18 suit/transport/coap: make blocksize configurable
When using SUIT over a link-layer that supports larger PDU, a larger
CoAP blocksize is desirable to speed up firmware downloads.

To support this, make the CoAP blocksize used by SUIT configurable.
2020-12-03 10:51:42 +01:00
benpicco
a80631a297
Merge pull request #15074 from maribu/ptp-clock
drivers/periph/ptp_clock
2020-12-03 09:59:07 +01:00
benpicco
72621bcfcf
Merge pull request #15525 from firas-hamdi/fix/suit_coap_wo_progressbar
sys/suit: fix use w/o progress bar
2020-12-03 09:34:38 +01:00
Marian Buschsieweke
152ffe6db9
net/sock_dtls: Extend API for auxiliary data 2020-12-02 17:56:14 +01:00
Marian Buschsieweke
893bfd13d0
net/sock_udp: Extend API for auxiliary data 2020-12-02 17:56:13 +01:00
Marian Buschsieweke
ebcf1c0ab4
net/sock_ip: Extend API for auxiliary data 2020-12-02 17:56:13 +01:00
Marian Buschsieweke
d59607ddb7
sys/timex: change type of NS_PER_SEC
Having NS_PER_SEC defined as `1000000000U` is quite a foot gun, as
multiplication even with small numbers in 32 bit quickly overflows. Using the
`1000000000LLU` instead forces 64 bit math.
2020-12-02 17:53:00 +01:00
benpicco
665c07eb53
Merge pull request #15120 from benpicco/driver/at86rf215-trim
driver/at86rf215: add functions to configure trim & clock output at run-time
2020-12-02 16:53:02 +01:00
Benjamin Valentin
b866b5ef2b sys/net/gnrc/netif: add gnrc_netif_get_netdev()
Add a function to retrieve a netdev from the list of interfaces.
2020-12-02 14:59:17 +01:00
Firas Hamdi
398889cafa sys/suit: fix use w/o progress bar
apply change
2020-12-02 10:51:36 +01:00
Leandro Lanzieri
25917b1986
sys/fmt/Kconfig: make module available only for testing 2020-12-02 10:14:43 +01:00
Leandro Lanzieri
5ab04a28b9
sys/embunit/Kconfig: make module available only for testing 2020-12-02 10:14:43 +01:00
Leandro Lanzieri
14ea7a676d
sys/Kconfig.stdio: add printf_float module 2020-12-02 10:13:10 +01:00
Leandro Lanzieri
3741fc8b92
sys/auto_init/multimedia: add module to Kconfig 2020-12-02 10:12:17 +01:00
Francisco
c9720d16ca
Merge pull request #15515 from leandrolanzieri/pr/kconfig/drivers_ghij
drivers/{g,h,i,j}*: add Kconfig modules
2020-12-02 10:03:02 +01:00
Francisco
0a064806e3
Merge pull request #15443 from benpicco/l2util_addr
replace netif_addr_to/from_str() with l2util_addr_to/from_str()
2020-12-02 09:21:16 +01:00
Marian Buschsieweke
5c70345aa6
Merge pull request #15537 from fabian18/sx127x_netdev_register
drivers/sx127x: use netdev_register()
2020-12-01 21:38:38 +01:00
benpicco
b18cbd8c2a
Merge pull request #11068 from miri64/gnrc_sixlowpan_frag/new/minfwd
gnrc_sixlowpan_frag: initial import of minimal forwarding
2020-12-01 18:55:51 +01:00
benpicco
c22bba5cac
Merge pull request #15526 from miri64/gnrc_ipv6_ext_frag/fix/i15521
gnrc_ipv6_ext_frag: check return value of msg_try_send()
2020-12-01 17:58:17 +01:00
Leandro Lanzieri
2fc12c8252
Merge pull request #14324 from PeterKietzmann/pr_add_entropy_source
sys/entropy_source: add new module for entropy sources
2020-12-01 16:58:42 +01:00
Fabian Hüßler
c526a34770 sx127x: make use of netdev_register()
Call netdev_register() in sx127x_setup()
and pass the index in auto_init_sx127x()
and semtech_loramac_init()
2020-12-01 16:34:11 +01:00
Martine Lenders
27e123608f
gnrc_sixlowpan_iphc: forward received fragments 2020-12-01 16:25:30 +01:00
Martine Lenders
d9be79b266
gnrc_sixlowpan_iphc/minfwd: put only IPHC dispatch in first fragment
This is only the case when minfwd is compiled in.
2020-12-01 16:25:29 +01:00
Martine Lenders
7fe07e35a3
gnrc_sixlowpan_frag_rb: add VRB and use minfwd handling
When a VRB entry exists use minfwd to forward.

When a route exist for the first fragment received in reassembly create
a virtual reassembly buffer entry.
2020-12-01 16:25:29 +01:00
Martine Lenders
df1171a069
gnrc_sixlowpan_frag_rb: make rbuf pointer generic 2020-12-01 16:25:29 +01:00
Marian Buschsieweke
56cf30172f
Merge pull request #15532 from fabian18/cc110x_netdev_register
drivers/cc110x: use netdev_register
2020-12-01 16:17:37 +01:00
PeterKietzmann
aec75b55fe sys/entropy_source: add new module for entropy sources 2020-12-01 15:51:40 +01:00
Martine Lenders
4ce2d01cb9
gnrc_sixlowpan_frag: initial import of minimal forwarding
See https://tools.ietf.org/html/draft-ietf-6lo-minimal-fragment-04
2020-12-01 15:08:08 +01:00
Fabian Hüßler
39adf908ce cc110x: make use of netdev_register()
Call netdev_register() in cc110x_setup()
and pass the index in auto_init_cc110x()
2020-12-01 12:11:20 +01:00
Benjamin Valentin
eb199d4c78 netdev: move definition of NETDEV_INDEX_ANY to netdev 2020-12-01 11:55:06 +01:00
benpicco
333fce44b4
Merge pull request #14973 from benpicco/driver/at86rf215-batmon
drivers/at86rf215: implement battery monitor, add power bus
2020-12-01 11:52:46 +01:00
Martine Lenders
3295c833ca
gnrc_ipv6_ext_frag: propagate error up the stack on _snd_buf_free() 2020-12-01 11:32:18 +01:00
Francisco
f23c616eb1
Merge pull request #15422 from benpicco/pkg/fatfs-r0.14
pkg/fatfs: bump version to r0.14
2020-12-01 10:46:54 +01:00
Martine Lenders
c44d77e528
Merge pull request #15508 from namib-project/dhcp-mud-support
Add MUD URL option to DHCPv6 client
2020-12-01 10:33:51 +01:00
Leandro Lanzieri
4b7bb8719f
Merge pull request #15240 from akshaim/Kconfig_EMCute_1
MQTT-SN Clients ( Emcute/ Asymcute) : Kconfig Updates
2020-12-01 09:47:09 +01:00
Jan Romann
9823e45a93 net/dhcpv6: Introduce buffer size check 2020-11-30 22:46:33 +01:00
Jan Romann
2a570cb957 net/dhcpv6: Add DHCPv6 option for MUD URL (RFC 8520)
Co-Authored-By: Jens Bücker <48720000+jbueck@users.noreply.github.com>
Co-Authored-By: mauspr <75017188+mauspr@users.noreply.github.com>
Co-Authored-By: schulztr <75017039+schulztr@users.noreply.github.com>
2020-11-30 22:46:33 +01:00
Martine Lenders
6303d962a3
gnrc_ipv6_ext_frag: check return value of msg_try_send() 2020-11-30 15:31:59 +01:00
Benjamin Valentin
04d86dbcae core/byteorder: add helpers to convert from little endian to host byte order
This is usually a NOP, but a helper functions to allow for writing code
that would also work on mythical Big Endian machines.
2020-11-29 21:41:14 +01:00
Leandro Lanzieri
6bcb2f1b3d
sys/checksum: add module to Kconfig 2020-11-27 09:20:05 +01:00
ae053469d5 sys/xtimer: add missing msg.h include 2020-11-26 13:43:13 +01:00
7fe0d5cba8 sys/ztimer: add missing inttypes.h includes 2020-11-26 13:43:13 +01:00
benpicco
aabd5eaca5
Merge pull request #15506 from kaspar030/refactor_thread_info
core: refactor thread info
2020-11-26 13:01:09 +01:00
Francisco
47ed64fcfd
Merge pull request #15466 from leandrolanzieri/pr/kconfig_drivers_bc
drivers/{b,c}*: model modules in Kconfig
2020-11-26 10:44:28 +01:00
7e94050bbe sys/ps: make use of thread_is_active() 2020-11-25 20:49:00 +01:00
57e79d6c24 all: add missing sys/types.h includes 2020-11-25 17:52:34 +01:00
c1874c8d89 all: add missing limits.h includes
Removal of kernel_types.h make these necessary.
2020-11-25 17:52:34 +01:00
1d5e2e9cd9 all: remove traces of kernel_types.h
Automatically removed using:

    $ git grep -l kernel_types | xargs sed -i '/^#include .kernel_types/d'
2020-11-25 17:52:34 +01:00
848a5a4e7a sys/ps: make use of thread_get_status() 2020-11-25 14:39:47 +01:00
5321bcde89 core: thread: move thread_state_to_string() from ps.c 2020-11-25 14:35:00 +01:00
Leandro Lanzieri
fdabcf150f
sys/saul_reg: add module to Kconfig 2020-11-25 12:00:14 +01:00
Leandro Lanzieri
dd3ef01ed6
sys/phydat: add module to Kconfig 2020-11-25 12:00:13 +01:00
benpicco
6a4ece5246
Merge pull request #15359 from miri64/uhcp/fix/i15353
uhcp: fix handling of pushed prefix
2020-11-25 00:17:30 +01:00
575189510d
Merge pull request #15465 from maribu/atomic-utils-volatile
sys/atomic_utils: Use volatile qualifier
2020-11-24 22:05:33 +01:00
Marian Buschsieweke
5a2efe061d
sys: Moved volatile_utils from test
The volatile utils might be useful elsewhere - at least in a second unit test.
Move them to sys to allow using them, but with appropriate warnings added.
2020-11-24 14:34:51 +01:00
Marian Buschsieweke
a594b8adc1
sys/atomic_utils: Use volatile pointers
Mark all pointers in the atomic utils API as `volatile` for the following
reasons:

1. The guarantees provided by `volatile` is a subset of the guarantees
   provided by the atomic utils. This makes this fact more obvious.
2. Casting `volatile` off is undefined behavior. In order to be able to use
   the atomic utils on memory mapped IO (which needs the `volatile` qualifier)
   without resorting to undefined behavior, this API change is needed.
2020-11-24 14:00:51 +01:00
Martine Lenders
2d54968881
uhcp: fix handling of pushed prefix 2020-11-24 11:44:30 +01:00
benpicco
b3b07e4e33
Merge pull request #15481 from kaspar030/refactor_thread_defines
core: move scheduler defines
2020-11-23 17:56:09 +01:00
d6b6c0e98f sys/sema: add missing limits.h 2020-11-23 16:56:34 +01:00
0b801c4de0 all: adapt to moved sched defines 2020-11-23 16:56:34 +01:00
3a643246c8 sys/vfs: adapt to changed thread define location 2020-11-23 16:56:34 +01:00
benpicco
a80f0d966a
Merge pull request #15448 from leandrolanzieri/pr/kconfig/drivers_a
drivers/a*: model modules in Kconfig
2020-11-23 16:52:50 +01:00
benpicco
ee5f2f76fb
Merge pull request #15469 from benpicco/sys/riotboot_finish_raw
riotboot: don't always return error in riotboot_flashwrite_finish_raw()
2020-11-23 16:40:17 +01:00
jenswet
0d0ec11753 sys/net/lorawan: fix cpp namespace 2020-11-23 11:36:05 +01:00
benpicco
979eeed81a
Merge pull request #15492 from fjmolinas/pr_xtimer_msleep_var
sys/include/ztimer/xtimer_compat: fix wrong variable name
2020-11-22 14:41:41 +01:00
Francisco Molina
1d9994b9ec
sys/include/ztimer/xtimer_compat: fix wrong variable name 2020-11-22 13:05:36 +01:00
benpicco
dd1de91c63
Merge pull request #15480 from kaspar030/frac_inttypes
sys/frac/frac.c: add missing inttypes.h include
2020-11-20 12:05:22 +01:00
6fdcecc648 sys/frac/frac.c: add missing inttypes.h include 2020-11-20 10:49:48 +01:00
80a628f76d sys/gnrc/sock: make use of mbox_size() and mbox_avail() 2020-11-20 10:38:17 +01:00
Akshai M
4fea815d0f net/mqttsn : Remove 'MQTTSN_DEFAULT_PORT'
Remove unused macro 'MQTTSN_DEFAULT_PORT'
2020-11-19 23:11:21 +01:00
Akshai M
398c0d2711 net/asymcute : Update documentation
Add document to 'net_mqtt_conf', add brief, align macros.
deprecate 'CONFIG_ASYMCUTE_BUFSIZE_EXP'
2020-11-19 23:11:21 +01:00
Akshai M
1559aa1dc6 net/asymcute : Move 'ASYMCUTE_BUFSIZE' to 'CONFIG_'
Move ASYMCUTE_BUFSIZE to CONFIG_ namespace, update entry in Kconfig
2020-11-19 23:11:21 +01:00
Akshai M
8f36c817eb net/asymcute : Add 'CONFIG_ASYMCUTE_DEFAULT_PORT'
examples/asymcute : Update macro definition
Update macro definition for UDP port.

Kconfig/asymcute : Add 'ASYMCUTE_DEFAULT_PORT'
2020-11-19 23:11:21 +01:00
Akshai M
2c7dfac7d1 net/emcute : Update documentation
Update documentation and add new group 'net_mqtt_conf'
2020-11-19 23:11:21 +01:00
Akshai M
2c710b1b3f net/emcute : Expose to Kconfig 2020-11-19 23:11:21 +01:00
Akshai M
fb465db26f net/emcute : Move 'EMCUTE_DEFAULT_PORT' to 'CONFIG_'
tests/emcute : Change the macro for default port
r/MQTTSN_DEFAULT_PORT/CONFIG_EMCUTE_DEFAULT_PORT

examples/emcute : Update UDP port definition
r/MQTTSN_DEFAULT_PORT/CONFIG_EMCUTE_DEFAULT_PORT
2020-11-19 23:11:21 +01:00
Akshai M
348a8cb45a net/emcute : Move 'EMCUTE_N_RETRY' to 'CONFIG_' 2020-11-19 23:11:21 +01:00
Akshai M
1840310459 net/emcute : Move 'EMCUTE_T_RETRY' to 'CONFIG_' 2020-11-19 23:11:21 +01:00
Akshai M
752f76248b net/emcute : Move 'EMCUTE_KEEPALIVE' to 'CONFIG_' 2020-11-19 23:11:21 +01:00
Akshai M
4bb866c59e net/emcute : Move 'EMCUTE_TOPIC_MAXLEN' to 'CONFIG_' 2020-11-19 23:11:20 +01:00
Akshai M
17e2b20f50 net/emcute : Move 'EMCUTE_BUFSIZE' to 'CONFIG_' 2020-11-19 23:11:20 +01:00
benpicco
487f2ae91e
Merge pull request #15435 from jia200x/pr/fix_gnrc_pktq
gnrc_netif_pkq: fix pktbuf leak
2020-11-19 11:54:53 +01:00
Jose Alamos
dfb214ab98 gnrc_netif: add missing pktbuf release 2020-11-19 11:13:58 +01:00
e44fa2ba3e sys/oneway-malloc: check calloc args 2020-11-19 10:02:50 +01:00
Leandro Lanzieri
024b70cbe1
drivers/at: add modules to Kconfig 2020-11-18 18:38:48 +01:00
Leandro Lanzieri
9a5ed7c085
sys/ps: add module to Kconfig 2020-11-18 18:38:45 +01:00
Leandro Lanzieri
a7d1ebc0fd
sys/event: add modules to Kconfig 2020-11-18 18:38:45 +01:00
Leandro Lanzieri
f8e4085899
sys/embunit: add module to Kconfig 2020-11-18 18:38:44 +01:00
Leandro Lanzieri
8898e21f08
sys/color: add module to Kconfig 2020-11-18 18:38:44 +01:00
Benjamin Valentin
4bcccb1c68 riotboot: use log level ERROR if riotboot_flashwrite_finish_raw() fails 2020-11-18 18:04:59 +01:00
Benjamin Valentin
e697d93e02 riotboot: don't always return error in riotboot_flashwrite_finish_raw()
If `CONFIG_RIOTBOOT_FLASHWRITE_RAW` is not set, `riotboot_flashwrite_finish_raw()`
will always return `-1` as `res` is not set anywhere else.

Fix this by only returning -1 in the error case.
2020-11-18 16:13:47 +01:00
Leandro Lanzieri
5a87053fa4
sys/stdio: add stdio_native module to Kconfig 2020-11-18 10:07:54 +01:00
Marian Buschsieweke
45b8902659
Merge pull request #15314 from aabadie/pr/sys/arduino_print_float
sys/arduino: fix print float
2020-11-17 16:15:39 +01:00
benpicco
afbf507a74
Merge pull request #15440 from maribu/pointer-tagging
sys: Add helpers for pointer tagging
2020-11-17 14:21:46 +01:00
Benjamin Valentin
33449a4409 pkg/fatfs: bump version to r0.14 2020-11-17 11:29:28 +01:00
Benjamin Valentin
83a4248fbb net/netif: remove netif_addr_to/from_str() 2020-11-17 10:51:22 +01:00
Benjamin Valentin
dbf6b1e25c sys/net: replace netif_addr_to/from_str with l2util_addr… 2020-11-17 10:51:22 +01:00
Marian Buschsieweke
ffbb1c1035
sys: Add helpers for pointer tagging 2020-11-17 10:10:28 +01:00
Benjamin Valentin
5d6754e7a9 l2util: add l2util_addr_to_str()/l2util_addr_from_str() 2020-11-14 17:29:26 +01:00
Benjamin Valentin
f9c36f9738 netopt: add NETOPT_BATMON
Many radios have a built-in battery monitor.
Add a netopt to configure it.
2020-11-13 22:59:09 +01:00
benpicco
9621855125
Merge pull request #15436 from jia200x/pr/fix_submac_hal_access
ieee802154_submac: set TRX state only if SubMAC is idle
2020-11-13 16:47:56 +01:00
Jose Alamos
bfcfa29aa6 ieee802154_submac: set TRX state only if SubMAC is idle 2020-11-13 13:36:48 +01:00
Benjamin Valentin
7e069290a0 sys/bus: add system buses 2020-11-12 22:50:53 +01:00
benpicco
d9598a0f54
Merge pull request #15412 from bergzand/pr/flashpage/merge_raw
periph_flashpage: Make pagewise API optional
2020-11-12 22:32:21 +01:00
792e031a95
Merge pull request #14331 from maribu/atomic_utils
sys/atomic_utils: Functions for atomic access
2020-11-12 21:44:53 +01:00
Jose Alamos
53348e3a8c gnrc_netif: add missing netdev events 2020-11-12 16:12:22 +01:00
153c52754d
Merge pull request #15070 from fjmolinas/pr_uwb_core
pkg/uwb_core: initial support
2020-11-12 14:04:51 +01:00
Francisco Molina
3622c2da07
pkg/uwb-core: initial import 2020-11-12 12:54:54 +01:00
Martine Lenders
37dd848c37
Merge pull request #15337 from cgundogan/pr/uri_parser_interfaces
uri_parser: extend for parsing interfaces in IPv6 addresses
2020-11-12 11:16:52 +01:00
722223902a
riotboot: only depend on periph_flashpage 2020-11-11 23:16:43 +01:00
Cenk Gündoğan
9eb6a38a5a
uri_parser: parse interface in IPv6 addresses 2020-11-11 22:47:30 +01:00
Benjamin Valentin
b9e61fd102 sys/od: add Kconfig 2020-11-10 14:21:47 +01:00
Martine Lenders
5ef8ca476f
uhcp: improve documentation 2020-11-09 11:45:28 +01:00
Leandro Lanzieri
3ce7dc8f1d
sys/fmt: Add module to Kconfig 2020-11-06 15:57:58 +01:00
Leandro Lanzieri
b2b704160e
sys/arduino: add module to Kconfig 2020-11-06 15:57:57 +01:00
Leandro Lanzieri
f3b26c8b11
sys/schedstatistics: add module to Kconfig 2020-11-06 15:57:55 +01:00
Leandro Lanzieri
2101161eab
sys/benchmark: add module to Kconfig 2020-11-06 15:57:55 +01:00
Leandro Lanzieri
fb282c37e1
sys/shell: Add module to Kconfig 2020-11-06 15:57:54 +01:00
Leandro Lanzieri
a66f7fd61f
sys/stdio: add stdin and stdio_uart_rx modules to Kconfig 2020-11-06 15:57:54 +01:00
Leandro Lanzieri
fec7cd37e3
sys/tsrb: Add module to Kconfig 2020-11-06 15:57:53 +01:00
Leandro Lanzieri
4bb0edbbfc
sys/xtimer: Add module to Kconfig 2020-11-06 15:57:53 +01:00
Leandro Lanzieri
a7ef35d318
sys/isrpipe: Add module to Kconfig 2020-11-06 15:57:52 +01:00
Leandro Lanzieri
34715621cf
sys/div: Add module to Kconfig 2020-11-06 15:57:52 +01:00
Leandro Lanzieri
c1edcd9fd2
sys/test_utils: add modules to Kconfig 2020-11-06 15:57:49 +01:00
Bas Stottelaar
152c2f5786 sys/riotboot: add stddef.h for size_t 2020-11-05 23:50:38 +01:00
János Brodbeck
16c5fd6fbd
net/gcoap: relabel _sock to _sock_udp 2020-11-05 17:19:42 +01:00
János Brodbeck
c4e646037d
net/gcoap: split out the coap processing part of _on_sock_evt 2020-11-05 17:19:41 +01:00
Martine Lenders
cc10d31391
Merge pull request #15305 from aabadie/pr/sys/posix_sleep
sys/posix: rename posix_time to posix_sleep
2020-11-05 16:36:25 +01:00
Marian Buschsieweke
4e8b0d541f
Merge pull request #15386 from maribu/drop_irq_handler
sys/irq_handler: Drop module
2020-11-05 10:55:29 +01:00
Marian Buschsieweke
0e8b8ffa64
sys/atomic_utils: Functions for atomic access
A set of functions competing with C11 atomics feature-wise, but are implemented
more efficient.
2020-11-05 10:23:32 +01:00
Marian Buschsieweke
a2dd6f90e5
sys/irq_handler: Remove deprecated module 2020-11-05 09:12:32 +01:00
benpicco
568e1e3635
Merge pull request #15199 from fjmolinas/pbkdf2-sha256
sys/hashes/pbkdf2: Add PBKDF2-sha256 implementation. [TAKEOVER]
2020-11-04 14:45:12 +01:00
benpicco
010925d77d
Merge pull request #15076 from benpicco/xtimer_msleep
xtimer: introduce xtimer_msleep()
2020-11-04 11:09:03 +01:00
Juan Carrano
bc8ce928d4
sys/hashes/pbkdf2: wipe local variables, prevents leaks.
Wipe temporary buffers and sha256 contexts so that no remnants of the
password is left on the stack

This ensures that the password is not leaked if some function reads
the stack afterwards.
2020-11-04 09:57:32 +01:00
Juan Carrano
62667848c4
sys/hashes/pbkdf2: Add PBKDF2-sha256 implementation.
This add an implementation of PBKDF2 using sha256 hmac. Only one derived
key length is supported (32) though it should not be hard to extend it.

The testing is done with both random (with fixed seed) vectors amd vectors
from rfc7914.
2020-11-04 09:57:32 +01:00
Martine Lenders
1070e287f4
Merge pull request #15342 from miri64/gnrc_pkt/enh/tests
gnrc_pkt: port to list.h
2020-11-03 17:49:40 +01:00
Francisco
3e3da1217d
Merge pull request #15249 from aabadie/pr/tools/typo
tools/codespell: fix new typos and make it fail when typos are found
2020-11-03 15:01:20 +01:00
Martine Lenders
bbe4f3074b
gnrc_pkt: port to list.h 2020-11-03 13:15:29 +01:00
benpicco
9681c204d6
Merge pull request #14959 from benpicco/at86rf215-mr-fsk
drivers/at86rf215: implement MR-FSK
2020-11-03 11:26:24 +01:00
Benjamin Valentin
a6db7d56ba drivers/at86rf215: fix CCA duration
The standard CCA backoff period is 8 symbols and only differs for
MR-O-QPSK where it is dependent on the chip rate.
2020-11-03 10:51:21 +01:00
Bas Stottelaar
a76cb4ea2f sys/*: ENABLE_DEBUG not needed for inttypes.h 2020-11-02 21:49:39 +01:00
Bas Stottelaar
28ae0c97cd sys/*: use DEBUG_EXTRA_STACKSIZE for debug stacks 2020-11-02 21:49:39 +01:00