Commit Graph

1024 Commits

Author SHA1 Message Date
Matthew LeVan
c0ca1813a8 ares_crypto: fix typo 2024-02-01 09:23:30 -05:00
Matthew LeVan
0f749965e1 ares_crypto: remove cruft 2024-02-01 09:17:30 -05:00
Matthew LeVan
d1e8ef632d Merge branch 'status' into msl/ares-crypto 2024-01-18 08:42:29 -05:00
Matthew LeVan
c4c1388573 noun: remove IndirectAtom::as_mut_bytes 2024-01-17 20:46:45 -05:00
Edward Amsden
5336ca7a91
Merge pull request #201 from urbit/barter-simsum/file-extension
PMA file extension
2024-01-17 17:39:10 -06:00
barter-simsum
85a878a85c pma: remove comments referring to the persistent file's "frontier" 2024-01-17 18:07:56 -05:00
Matthew LeVan
6eba257803
Merge pull request #200 from urbit/pq/tracing
don't fsync on every nock event while tracing
2024-01-16 14:18:19 -05:00
Philip Quirk
25239fd475 don't fsync on every nock event while tracing 2024-01-16 12:04:42 -06:00
barter-simsum
390c1c3356 pma: file extension bug fixes. test changes
file extension seems to be working now after reordering freelist restoration and
calling _bt_falloc in _nlist_new to create the first partition

should be able to move on to partition striping now and the explicit call to
_bt_falloc will make this easier
2024-01-12 20:02:59 -05:00
barter-simsum
a604f19d74 pma: nlist creation depends on flist existence
reordered to handle this dependency. Still debugging an issue with _flist_grow

The dependency is natural and will be required to implement partition
striping. All node partitions should call falloc and be represented in the flist
2024-01-12 19:41:19 -05:00
barter-simsum
aaa6f5e2ff pma: persistent file growth highpg tracking attempted fix
spent a while debugging this, but there are still issues on restoration. We
cannot simply call _flist_new and _flist_record_alloc on persistent state
restoration since _flist_new won't properly set the highpg. If restoring, we
should derive the high flist page (alloced or not) from state->file_size_p. I
think I way overcomplicated this
2024-01-12 18:11:42 -05:00
barter-simsum
6a08d08c0f pma: file resize test in btest.c and fixes to resize logic 2024-01-11 18:26:33 -05:00
barter-simsum
f6213bd1ce pma: minor cleanup 2024-01-10 19:15:34 -05:00
barter-simsum
aa21d14739 pma: remove frontier and only rely on state->file_size_p 2024-01-10 18:49:55 -05:00
barter-simsum
19fd0e4fb4 pma: file extension - to be revised 2024-01-10 18:27:31 -05:00
Matthew LeVan
718842a49a build: remove test_vs_urcrypt as default feature 2024-01-10 11:52:03 -05:00
Matthew LeVan
1a323204e3 jets: add comment explaining length matching 2024-01-08 18:18:04 -05:00
Matthew LeVan
824e6cf7e9 jets: handle zero-length messages in ed 2024-01-08 18:11:25 -05:00
Matthew LeVan
723372a0ea jets: handle zero-length messages in aes_siv 2024-01-08 17:39:11 -05:00
Matthew LeVan
528270bbd4 jets: handle zero-length messages in sha 2024-01-08 17:23:25 -05:00
Matthew LeVan
5b0b389775 jets: rip out as_mut_bytes 2024-01-08 17:01:37 -05:00
Edward Amsden
0f9175ada6 devex: add static glibc to flake.nix 2023-12-27 08:03:42 -06:00
Matthew LeVan
95f36e00dd cargo: format 2023-12-21 15:19:44 -05:00
Matthew LeVan
315f78824f cargo: appease clippy 2023-12-21 15:00:06 -05:00
Matthew LeVan
7f87000711 cargo: appease clippy 2023-12-21 14:57:38 -05:00
Matthew LeVan
82d5ebdc52 ares_crypto: remove decryption tests in aes_siv; add comments 2023-12-21 14:51:15 -05:00
Matthew LeVan
93a5c87178 ares_crypto: remove unused imports 2023-12-21 14:35:45 -05:00
Matthew LeVan
769dfca33f jets: simplify aes_siv greatly and use random inputs for tests 2023-12-21 14:32:38 -05:00
Matthew LeVan
7155e9909a jets: use explicitly sized byte arrays in ed jets 2023-12-21 10:25:28 -05:00
Edward Amsden
0f6c8b4659 noun: add IndirectAtom::new_raw_mut_bytearray to allocate indirect atoms with mutable memory returned as a reference to a fixed-sized byte array. 2023-12-21 07:51:44 -06:00
Matthew LeVan
9f88799fe2 Merge branch 'status' into msl/ares-crypto 2023-12-20 21:21:48 -05:00
Matthew LeVan
cf6a347929 files: remove .vscode 2023-12-20 21:16:19 -05:00
Matthew LeVan
afbb5ea245 jets: boots without urcrypt 2023-12-20 21:14:00 -05:00
Matthew LeVan
38f9bd4e26 wip: replace urcrypt in aes 2023-12-20 16:09:59 -05:00
Matthew LeVan
70a3744218 jets: replace urcrypt with ares_crypto functions in ed jets 2023-12-20 13:52:50 -05:00
Edward Amsden
a96c669b22
Merge pull request #193 from urbit/jon/fix-rev
jets: fix jet_rev
2023-12-20 11:05:22 -06:00
Matthew LeVan
8437982ea3 jets: replace urcrypt with ares_crypto in sha jets 2023-12-20 12:01:58 -05:00
Matthew LeVan
0f683464a5 sha: sha1, shal, shay, shas 2023-12-20 11:13:28 -05:00
Edward Amsden
c6a45aed9d
Merge pull request #143 from urbit/eamsden/integrate-pma
Integrate PMA
2023-12-20 09:35:31 -06:00
Matthew LeVan
0fb271c53a ares_crypto: cleanup cargo files 2023-12-20 10:24:34 -05:00
Matthew LeVan
ab27d667a0 ed: shar 2023-12-20 09:50:07 -05:00
barter-simsum
4c8851c385 pma: simpler pending freelist merge. fixes use after free 2023-12-20 09:37:04 -05:00
Edward Amsden
4080f50145 pma: format 2023-12-20 00:20:10 -06:00
Edward Amsden
3ae877f655 pma: lint and c warnings cleanup 2023-12-20 00:16:55 -06:00
Edward Amsden
58c49bc5e1 pma: dont assert loidx != in _bt_dirty, it could well be! 2023-12-19 21:36:27 -06:00
Edward Amsden
86a8922e0f pma: make sure unifying equality dirties for unifying a cell in the PMA, not just an indirect atom 2023-12-19 20:56:33 -06:00
Edward Amsden
feeb278794 pma: lots of c-side bugfixes 2023-12-19 20:55:57 -06:00
Edward Amsden
2c1f1fa285 Merge branch 'status' into eamsden/integrate-pma-tmp 2023-12-19 18:38:40 -06:00
barter-simsum
2762872a94 pma: wip test revisions 2023-12-19 17:48:04 -05:00
barter-simsum
0dac274a63 pma: minor bug fixes 2023-12-19 17:47:57 -05:00