Commit graph

12 commits

Author SHA1 Message Date
bunnie
ecbac27e76 fix rustc-1.89 warnings 2025-08-19 19:45:29 +08:00
bunnie
489c614ec6 port getrandom to use flatipc 2024-09-23 14:17:10 +08:00
bunnie
4c7c9312c1 change xous-ipc api to 0.10.0 2024-09-23 00:24:48 +08:00
bunnie
4674849dce update getrandom fork to v0.2.12 api 2024-02-08 14:53:45 +08:00
bunnie
7126afea5e PERF: improve getrandom performance on smaller requests
use scalar messages to fill buffer smaller than 64 bytes.
2024-02-08 14:35:07 +08:00
bunnie
96328cd2b9 bump getrandom version to allow compatiblity with sigchat crates 2024-01-06 18:25:16 +08:00
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