diff options
| author | Gatien Chevallier <[email protected]> | 2023-09-19 17:27:57 +0200 |
|---|---|---|
| committer | Patrice Chotard <[email protected]> | 2023-10-04 13:26:03 +0200 |
| commit | 6032292534e0f47012edd76cd88b2c952856f928 (patch) | |
| tree | 51600686018ecaeaeda7042d4a9acbbbf206e891 /scripts/cleanpatch | |
| parent | 01af3636230656cdcba7a1c625c17a5c32a3fb69 (diff) | |
rng: stm32: add error concealment sequence
Seed errors can occur when using the hardware RNG. Implement the
sequences to handle them. This avoids irrecoverable RNG state.
Try to conceal seed errors when possible. If, despite the error
concealing tries, a seed error is still present, then return an error.
A clock error does not compromise the hardware block and data can
still be read from RNG_DR. Just warn that the RNG clock is too slow
and clear RNG_SR.
Signed-off-by: Gatien Chevallier <[email protected]>
Reviewed-by: Patrick Delaunay <[email protected]>
Reviewed-by: Patrice Chotard <[email protected]>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions
