-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sys/psa_crypto: allow repeated initialization #19990
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Proxy-ACK
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 <mikolai.guetschow@tu-dresden.de>
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.sh directly (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 <mikolai.guetschow@tu-dresden.de> Co-authored-by: Marian Buschsieweke <marian.buschsieweke@posteo.net>
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 test
succeedsgit checkout HEAD~1 && make -C tests/sys/psa_crypto all test
fails