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

Y333/poseidon support #28

Merged
merged 47 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from 45 commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
8b6867d
Felt arithmetic operations (+, -, x, /) OK
yogh333 Jul 5, 2024
fbe7f39
Poseidon first implementation (ported from Lambdaclass work)
yogh333 Jul 8, 2024
c658481
Optimised Poseidon hash
yogh333 Jul 8, 2024
89e69e5
Benchmarking Poseidon implementation
yogh333 Jul 8, 2024
7fa9bcf
Poseidon: integrate mix function
yogh333 Jul 9, 2024
09efb5e
Poseidon hasher implementation
yogh333 Jul 9, 2024
b08f07d
Hash Tx v3
yogh333 Jul 10, 2024
4d04289
Fix Poseidon hash of calldata
yogh333 Jul 12, 2024
cc54fb3
Tx hash OK on speculos but KO on device
yogh333 Jul 15, 2024
39cbe4d
Tx hash OK but unoptimized mix function
yogh333 Jul 16, 2024
b77db8b
Cleanup
yogh333 Jul 16, 2024
bc4d15c
Tx hash OK on both speculos and device (Poseidon optimized)
yogh333 Jul 16, 2024
7ab2244
Try to optimise partial_round loop
yogh333 Jul 16, 2024
a59a0cb
Increase Poseidon perf with partial_round_loop
yogh333 Jul 16, 2024
99ef717
Add shifting hash function
yogh333 Jul 17, 2024
c987726
Add UI screens
yogh333 Jul 18, 2024
63e11a6
Implement complete Tx signature flow for Stax/Flex
yogh333 Jul 22, 2024
8806d9d
Implement complete Tx signature flow for Nanos
yogh333 Jul 22, 2024
e1b49a1
Add apdu-generator and switch to workspace
yogh333 Jul 23, 2024
2a9c653
Generate apdu files
yogh333 Jul 23, 2024
c483a7c
Add check-signature app
yogh333 Jul 23, 2024
73ff4d1
[check-signature] Add possibility to pass args
yogh333 Jul 24, 2024
a713602
[starknet] Return Tx hash along with Tx signature
yogh333 Jul 26, 2024
be045fb
[tests, tools] Update Ragger tests and apdu_generator
yogh333 Jul 26, 2024
2e1b070
[apdu-generator] Add get_pubkey apdus
yogh333 Jul 26, 2024
80f25e1
Bump SDK version
yogh333 Jul 29, 2024
2996df4
[starknet] Update ragger tests
yogh333 Jul 29, 2024
abdedf4
[starknet] Signing hash or Poseidon computation enabled as features o…
yogh333 Jul 29, 2024
d89b2c2
[starknet] Update Ragger tests
yogh333 Jul 29, 2024
51c498d
[starknet] Cleanup Ragger tests
yogh333 Jul 30, 2024
578e84e
Delete unused test folder
yogh333 Jul 30, 2024
91454ce
[starknet] Bump version
yogh333 Jul 30, 2024
45410a5
Update documentation
yogh333 Jul 30, 2024
cc4724f
Update docs
yogh333 Jul 30, 2024
88b1572
Update snapshots after version bump
yogh333 Jul 30, 2024
1424647
[starknet] Bump SDK version and manage status in application
yogh333 Aug 1, 2024
d85bf94
[starknet] Display max fees in fri (STRK 10e-18) units
yogh333 Aug 1, 2024
8c7dae2
[check-signature] use git path for legder-lib
yogh333 Aug 1, 2024
21d455e
[apdu-generator] Run cargo fmt
yogh333 Aug 1, 2024
8a16c40
Fix CI workflow
yogh333 Aug 2, 2024
181a13c
CI test
yogh333 Aug 2, 2024
42ab710
CI: fix guidelines_enforcer
yogh333 Aug 2, 2024
305a1bc
[starknet] Fix clippy issues
yogh333 Aug 2, 2024
a3fd059
[starknet] fix clippy issue (Nano build)
yogh333 Aug 2, 2024
911c289
[starknet] updates after Donjon review
yogh333 Aug 21, 2024
9ff80d7
Update APDU protocol: for each call, an end-of-calldata shall be rece…
yogh333 Aug 28, 2024
3307d99
Bump SDK version
yogh333 Sep 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13 changes: 3 additions & 10 deletions .github/workflows/rust_fmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,11 @@ env:
jobs:
rust_fmt:
runs-on: ubuntu-latest
container:
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest
steps:
- name: Checkout
uses: actions/checkout@v3

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt

- name: Cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
run: cargo fmt --all -- --check
Loading
Loading