bunnie
ec538025a8
changes to bring us up to date with rust 1.56. still not building.
2021-10-23 17:08:48 +08:00
bunnie
f53c57ba3f
fix up a number of issues in ping
...
Now that I understand how smoltcp does ping better I have regrets.
The demo example in smoltcp uses a funky macro that was a bit
misleading. I have gotten rid of that but I probably would have made
different decisions in implementing this had I understood the API better.
Anyways. It works, but has some trouble handling the cases of timeouts
sometimes.
2021-10-22 04:08:43 +08:00
bunnie
f1fe850820
ping was surprisingly hard.
...
not fully working yet, but the architecture is there and it builds.
smoltcp's ping implementation (or at least its demo code) was not
very amenable to splitting into modules, had to recode most of it.
the ipv6 is still a hack.
2021-10-21 06:28:11 +08:00
bunnie
643e9a7d62
dns. needs more work, but it is at least minimally functional.
2021-10-20 05:18:54 +08:00
bunnie
a8c6e8047f
simple end-to-end demo of receiving UDP packets asynchronously
2021-10-18 05:55:42 +08:00
bunnie
e6643e725d
implement UDP rx
2021-10-18 04:02:55 +08:00
bunnie
ec34b01bd9
pings working with smoltcp (can originate and respond)
2021-10-13 01:57:00 +08:00
bunnie
26069c023a
intermediate commit trying to trace down how this receive process works.
2021-10-10 21:12:09 +08:00
bunnie
74a3c6df44
disastrous first draft of figuring out how to integrate smoltcp using a ping example.
2021-10-10 01:57:31 +08:00
bunnie
560c6e4197
something packet-oid is coming out of the serial port now?
2021-10-09 02:12:12 +08:00
bunnie
b43eb56346
add some skeleton for a net crate; testing COM interrupts
2021-10-08 20:01:13 +08:00
bunnie
e4c79a5f47
start to lay out skeleton for pddb
2021-10-04 14:50:30 +08:00
bunnie
011466ceb5
start on a minimal test stub for the heap allocation problem
2021-09-26 00:01:59 +08:00
bunnie
87228ad747
basically working OQC test
2021-09-19 01:06:21 +08:00
bunnie
c2c919ba81
add oqc test service
...
this works around the problem with stdlib allocator not
working quite correctly in spawned threads.
2021-09-18 02:22:35 +08:00
bunnie
4882016d08
add a graphics test routine for OQC
...
invoked via the GAM, callable exactly once per boot for up
to 60 seconds.
2021-09-16 01:00:22 +08:00
bunnie
f0dd512d7d
bump sha2 version number so it matches what's on crates.io (for clean patching)
2021-09-15 18:53:11 +08:00
bunnie
3f1ba5e279
add com trng seed, uptime on EC; EC reset test commands
2021-09-13 23:28:54 +08:00
bunnie
7ac8b9100d
create a test case for cosine intrinsics
2021-09-08 15:10:54 +08:00
bunnie
e510525a0a
move wycheproof-import to tools
2021-09-06 14:42:19 +08:00
Fabian Weißberg
4bb454ef10
Import x25519 vectors from Project Wycheproof
...
Closes #76
The test vectors in wycheproof-import/x25519_test.json correspond to the upstream commit 4672ff74d6 .
For details see wycheproof-import/README.md.
Signed-off-by: Fabian Weißberg <fabian.weissberg@tu-dortmund.de>
2021-09-05 22:27:16 +02:00
bunnie
c8b15a3c81
pull in the latest blitstr
2021-08-29 23:17:13 +08:00
Sean Cross
1e2f31a753
Cargo: add lockfile settings for xtask
...
xtask now includes libcurl and unzip in order to be able to extract the
toolchain.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-19 11:58:55 +08:00
bunnie
944a506f7a
aes ops are there but we need to wrap it in a UX...
2021-08-17 00:02:24 +08:00
bunnie
20a6244687
cargo.lock updated after the merge
2021-08-15 00:20:23 +08:00
bunnie
1c447fabef
Merge branch 'jtag-premerge' into main
2021-08-12 01:55:48 +08:00
Sean Cross
45ae45a218
cargo: remove rkyv from log-server lockfile
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-11 11:00:56 +08:00
bunnie
799bb6050e
add jtag commands, reboot after burn
2021-08-11 06:15:04 +08:00
bunnie
bdd70f9502
stash to figure out build issue
2021-08-10 22:41:22 +08:00
bunnie
04dc6a4c2b
refactor engine-sha512 to be named sha2
...
this makes patch.crates-io much easier to debug, we now
have the hardware hasher working in all the places i expect it to.
2021-08-09 04:40:33 +08:00
bunnie
ec6a3fd1a3
self-signing working, but the patch to use the SHA hash engine seems to be disregarded...
2021-08-09 03:27:43 +08:00
bunnie
82aaeb072f
gateware HMAC verification now working!
2021-08-06 02:33:52 +08:00
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