Test RNG failure in PSA
- Dominant language
- C
- Stars
- 108
- Forks
- 95
- PR merge metrics
- No merged PRs in 30d
Description
### Description
We don't test the impact of RNG failure through the PSA API. This needs some infrastructure since normally the RNG never fails unless the entropy sources fail, and in that case the library initialization fails. For example, we don't have a way to cause the RNG to fail that could let us write a non-regression test for #207.
### Issue request type
[ ] Question
[x] Enhancement
[ ] Bug
Contributor guide
Research direction
Start by reviewing the PSA API paths involved in RNG use and the existing regression context for issue #207. Determine what test infrastructure can force an RNG failure without making library initialization fail, then add a non-regression test that verifies the intended PSA API behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- cryptography, testing-qa
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100