bunnie
66a5b97705
revise pagetable entry to be 7 bytes wide -- this will allow
...
us to have a full 64-bit address space upon expansion of the page
number (turns out this is probably important because of the crappy
increment-only allocator used for the large blocks)
2021-11-24 01:49:22 +08:00
bunnie
42e926fcab
fixes for patch update test
...
lots of corner cases found and ifxed
2021-11-23 23:33:06 +08:00
bunnie
d716fea17a
now passing dictionary add/remove test
2021-11-23 02:57:13 +08:00
bunnie
77d3f8a646
fix bug in python aes-gcm-siv reference implementation
2021-11-23 02:56:54 +08:00
bunnie
eda60a5d9c
base case test done, with CI checking
2021-11-22 18:26:19 +08:00
bunnie
62059a9f93
relocate images to a directory
2021-11-22 14:00:43 +08:00
bunnie
1874c8e72d
most of the core routines are now in place
...
can create/delete dicts, create/delete/update keys.
basis deletion is...just forgetting the password. that's the point,
at least. could maybe extend the basis AAD to include some small
amount of derived data that could be deleted to facilitate basis
deletion...
anyways. next up is...lots and lots of testing.
2021-11-22 04:46:36 +08:00
bunnie
193f563782
very basic small key additions working as expected now
2021-11-21 02:21:25 +08:00
bunnie
c62b2a25fb
dictionary adding now seems to work
2021-11-18 02:01:30 +08:00
bunnie
507d99ee41
moving toward refactoring the basis sync function
2021-11-18 00:09:55 +08:00
bunnie
bbbaa6b810
clean up the structural definition of the dictionaries and keys
2021-11-16 18:45:24 +08:00
bunnie
49d00c783e
basic mounting of the PDDB & readout of system basis
2021-11-16 02:58:33 +08:00
bunnie
d7cc518552
add mbbb mechanism
2021-11-15 19:05:03 +08:00
bunnie
65bbc82ef5
commit to Repr(C), include doc comment for rationale and tests
2021-11-15 16:38:57 +08:00
bunnie
ce51205155
checkpoint with memory placement and disk storage
...
this probably isn't new to most other people but this has been
a very visceral exercise of how tricky it is to use Repr(c)
for data layouts in anything but the most trivial data structures.
Unfortunately the Basis root data structure needs to be fairly rich,
so we're playing around with using rkyv to help with the serialization
to disk but I'm also not convinced this is a good idea yet. This
checkpoints commits a "working" rkyv implementation, but I'm not
entirely happy with the notion that rkyv can shuffle around data
bits based on its particular version or decisions in the serializer
crate. I'd like deterministic, repeatable serialization that will
be solid through lots of revs...
2021-11-15 16:00:01 +08:00
bunnie
ba9b136f87
debugging alignment issues on serialization of compound structures
2021-11-15 04:03:55 +08:00
bunnie
94a86c542d
add an entrails parser for the PDDB
2021-11-14 19:02:34 +08:00
bunnie
8b59bcdf61
add indices to create_image output
...
makes it easier to figure out what IniE section corresponds
with which PID.
2021-11-06 21:03:28 +08:00
bunnie
c87acaeddc
clarify a bit of rounding code in the create-image routine
2021-11-06 20:30:01 +08:00
bunnie
6360d1c902
tighten up the hard-coded locations for the trng test
...
these locations look good for a while, now that i see the
structure of data allocation (it's split between top and bottom)
2021-10-31 02:58:43 +08:00
bunnie
5f327126ab
Merge branch 'bunnie-dev' of github.com:betrusted-io/xous-core into bunnie-dev
2021-10-30 03:16:13 +08:00
bunnie
72df2ff7e4
commit tester stability tweaks
2021-10-30 03:15:53 +08:00
bunnie
ad66460543
move the trng tester ram locations on the corresponding host-side test script
2021-10-30 03:14:33 +08:00
bunnie
73c131cbcc
fix help message
2021-10-07 01:09:53 +08:00
bunnie
42e298d79b
add a sleep between update commands
2021-10-05 22:34:53 +08:00
bunnie
792ad953eb
add wf200 artifacts to the update script
2021-10-05 22:28:30 +08:00
bunnie
2e40546a88
add a force overwrite option to the updater for the soc mode
2021-10-04 16:30:41 +08:00
bunnie
0f00e36dea
loader was never updated. oops.
2021-10-04 16:26:33 +08:00
bunnie
6b0b768081
add a line break on the exit to call out the reminder
2021-10-04 15:48:37 +08:00
bunnie
e3ff753e83
add a line break on the help message
2021-10-04 15:48:23 +08:00
bunnie
9994b38e16
clarify update_ci role with respect to the SOC image
2021-10-04 15:47:02 +08:00
bunnie
7bfdce147c
modify the update_ci script to be aware of the release tree
2021-10-04 15:38:04 +08:00
bunnie
966615270f
update trng test wdt ping method
2021-09-09 22:38:51 +08:00
bunnie
f3786b01a1
Merge branch 'main' of github.com:betrusted-io/xous-core into main
2021-09-07 19:01:02 +08:00
bunnie
840cccecda
make the filename more obvious for the purpose of the legacy update script
2021-09-07 19:00:34 +08:00
bunnie
da9078749f
add a script for xous 0.8 devices. because there are still a couple out there
2021-09-07 18:59:47 +08:00
bunnie
e510525a0a
move wycheproof-import to tools
2021-09-06 14:42:19 +08:00
bunnie
e57587d9c8
update documentation to reflect bitstream padding added to align AES blocks
2021-09-05 18:31:42 +08:00
bunnie
0ae2d13602
update trng_test.py to xous 0.9
2021-09-05 17:47:52 +08:00
bunnie
d20a06e4eb
fix update script to use the correct precursor
2021-08-30 03:30:45 +08:00
bunnie
69d9e38c8b
add EC updates to the CI update script
2021-08-24 23:22:41 +08:00
bunnie
33d14b6ee3
add some timeouts after each phase, for the device to reboot
2021-08-24 22:59:10 +08:00
bunnie
1af98f7e43
Merge branch 'main' of github.com:betrusted-io/xous-core into bunnie-dev
2021-08-24 22:39:50 +08:00
bunnie
99ff36f529
add a quick CI update script
2021-08-24 22:37:31 +08:00
bunnie
a2bcf0fc2b
match wdt ping to refactor + fix paths for default images to xous
2021-08-23 05:11:14 +08:00
bunnie
ccc577f8d7
clean up the update flow
2021-08-16 02:46:54 +08:00
bunnie
353311b987
fix USB update flow
2021-08-15 16:03:18 +08:00
bunnie
f334199ee6
commit host mode debugging
2021-08-12 23:01:34 +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
d86c78eea8
partial progress on self-signing
2021-08-03 04:58:34 +08:00