Sean Cross
acf9e2924d
cargo: check in lockfile with locales changes
...
Locales now has build dependencies.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-04 12:47:47 +08:00
bunnie
ef671dd6a3
fix up xous-names and resolve issue #26 thanks to stdlib
...
also frees up about 24k of unused RAM, i'll take it!
2021-08-04 01:59:17 +08:00
bunnie
8b83fb7c65
remove heapless, go to libstd for all collections!!!!
...
*fistpump*
2021-08-04 01:25:32 +08:00
bunnie
34d44ee9e7
start to remove heapless and commit to libstd flow
2021-08-04 00:07:47 +08:00
bunnie
68ea69c2ed
Merge branch 'bunnie-dev' into main
2021-08-03 17:22:10 +08:00
bunnie
01d6c61bb6
commit before merging main stuff
...
want to capture in the libstd improvements before we get too much
version drift
2021-08-03 16:54:42 +08:00
bunnie
d86c78eea8
partial progress on self-signing
2021-08-03 04:58:34 +08:00
Sean Cross
ff23ba7eb0
cargo.lock: use new blitstr hash
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-02 18:16:41 +08:00
bunnie
41843db988
intermediate progress on the main UX flow again
...
does not build clean because still deciding on how to handle
UX feedback.
2021-07-30 19:04:02 +08:00
bunnie
919e9e87ff
add bcrypt for password hashing, take care of life cycle of plaintext
2021-07-30 04:07:10 +08:00
bunnie
78c0b30382
refactor menu
...
- move it to the status thread, out of the GAM
- this allows us to refactor the menu code into its own module
2021-07-29 01:04:22 +08:00
bunnie
9f3615fd3d
extend RTC setting with UX
...
not because this is so important, but because it's a simple
test case that exercises a lot of features.
2021-07-28 04:27:14 +08:00
bunnie
b6c443145c
extend modal functions; refactor status into its own server
2021-07-28 01:01:39 +08:00
bunnie
1a65cd3389
password dialog box basic layout is kind of there
...
a little ugly, but...this has already taken too long.
2021-07-27 04:40:12 +08:00
bunnie
53f35f9928
intermediate work toward getting the password box going
...
lots of changes, maybe finally getting out of the UX rathole now
that basic localization is in place
2021-07-26 00:51:22 +08:00
bunnie
556f0aaea5
beginnings of a password dialog system
2021-07-22 03:04:16 +08:00
bunnie
5280d232e5
figuring out which way is up on the RootKeys implementation
2021-07-21 19:47:09 +08:00
bunnie
ce18716b88
add the boilerplate for the keys server
2021-07-20 01:59:52 +08:00
bunnie
01d3455a16
Merge branch 'main' into bunnie-dev
2021-07-18 12:33:16 +08:00
bunnie
91fe69ca27
add some real-hardware tests for spinor writes
...
definitely still bugs.
need to sleep on it.
2021-07-18 02:36:31 +08:00
bunnie
168d0fc2cb
start of some basic tests
2021-07-17 17:12:23 +08:00
bunnie
7e7ae82156
pivot spinor implementation
...
realizing some core assumptions were wrong, so, scrapping and
restarting
2021-07-15 23:00:50 +08:00
Sean Cross
fcbc901df8
Cargo: update latest versions of dependencies
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-07-15 15:58:13 +08:00
bunnie
ef93196cfc
stash commit to fix a bootloader issue
2021-07-13 22:28:46 +08:00
bunnie
84a2e9f768
fix status bar so that it redraws out of suspend/resume
...
the bootloader modifies the screen, so all elements must
be redrawn regardless of the pervious state change!
2021-07-11 18:47:19 +08:00
bunnie
2c6ba2f127
fix brokenness with ptr_meta crate
2021-07-05 17:17:33 +08:00
bunnie
1b5d4bd79b
push of spinor changes to validate l2cache
2021-07-05 00:08:58 +08:00
bunnie
674faa46d9
button up after debugging the ed25519 issue
2021-06-29 23:46:15 +08:00
bunnie
0bad1ad755
isolate a potential compiler bug
2021-06-29 00:10:46 +08:00
bunnie
8da62390ad
add RFC7748 test vectors for diffie hellman
2021-06-28 19:01:22 +08:00
bunnie
e01676d563
move the montgomery multiply code into the engine server
...
this saves a fairly substantial amount of time marshalling
re-used bits of microcode around on the benchmarks.
2021-06-28 18:41:34 +08:00
bunnie
ee87fd35a8
add hw acceleration for the affine transform on curve25519
2021-06-28 04:43:56 +08:00
bunnie
89b3875bfc
commit before working on acceleration code
2021-06-28 02:33:32 +08:00
bunnie
d791548b9d
straggler.
2021-06-28 01:32:42 +08:00
bunnie
e2ada8f8fe
attempt to fix up some build system warts
2021-06-28 01:31:43 +08:00
bunnie
5ab0c0b426
commit a version that should be able to build in CI now
2021-06-27 03:14:50 +08:00
bunnie
e39c2200cd
fix up the build system warts & integration with dalek crates
...
we are at least now only requiring users to use our patched
curve25519-dalek crate, which now builds cleanly in both
xous and std environments, but the higher-level crates can be
directly used from crates.io
2021-06-27 03:07:39 +08:00
bunnie
6efdb7e0db
stash a version with XousEngine25519 traits in case we want it back later
2021-06-27 00:31:15 +08:00
bunnie
75dca6bd4c
checkin for a rollback to sanity check some things
2021-06-25 02:09:42 +08:00
bunnie
ae25142acb
engine25519 doesn't crash on boot, at least.
...
ManagedMemory structure for susres has some issues with large
blocks, so use "heap-allocated" structures
2021-06-24 03:17:32 +08:00
bunnie
5d21ef0c76
beginnings of the curve25519 accelerator engine core driver
...
the engine-25519 server just takes microcode jobs and runs them
on the curve25519 accelerator engine.
all the fancy crypto stuff comes from other crates, which will
be filled in later.
2021-06-22 01:48:51 +08:00
bunnie
69a22adee9
menus basically working
2021-06-19 00:25:18 +08:00
bunnie
03bcf18348
clean up enum-based dispatch for Layouts, pulling in enum_dispatch crate.
2021-06-16 17:41:47 +08:00
bunnie
5301f4af20
major refactor of the Ux -- can create, redirect I/O contexts
...
getting ready for Precursor to do more than just one thing.
2021-06-16 04:50:26 +08:00
bunnie
0db9ad9e6f
add status bar extension to inform of security states
...
- inverted text indicates a trusted message. policy is enforced in the GAM.
- we don't have a way to lock the USB port yet; but at least now it's communicated.
2021-06-13 04:40:50 +08:00
bunnie
2174ab7677
upgrade TRNG with health tests and reporting facilities
2021-06-08 01:22:07 +08:00
bunnie
b1d027bc52
adding AES native instruction support
2021-06-04 00:49:34 +08:00
bunnie
77ed8972f6
Merge branch 'aes' into bunnie-dev
2021-06-02 04:08:00 +08:00
bunnie
fadc9c29ab
Merge remote-tracking branch 'origin/master' into bunnie-dev
2021-06-02 03:59:25 +08:00
Sean Cross
9638c67aae
aes-test: add test program
...
This is a basic program that exercises the AES core
Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-01 20:01:23 +08:00