mguetschow
084dedcca7
Merge pull request #20116 from bergzand/pr/sha256/no_static
...
hashes/sha2{24,56}: Remove static variables from sha256
2024-01-16 16:01:56 +00:00
benpicco
c1ae2ecb9f
Merge pull request #20259 from fabian18/pr/gnrc/ipv6/nib_rejoin_ip6_mcast
...
gnrc/ipv6/nib: rejoin ipv6_addr_all_nodes_link_local on interface up
2024-01-16 15:11:53 +00:00
434e5647d0
hashes/sha224: Remove static variables from sha224
2024-01-16 16:00:44 +01:00
bac3f48dc9
hashes/sha256: Remove static variables from sha256
...
This removes the static (thread-unsafe) variables from sha256 and
hmac_sha256 to remove a potential footgun. The static variable is only
used when the caller does not supply a pointer to store the digest and
it is returned via the (undocumented) return value.
This commit removes this option and makes the digest argument mandatory.
2024-01-16 16:00:39 +01:00
Fabian Hüßler
ab3f77e673
gnrc/ipv6/nib: rejoin ipv6_addr_all_nodes_link_local on interface up
2024-01-16 12:34:37 +01:00
Frederik Haxel
291c89f1e7
sys/net/gnrc: Fixed wrong PRIuSIZE format specifier
2024-01-12 17:17:33 +01:00
benpicco
0c80553534
Merge pull request #20244 from benpicco/sys/shell/cmds-version
...
sys/shell: add firmware version to version cmd
2024-01-11 17:56:40 +00:00
Benjamin Valentin
f932552b99
sys/shell: add firmware version to version cmd
2024-01-11 14:38:15 +01:00
benpicco
714958ad3c
Merge pull request #20241 from benpicco/busy_wait
...
sys/busy_wait: add busy wait helper
2024-01-11 12:19:31 +00:00
benpicco
bb4c4ddf20
Merge pull request #20243 from benpicco/gnrc_ipv6_nib_pl_set-relax
...
gnrc/nib: allow prefix to be on-link without being used for address
2024-01-10 22:19:03 +00:00
Benjamin Valentin
433438c924
gnrc/nib: allow prefix to be on-link without being used for address
2024-01-10 14:49:03 +01:00
Benjamin Valentin
bfd29f0fa7
sys/busy_wait: add busy wait helper
2024-01-09 19:03:15 +01:00
Benjamin Valentin
7240f707a5
nanocoap_sock: implement FETCH methods
2024-01-09 12:40:10 +01:00
Benjamin Valentin
7c9345f53a
sys/suit: introduce suit_worker_done_cb()
2024-01-08 20:39:12 +01:00
benpicco
1d3a7cdb5a
Merge pull request #20224 from benpicco/GNRC_IPV6_STATIC_LLADDR_FIXED
...
gnrc/ipv6/nib: allow for predictable static link-local addresses
2024-01-04 18:17:09 +00:00
Benjamin Valentin
4a5757b9af
gnrc/ipv6/nib: add Kconfig for static link-local address
2024-01-04 17:45:23 +01:00
Benjamin Valentin
7196b0a2ae
gnrc/ipv6/nib: allow for predictable static link-local addresses
2024-01-04 16:13:37 +01:00
Marian Buschsieweke
616b48d354
Merge pull request #20228 from benpicco/cc2538_get_eui64_primary
...
cpu/cc2538: fix EUI provider
2024-01-04 14:30:19 +00:00
Benjamin Valentin
ecb1e57b18
net/eui_provider: include board.h
2024-01-04 13:16:24 +01:00
benpicco
519f8251a4
Merge pull request #20220 from LP-HAW/fix-benchmark-overflow
...
sys/benchmark: fix integer overflow in benchmark_print_time()
2024-01-03 14:30:33 +00:00
benpicco
6d180c365c
Merge pull request #20210 from Enoch247/fix-riotboot
...
riotboot: fix build errors
2024-01-02 17:54:49 +00:00
benpicco
59eb017448
Merge pull request #20198 from Teufelchen1/chore/fmt_test
...
tests: Slightly increase coverage of fmt unittests
2024-01-02 14:02:59 +00:00
Mikolai Gütschow
aaf7064b51
sys/psa_crypto: fix compile bug for certain configuration
2024-01-02 13:59:36 +01:00
Joshua DeWeese
9f27a5a246
sys/riotboot/slot: fix failed build
...
When riotboot/slot.h is included, but riotboot is not enabled in the
build, a compiler error occures. This is because SLOT0_LEN is not
defined. This patch fixes this by surrounding the offending macrro with
a conditional compile. `riotboot_slot_size()` may still be called, in
which case it returns 0 for the size of any slot given.
2023-12-21 16:33:15 -05:00
Joshua DeWeese
edb419ab7c
sys/shell: update doc
...
This patch updates shell.c's doc that undersells the shells complexity.
The comment seems to have been written prior to the shell's ability to
parse command args and handle quoting sequences.
2023-12-21 16:18:23 -05:00
Joshua DeWeese
5cd52885c1
sys/shell: fix missing NULL terminator
...
This patch adds the missing NULL terminator to the argv passed to shell
command handlers. Without it, Newlib's getop() was intermittently
causing hardfaults. Closer inspection of NewLib's code revealed that it
relies in this NULL termination. ANSI-C also requires it of the argv
passed to main().
2023-12-21 15:53:04 -05:00
Joshua DeWeese
8a9dd047be
sys/shell: add details to doc
...
This patch adds details to the rationale behind the design of the
argv/argc handling for shell command handlers. It also fixes a
misspelling.
2023-12-21 15:53:04 -05:00
Joshua DeWeese
fcd3d0decf
sys/shell: fix doc
...
Fixed broken Markdown code spans. Also added a code span around mention
of getopt.
2023-12-21 15:52:53 -05:00
Frederik Haxel
9272ad8d9a
net/gnrc/rpl: Remove unused debug string
2023-12-21 12:06:47 +01:00
Frederik Haxel
64ba553d1f
sys: Use size_t print format specifier
...
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@posteo.net>
2023-12-21 12:02:19 +01:00
Frederik Haxel
b5a43801fb
print: Added size_t print format specifier
...
- Added `PRIuSIZE`, `PRIxSIZE`, etc. to `architecure.h`
- Changed `CODING_CONVENTIONS.md` regarding `size_t` printing
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@posteo.net>
2023-12-21 12:02:16 +01:00
Oleg Hahm
724e6e0098
Merge pull request #20167 from benpicco/gnrc_ipv6_classic
...
gnrc_ipv6_nib: fix config for mixed 6lo/classic setup
2023-12-20 12:12:40 +00:00
Benjamin Valentin
9ceb7cd30c
gnrc/ipv6/nib: fix GNRC_IPV6_STATIC_LLADDR when link state changes
2023-12-19 18:33:59 +01:00
Teufelchen1
4a62b9ff31
tests: Slightly increase coverage of fmt unittests
2023-12-19 18:11:28 +01:00
Benjamin Valentin
a1c3d5a4ea
nanocoap: rename coap_get_uri_query() -> coap_get_uri_query_string()
...
Free up the name for a function that will do something actually useful
2023-12-19 14:01:53 +01:00
Benjamin Valentin
f56edf5849
nanocoap: defuse footgun in coap_get_uri_query()
2023-12-19 14:00:04 +01:00
Benjamin Valentin
fa1f60f4ac
gnrc_ipv6_nib: fix config for mixed 6lo/classic setup
2023-12-19 10:47:54 +01:00
Benjamin Valentin
2f9c68dabc
sys/net/netif: constify netif access
2023-12-15 16:50:21 +01:00
Benjamin Valentin
8f7dad6c53
gnrc: introduce gnrc_ipv6_classic pseudo-module
2023-12-11 23:31:21 +01:00
benpicco
81b5cf2e94
Merge pull request #20139 from benpicco/gnrc_sixloenc-fix
...
net/gnrc/netif: set 6LN flag for ethernet if gnrc_sixloenc is used
2023-12-07 20:06:13 +00:00
Marian Buschsieweke
d160a78ecc
sys/net/gnrc_sock: assume timeout is feasible
...
When not implementing the timeout feature, add an `assume()` that there
is no timeout. Otherwise things break at runtime and are hard to debug.
2023-12-06 13:48:27 +01:00
Benjamin Valentin
bc2c95c833
net/gnrc/netif: set 6LN flag for ethernet if gnrc_sixloenc is used
2023-12-04 22:56:28 +01:00
Marian Buschsieweke
d252eb7395
Merge pull request #19998 from fabian18/gnrc_static_messge_queues
...
gnrc: make message queues static
2023-12-04 11:21:08 +00:00
Fabian Hüßler
0cc2bdaf5b
sys/include/net/gnrc: reduce stack by previously allocated message queue
2023-12-03 17:53:44 +01:00
Lena Boeckmann
de09b2a0b4
sys/psa_crypto: Build PSA Crypto functions based on module selection
2023-11-30 21:02:42 +01:00
Mikolai Gütschow
6935ea21e7
sys/hashes: add SHA-512 support
2023-11-29 19:18:51 +01:00
benpicco
6eed92b1b7
Merge pull request #20114 from benpicco/gnrc_netif-error
...
sys/net/gnrc/netif: print which netif failed to init
2023-11-29 00:14:45 +00:00
Benjamin Valentin
c5b6a49b21
sys/net/gnrc/netif: print which netif failed to init
2023-11-28 23:01:21 +01:00
benpicco
db6d918c46
Merge pull request #19965 from benpicco/sock_udp_recv-ealry
...
sock/udp: work around gnrc_sock_recv() returning early timeout
2023-11-28 12:31:39 +00:00
Benjamin Valentin
e2e5e03439
nanocoap_sock: use coap_get_code_raw()
2023-11-28 13:11:11 +01:00