summaryrefslogtreecommitdiff
path: root/config/git/int
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-16 20:53:46 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-16 21:00:07 +0000
commite33831ef20681915dcf01700db70e50d207852be (patch)
treedc3b3145efd2584628b42471cc6939a40df9f5ea /config/git/int
parent46432005ed0ab02fe740813c9afed54ee17bd216 (diff)
util/nvmutil: more reliable fallback crypto
we assume the fallback will be rare, so now we make the mix static and keep xoring it, on the theory that the number of failures on urandom will be random, and tthat the fallback may only apply once or twice in thousands of calls. the time jitter is adjusted; rather than judge the difference between two points close to each other in time, we judge tthe randomness in difference of time elapsed. this mitigates fast CPUs being very fast and introducing rounding errors, and also improves performonce on much slower CPUs Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/git/int')
0 files changed, 0 insertions, 0 deletions