Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

integrate urcrypt jets #123

Merged
merged 70 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from 38 commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
6b7e21b
wip: add `urcrypt`
matthew-levan Sep 22, 2023
ef382a8
`urcrypt` builds
matthew-levan Sep 25, 2023
2f16a2d
un-vendor `urcrypt`
matthew-levan Sep 26, 2023
589899b
wip: add `urcrypt-sys` crate; install `urcrypt` on system in ci
matthew-levan Sep 26, 2023
9db720f
Merge branch 'as/trace' into msl/urcrypt
matthew-levan Sep 28, 2023
58af42e
jets: add `shay` and `shax`
matthew-levan Sep 28, 2023
4ea4624
jets: add `shas`
matthew-levan Oct 3, 2023
cf3c624
jets: add `shal`
matthew-levan Oct 4, 2023
b08c5d2
jets: add `sha1`
matthew-levan Oct 4, 2023
8a07ad5
Merge branch 'status' into msl/urcrypt
matthew-levan Oct 5, 2023
9a367af
jets: move `sha` jets into `crypto/`
matthew-levan Oct 6, 2023
40e04e8
jets: add `puck`
matthew-levan Oct 6, 2023
c344814
jets: add `shar`
matthew-levan Oct 6, 2023
d24fa43
jets: rename `crypto` to `lock`
matthew-levan Oct 9, 2023
fa95ca9
jets: add `++ed:veri:crypto`
matthew-levan Oct 9, 2023
b5513af
jets: add `++sign:ed:crypto`
matthew-levan Oct 10, 2023
13071d4
jets: cleanup `sha`
matthew-levan Oct 10, 2023
990cb49
noun: restore to `status`
matthew-levan Oct 10, 2023
d7f5160
noun: fix `DirectAtom::as_bytes()`
matthew-levan Oct 10, 2023
91a8565
jets: cleanup nasty byte copying
matthew-levan Oct 10, 2023
bd1f891
Post elements of AES SIV.
sigilante Oct 11, 2023
f144f9d
WIP siva
sigilante Oct 12, 2023
e9c1965
wip: for neal
matthew-levan Oct 16, 2023
41dfb68
wip: more utils for `aes_siv`
matthew-levan Oct 16, 2023
64ee8a0
jets: passing two tests for `en:siva:crypto`
matthew-levan Oct 18, 2023
58c58aa
jets: finish `++{en,de}:aes:crypto`
matthew-levan Oct 18, 2023
718f1a5
Merge branch 'status' into msl/urcrypt
eamsden Oct 28, 2023
dc07e21
Merge branch 'msl/urcrypt' into eamsden/build-urcrypt
eamsden Nov 10, 2023
e4ab772
jets: fix urcrypt jets to build with current interpreter, add sha and…
eamsden Nov 10, 2023
0f24273
urcrypt: pull urcrypt-sys from crates.io
eamsden Nov 10, 2023
ac86b44
jets: fix puck: atom should be up to 32 *bytes*, not bits
eamsden Nov 14, 2023
a43a12b
warm: return %fast-path with jet
eamsden Nov 14, 2023
c2aec6a
jets: fix crypto jet tests
matthew-levan Nov 14, 2023
b1b46f9
Merge branch 'profile' into urcrypt
ashelkovnykov Nov 20, 2023
0daca39
Merge branch 'urcrypt' into puck
ashelkovnykov Nov 20, 2023
da40dcd
cargo fmt
matthew-levan Nov 20, 2023
3702224
cargo fmt
matthew-levan Nov 20, 2023
ce85495
build: add `autoconf-archive`
matthew-levan Nov 20, 2023
9a82fde
build: add `autoconf-archive`
matthew-levan Nov 20, 2023
394883b
add `&mut` to `c.stack` in `new_raw_bytes` calls
matthew-levan Nov 20, 2023
ca71cda
use context struct
matthew-levan Nov 20, 2023
2643e98
placate clippy
matthew-levan Nov 20, 2023
e12f21d
placate clippy
matthew-levan Nov 20, 2023
acb5985
clip man
matthew-levan Nov 20, 2023
c0476c9
Merge branch 'eamsden/build-urcrypt' into eamsden/fix_puck
matthew-levan Nov 20, 2023
090f915
jets: re-order lock jets to match Hoon
ashelkovnykov Nov 22, 2023
03fba05
jets: add AES jets to hot state and sham dashboard
ashelkovnykov Nov 22, 2023
51aa997
Merge branch 'urcrypt' into puck
ashelkovnykov Nov 22, 2023
22e9fa7
Merge branch 'status' into eamsden/build-urcrypt
ashelkovnykov Nov 22, 2023
1c2c5d3
TEMP
ashelkovnykov Nov 22, 2023
2c85ec1
Merge branch 'wip' into urcrypt
ashelkovnykov Nov 22, 2023
de4224b
Merge branch 'urcrypt' into puck
ashelkovnykov Nov 22, 2023
8df78a4
Merge remote-tracking branch 'upstream/eamsden/build-urcrypt' into ur…
ashelkovnykov Nov 22, 2023
9add7ff
Merge branch 'urcrypt' into puck
ashelkovnykov Nov 22, 2023
479f311
address @ashelkovnykov's comments, pt. 1
matthew-levan Nov 22, 2023
284fbc6
address @ashelkovnykov's comments, pt. 2
matthew-levan Nov 22, 2023
9013fb8
debug: refactor assert_normalized location
ashelkovnykov Nov 24, 2023
73e7997
test: add a TODO for expanding the test suite
ashelkovnykov Nov 24, 2023
591932e
debug: fix inverted boolean logic
ashelkovnykov Nov 24, 2023
5daf8a8
Merge branch 'status' into urcrypt
ashelkovnykov Nov 25, 2023
8709b2d
build: port Matt's changes to main branch
ashelkovnykov Nov 25, 2023
7bd763f
Merge branch 'puck' into urcrypt
ashelkovnykov Nov 25, 2023
a5e9fc9
jets: review feedback
ashelkovnykov Nov 25, 2023
b3b4933
jets: use NockStack for allocation in AES jets
ashelkovnykov Nov 25, 2023
911dc7f
jets: final touch ups
ashelkovnykov Nov 25, 2023
eb7f318
Merge branch 'status' into eamsden/build-urcrypt
ashelkovnykov Nov 25, 2023
5dba12a
build: make tests pass by removing pma tests, in anticipation of new PMA
eamsden Nov 27, 2023
a78ff54
devenv: remove no-longer-needed dependency install step from Github a…
eamsden Nov 27, 2023
cc7821d
build, docs: restyle flake and add commands to docs
ashelkovnykov Nov 27, 2023
533503e
build: restore removed build packages
ashelkovnykov Nov 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/ares-shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,34 @@ jobs:
- name: Format
run: cargo fmt --check

# Install third-party dependencies
#
- name: Install dependencies
run: |
# install apt packages
sudo apt-get install -y \
autoconf-archive \
libcrypto++-dev \
openssl \
cmake \
libsecp256k1-dev &&

# install libaes_siv
git clone https://github.com/dfoxfranke/libaes_siv.git &&
cd libaes_siv &&
cmake . &&
make &&
sudo make install

# install urcrypt
cd .. &&
git clone https://github.com/urbit/urcrypt.git &&
cd urcrypt &&
./autogen.sh &&
./configure --enable-shared &&
make &&
sudo make install

# See clippy linter docs: https://github.com/rust-lang/rust-clippy
#
# First linter is set to fail for all warnings, then ignored warnings are
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,10 @@
A redesigned Mars for the Urth/Mars Urbit runtime. Currently WIP.

Read the [proposal](docs/proposal/proposal-nock-performance.md) and [hypotheses](docs/proposal/hypotheses.md) for an overview. Before branching or opening a PR please review the [contribution guidelines](CONTRIBUTING.md).

## Installation

Dependencies:
* [`libaes_siv`](https://github.com/dfoxfranke/libaes_siv)
* [`openssl`](https://github.com/openssl/openssl)
* [`libsecp256k1`](https://github.com/bitcoin-core/secp256k1)
Loading
Loading