Commit graph

6 commits

Author SHA1 Message Date
bunnie
a4c72cc9bb fixup merge 2022-05-29 03:35:45 +08:00
bunnie
268fe63cc1 Merge branch 'main' into u2f 2022-05-29 03:25:49 +08:00
bunnie
e2026318b6 commit the getrandom fork, which is vendored into the kernel
we have to keep all the targets around, because hosted mode
also uses rand, which won't resolve correctly unless we also
have the host's target available, unfortunately

(trust me, tried to do a version stripped down just for xous...)
2022-05-29 02:48:05 +08:00
bunnie
e14e6206ed include a getrandom implementation that allows us to use modern randcore
A lot of packages are depending on 0.6 api, which requires a crate
that has OS specific TRNG calls. This patch keeps the 0.5 calls
inside the TRNG crate as direct API calls, and migrates to support
a 0.6 api to a patched version of getrandom that supports Xous.
2022-05-29 02:47:51 +08:00
bunnie
25b068ac74 check in the getrandom stub for testing in main 2022-05-29 02:46:52 +08:00
bunnie
fe83df4e05 check in the getrandom stub for testing in main 2022-05-28 23:38:01 +08:00