sys/psa_crypto: allow repeated initialization#19990
sys/psa_crypto: allow repeated initialization#19990bors[bot] merged 4 commits intoRIOT-OS:masterfrom
Conversation
|
bors merge |
19990: sys/psa_crypto: allow repeated initialization r=miri64 a=mguetschow ### Contribution description - simple unit test which calls `psa_crypto_init()` twice - fix to no re-initialize key slots (which left them in a broken state) ### Testing procedure - `make -C tests/sys/psa_crypto all test` succeeds - `git checkout HEAD~1 && make -C tests/sys/psa_crypto all test` fails Co-authored-by: Mikolai Gütschow <[email protected]>
|
Build failed: |
|
The test is to large for BOARD_INSUFFICIENT_MEMORY := \
arduino-nano \
# |
|
It might be worth to run cd tests/sys/psa_crypto
./../../../dist/tools/insufficient_memory/create_makefile.ci.shdirectly (takes a while but uses Docker). Not sure, if Murdock cancels early if a build fails. |
Done. Should be ready for the next try. |
|
bors merge |
|
🕐 Waiting for PR status (GitHub check) to be set, probably by CI. Bors will automatically try to run when all required PR statuses are set. |
19990: sys/psa_crypto: allow repeated initialization r=benpicco a=mguetschow ### Contribution description - simple unit test which calls `psa_crypto_init()` twice - fix to no re-initialize key slots (which left them in a broken state) ### Testing procedure - `make -C tests/sys/psa_crypto all test` succeeds - `git checkout HEAD~1 && make -C tests/sys/psa_crypto all test` fails 20011: tests/unittests: add a unit test for ztimer r=benpicco a=maribu ### Contribution description This adds test coverage for removing ztimers with focus on ensuring that offsets are correctly updated on subsequent timers (e.g. not having timers fire too early). ### Testing procedure Run the unit tests (will be done by the CI as well). Maybe also introduce a random bug in `ztimer_remove()` and check if this is indeed caught by the unit tests. ### Issues/PRs references Prompted by #18977 (comment) Co-authored-by: Mikolai Gütschow <[email protected]> Co-authored-by: Marian Buschsieweke <[email protected]>
|
Build failed (retrying...): |
|
Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
Contribution description
psa_crypto_init()twiceTesting procedure
make -C tests/sys/psa_crypto all testsucceedsgit checkout HEAD~1 && make -C tests/sys/psa_crypto all testfails