Commit graph

10340 commits

Author SHA1 Message Date
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
14f5af08a8 cleaned up crypto API pins
- try to harmonize on latest API when possible
- try to remove any duplicate/off-target APIs to reduce crate space
2024-02-08 14:22:41 +08:00
bunnie
711f0eeee2 cleanup some rand dependencies that were lagging/inconsistent 2024-02-08 14:22:26 +08:00
bunnie
01cec25388 upgrade API on helper tools
even though they run on the host, old pins inflate the codespace
since they are part of the workspace
2024-02-08 14:21:10 +08:00
bunnie
7c944fb4db upgrade zeroize to latest API level 2024-02-08 14:02:58 +08:00
bunnie
a68d0513e3 upgrade blowfish so we can retire the old cipher API
the pin was holding back another package
2024-02-08 13:59:26 +08:00
bunnie
1487bbe924 upgrade AES to latest API compatibility 2024-02-08 13:57:40 +08:00
bunnie
65fd32e181 update chrono pins
This is the weirdest damn thing. All the crates say 0.4.19 as
the chrono version, but the actual version in the lockfile
is 0.4.33. And there isn't an error about it?

Anyways, this update the pins to reflect what's in the lockfile.
2024-02-08 13:51:30 +08:00
bunnie
fb68eb9dd2 cleanup datetime API deprecation warnings 2024-02-08 13:46:24 +08:00
bunnie
df7c31a7df clean up warnings in dummy implementations 2024-02-08 13:10:08 +08:00
David Kotval
e619803114 fix: don't break hosted mode 2024-02-07 13:56:02 -06:00
bunnie
6de48e90f3 fix formatting problem 2024-02-08 00:49:00 +08:00
bunnie
717abf4af8 work around dependency conflict on atsma5d27
the dependency is pinned to an old version of utralib that
causes a build conflict...
2024-02-08 00:33:14 +08:00
bunnie
315d9b96d4 Merge branch 'main' into dalek_to_v4 2024-02-07 22:52:24 +08:00
bunnie
4802ab1fee bump lockfile pins to reflect subordinate crate changes 2024-02-07 22:43:01 +08:00
bunnie
32dc547218 bump PDDB crypto API versions 2024-02-07 22:42:38 +08:00
bunnie
5636e07eb8 Upgrade Ed25519 to latest version; fix zeroize derive. 2024-02-07 22:41:57 +08:00
bunnie
9c8662ebea bump digest pin 2024-02-07 22:41:38 +08:00
bunnie
f0876ead77
Merge pull request #502 from betrusted-io/bump-pins
Bump pins
2024-02-06 15:39:34 +08:00
bunnie
98f964be50 fix cramium target 2024-02-06 15:30:48 +08:00
bunnie
88bebd3b00 fix hosted mode target 2024-02-06 15:10:06 +08:00
bunnie
1c624291ea commit new pins in lockfile 2024-02-06 14:54:13 +08:00
bunnie
7920c34b97 bump verifier pin 2024-02-06 14:51:24 +08:00
bunnie
25facdc8b3 add a maintainer note 2024-02-06 14:50:39 +08:00
bunnie
699004e7b0 bump xous pins 2024-02-06 14:49:10 +08:00
bunnie
fedc4f6c48
Merge pull request #501 from betrusted-io/chore
chore: bump release notes
2024-02-06 14:39:33 +08:00
bunnie
88cc5482b7 chore: bump release notes 2024-02-06 14:39:03 +08:00
bunnie
21cf76855a
Merge pull request #500 from betrusted-io/rust-1.76.0-fixes
Build kernel and loader using `riscv32imac-unknown-none-elf` -- fixes 1.76.0
2024-02-06 14:36:01 +08:00
Sean Cross
2f0315771f xtask: support installing kernel toolchain
Now that the kernel toolchain can be different, support installing it as
well.

Signed-off-by: Sean Cross <sean@xobs.io>
2024-02-06 11:02:06 +08:00
Sean Cross
5d0180cd35 xtask: build kernel and loader with different target
The kernel and loader may need to use a different target, particularly
in the case of Precursor where the kernel and loader need an OS of
`none`.

Signed-off-by: Sean Cross <sean@xobs.io>
2024-02-06 10:34:16 +08:00
Sean Cross
bf61ce5071 kernel: remove dead code
This code is commented-out and dead. It gets adjusted with `cargo fmt`,
so just remove it.

Signed-off-by: Sean Cross <sean@xobs.io>
2024-02-06 10:33:33 +08:00
Sean Cross
ed4ec01017 kernel: support riscv32imac-unknown-none-elf
With Rust 1.76.0, we no longer support building with `#![no_std]` or
`panic = "abort"`, both of which are required within the kernel. As a
workaround, go back to building the kernel under
`riscv32imac-unknown-none-elf`.

Signed-off-by: Sean Cross <sean@xobs.io>
2024-02-06 10:28:33 +08:00
Sean Cross
058db866fe xous: support riscv32imac-unknown-none-elf
The kernel must go back to using this target, as the primary target no
longer supports building with `panic = "abort"`.

Signed-off-by: Sean Cross <sean@xobs.io>
2024-02-06 10:27:11 +08:00
Sean Cross
686299ce8b emulation: WF200: suppress warning on odd-sized xfer
The WF200 is connected via an 8-bit bus, but data is transferred in
chunks of 16-bits. That means that sometimes an extra byte is
transferred.

Suppress the warning that would occur when this happens to avoid
confusion.

Signed-off-by: Sean Cross <sean@xobs.io>
2024-02-06 10:25:34 +08:00
David Kotval
a70832b3ce wip: dumping deps to get curve25519 to 4.1.1 2024-02-04 14:12:36 -06:00
bunnie
38855960fa
Merge pull request #497 from betrusted-io/readme
bump release notes with latest PR
2024-02-01 13:54:11 +08:00
bunnie
053c55c254 CHORE reformat PR
I...could swear there was no merge warning when I clicked merge.

why is this failing to check now?
2024-02-01 13:47:13 +08:00
bunnie
92e501ec01 harmonize around a single xous-usb-hid spec
otherwise we get weird conflicts on builds
2024-02-01 13:41:49 +08:00
bunnie
24f68fe2ac CHORE: fix typo in comment 2024-02-01 13:33:17 +08:00
bunnie
3ed7736fa6 chore: fix trailing whitespaces
i'm not sure how this merged, the merge checks were all clean
on the previous PR...???
2024-02-01 13:16:18 +08:00
bunnie
b63156e652 bump release notes with latest PR 2024-02-01 13:14:09 +08:00
bunnie
c3ff9477bd
Merge pull request #496 from betrusted-io/fix-publish
upgrade the publish script to maintain remote sha2 crate
2024-02-01 13:11:54 +08:00
bunnie
71d38008b8
Merge pull request #494 from gsora/gsora/app-hid
services/usb-device-xous: generic USB HID framework
2024-02-01 13:11:41 +08:00
bunnie
c370a0173b upgrade the publish script to maintain remote sha2 crate 2024-02-01 03:12:18 +08:00
bunnie
71c567fe25
Merge pull request #495 from betrusted-io/fix-remote-pkgs
Fix remote pkgs
2024-02-01 02:19:10 +08:00
bunnie
87377a7cdc adopt ^ convention in the verifier 2024-02-01 02:17:06 +08:00
bunnie
d03fbfe91c fix misguided attempt to disambiguate version specifiers
The problem is the original way of specifying crates for remote
download is the same that Rust uses to specify a version of a crate
(e.g. the @ symbol), and so I could not differentiate between the
two cases.

Switch to using a ^ symbol for remote download crates. Hopefully
that doesn't have conflicts??
2024-02-01 02:08:34 +08:00
bunnie
b6133bf08d CHORE: fix out of date doc string 2024-02-01 02:01:08 +08:00
bunnie
9d2fff23a6
Merge pull request #493 from betrusted-io/refactor-sha2
Refactor sha2
2024-02-01 01:50:23 +08:00