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

131 Commits

Author SHA1 Message Date
Marian Buschsieweke
abb666bf73
tests/sys/shell_lock: increase robustness of the test
Before the test used the `help` command to verify that access to the
shell is present. While this does have the benefit of not requiring a
custom command, it does have some robustness issues:

- When new default commands get added, this test will fail
- When the help message of a command gets reworded, the test will fail
- When the order of commands in the test will change, the test will fail
    - Note that with the XFA based `SHELL_COMMAND()` macro, we do not
      guarantee any particular order. Specifically, the order can change
      with implementation details.
2024-11-07 10:45:50 +01:00
mguetschow
00e25adfe3
Merge pull request #20720 from netd-tud/chacha20-glue-code-implementation
sys/psa_crypto: one-shot Chacha20 support
2024-10-29 16:52:30 +00:00
Mihai Renea
9996909b65 sys/event: add event_sync() 2024-10-18 13:14:04 +02:00
Wunderbaeumchen
b9396c4739 sys/psa_crypto: chacha20 oneshot gluecode 2024-10-17 10:25:59 +02:00
Fabian Hüßler
d4cd708849 tests/sys/event_ztimer: add event_periodic_start_now() to test 2024-10-14 21:18:27 +02:00
Benjamin Valentin
97128eef48 treewide: clean up remnants of THREAD_CREATE_STACKTEST 2024-10-07 17:31:31 +02:00
Armin Wolf
cf66f712a6 tests/sys/psa_crypto: Add tests for key usage flags
Add some tests to verify that when creating or importing keys,
the usage flags PSA_KEY_USAGE_SIGN_HASH/PSA_KEY_USAGE_VERIFY_HASH
automatically set the usage flags PSA_KEY_USAGE_SIGN_MESSAGE/
PSA_KEY_USAGE_VERIFY_MESSAGE on the key.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
2024-09-17 21:36:39 +02:00
chrysn
a26366371d sys/ztimer: Remove the deprecated ztimer_now64
This has been scheduled for removal after 2022.10, and its replacement
ztimer64_now has long been available.
2024-08-20 20:52:37 +02:00
Benjamin Valentin
312a550f1a treewide: remove THREAD_CREATE_STACKTEST from thread creation 2024-07-29 11:45:58 +02:00
Wunderbaeumchen
9b502027ab sys/psa_crypto: added sha3 glue code 2024-07-13 04:35:21 +02:00
Mikolai Gütschow
86b0c5bc9a
tests/sys/progress_bar: remove debug print 2024-06-30 11:35:11 +02:00
Mikolai Gütschow
e79cb1b6a9
test/sys/progress_bar: fix python (exclusive) range 2024-06-26 11:12:36 +02:00
Mikolai Gütschow
e02c953e33
tests/sys/progress_bar: move configuration to app.config
Providing the configuration via Makefile variables if Kconfig is supported by the module
may involve some non-determinism in the environment variable that is finally exposed to the python tests.
This commit moves the configuration from Makefile to app.config.
2024-06-26 11:11:44 +02:00
mguetschow
a3059feeda
Merge pull request #20763 from mguetschow/nightly-debug-progressbar
test/sys/progress_bar: temporary printout to debug flaky test
2024-06-25 20:00:23 +00:00
Mikolai Gütschow
67ae5035c8
test/sys/progress_bar: temporary printout to debug flaky test 2024-06-25 21:57:40 +02:00
Mikolai Gütschow
cf4cc6ce63
tests/sys/psa_crypto_ecdsa: fix stacksize determination 2024-06-24 13:13:39 +02:00
LP-HAW
b51d8e3478 sys/crypto: fix OCB mode 2024-06-11 18:26:14 +02:00
LP-HAW
9cf9638fdc sys/random: fix SHAxPRNG init_by_array 2024-05-31 23:29:09 +02:00
mguetschow
c46d75d486
Merge pull request #20676 from LP-HAW/fix-uecc-key-format
pkg/micro-ecc/psa_uecc: convert between SEC 1 and micro-ecc public key formats
2024-05-22 15:41:43 +00:00
Lars
2ed082a807 tests/sys/psa_crypto_ecdsa: add test vector 2024-05-22 14:02:12 +02:00
mguetschow
3255b95937
Merge pull request #20598 from mguetschow/psa-hashes-sha512-truncated
sys/psa_crypto: SHA-{384,512/{224,256}}
2024-05-17 09:20:03 +00:00
Mikolai Gütschow
6be95ca482
tests/sys/psa_crypto_hashes: sync with content from examples/psa_crypto 2024-05-17 10:52:16 +02:00
mguetschow
de64a1c85f
Merge pull request #20606 from mguetschow/test-psa-crypto-hash-interleaved
tests/sys/psa_crypto: test interleaved hash operations
2024-05-16 11:45:33 +00:00
benpicco
3c4b23c801
Merge pull request #20607 from mguetschow/psa-key-bits-cleanup
sys/psa_crypto: correct use of (ECDSA) key_bits
2024-05-16 08:17:47 +00:00
benpicco
22795248eb
Merge pull request #20651 from benpicco/shell_scripting
sys/shell: add support for running a batch of commands from a file
2024-05-15 09:35:04 +00:00
Benjamin Valentin
cc2dca1064 tests/shell_scripting: add test for running commands from file 2024-05-15 11:20:38 +02:00
Mikolai Gütschow
15e48f0cf3
sys/psa_crypto: correct use of (ECDSA) key_bits 2024-05-14 17:02:46 +02:00
mguetschow
12180f5e80
Merge pull request #20545 from Einhornhool/pr/psa-remove-test-symlinks
tests/sys/psa_crypto*: remove test symlinks
2024-05-14 14:51:26 +00:00
Lena Boeckmann
545a4dd5e4 tests/sys/psa_crypto_ecdsa: Make stacksize backend dependent 2024-05-13 18:30:36 +02:00
Marian Buschsieweke
d5839ca190
examples,tests: Bump Makefile.ci for MSP430 boards 2024-05-07 07:57:41 +02:00
Mikolai Gütschow
db12864596
tests/sys/psa_crypto: increase timeout
to account for slow software implementation
2024-04-23 12:46:09 +02:00
Mikolai Gütschow
07f841d9a4
tests/sys/psa_crypto: test interleaved hash operations 2024-04-22 12:28:19 +02:00
Lena Boeckmann
a958332f14 tests/sys/psa_crypto*: Remove symlinks 2024-04-17 14:13:14 +02:00
mguetschow
ad9d50163e
Merge pull request #20334 from mguetschow/psa-import-key
sys/psa_crypto: ed25519 private key {ex,im}port
2024-04-17 11:24:04 +00:00
Mikolai Gütschow
5f08f7478b
sys/psa_crypto: ed25519 private key {ex,im}port 2024-04-17 12:42:05 +02:00
mguetschow
b302b031c8
Merge pull request #20099 from Einhornhool/feature/psa-crypto-persistent-storage
sys/psa_crypto: Implement persistent key storage
2024-04-16 15:37:03 +00:00
Lena Boeckmann
cbadc4f658 sys/psa_crypto: implement persistent key storage 2024-04-16 11:04:51 +02:00
dylad
1a69d9c4c1 tests/sys/shell: add boards to BOARD_INSUFFICIENT_MEMORY
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2024-04-06 12:00:16 +02:00
dylad
364519d5ce tests/sys/shell: increase the stack size of periodic thread
Otherwise the test seems to be broken with LLVM toolchain

Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2024-04-06 10:14:10 +02:00
Marian Buschsieweke
be0d276caa
Merge pull request #20529 from Teufelchen1/deprecate/phydat_str
sys/phydat: Remove deprecated print function
2024-04-04 11:24:04 +00:00
Teufelchen1
96e748d959 sys/phydat: Remove deprecated print function
Co-authored-by: Marian Buschsieweke <maribu@users.noreply.github.com>
2024-04-03 15:29:19 +02:00
Marian Buschsieweke
4b3308cdef
Merge pull request #20357 from maribu/cpu/msp430/usci
cpu/msp430/f2xx: clean up periph_uart,periph_spi
2024-03-27 19:57:47 +00:00
Marian Buschsieweke
10ee192afc
examples,tests: bump Makefile.cis
Ran `dist/tools/insufficient_memory/update_insufficient_memory_board.sh`
for both `z1` and `olimex-msp430-h2618`.
2024-03-27 18:54:07 +01:00
Marian Buschsieweke
04620d471c
Merge pull request #20438 from MrKevinWeiss/pr/kconfig/dep/removal
Remove Kconfig dependency modelling
2024-03-27 16:39:56 +00:00
MrKevinWeiss
20fcb1d99d
tests/*: Remove TEST_KCONFIG symbols 2024-03-27 10:28:14 +01:00
MrKevinWeiss
9c9cc379a9
*psa_crypto: Adapt tests/examples with removed Kconfig 2024-03-27 10:28:13 +01:00
benpicco
d13faeb1cc
Merge pull request #19005 from benpicco/tests/shell-preempt
tests/shell: add test for preemption
2024-03-26 23:56:59 +00:00
Benjamin Valentin
ac383b33ae tests/shell: add test for preemption
This tests if a blocking stdio read will allow other threads to be scheduled.
2024-03-27 00:11:53 +01:00
mguetschow
edefdb78ee
Merge pull request #20460 from Einhornhool/pr/psa-use-csprng
sys/psa_crypto: use SHA256 CSPRNG as default
2024-03-26 19:04:27 +00:00
Lena Boeckmann
1924b063ec sys/psa_crypto: use SHA256 CSPRNG as default 2024-03-26 17:05:58 +01:00