-
Notifications
You must be signed in to change notification settings - Fork 75
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
Authdecode #479
Open
themighty1
wants to merge
21
commits into
feat/poseidon-halo2
Choose a base branch
from
authdecode_2024
base: feat/poseidon-halo2
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Authdecode #479
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
2587d3a
update to work with PSE halo2 0.3.0
themighty1 6c893da
add params from Axiom's setup
themighty1 0066b9c
add a constraint on 3 MSBs
themighty1 bf31957
protocol refactor
themighty1 d5dbcb6
halo2 backend refactor. one test is failing.
themighty1 820784a
don't use `slice_to_columns` since it is bugged. all tests pass now.
themighty1 df6a73d
fix an incorrect constraint for unused advice cells
themighty1 6844543
use F::zero() instead of F::from(0)
themighty1 abd115b
restore the use of `slice_to_columns`
themighty1 c8dd70d
change plaintext type to u8 vec
themighty1 d5ed27e
remove encoding verification
themighty1 6077792
make the protocol accept uncorrelated encodings
themighty1 750ec56
use itybity for bit ops
themighty1 e0b5b6e
pack plaintext with byte granularity
themighty1 5d32360
use opaque_debug with generics
themighty1 7617fb5
measure commitment chunk size in bytes, not bits
themighty1 c5ab083
cleanups
themighty1 719c789
split into core and io crates
themighty1 dc1f106
docs and cleanups
themighty1 147d997
move to crates root dir
themighty1 d225791
add changes in preparation to integration
themighty1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
[package] | ||
name = "tlsn-authdecode-core" | ||
authors = ["TLSNotary Team"] | ||
description = "A 2PC protocol for authenticated decoding of encodings in zk" | ||
keywords = ["tls", "mpc", "2pc"] | ||
categories = ["cryptography"] | ||
license = "MIT OR Apache-2.0" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[lib] | ||
name = "authdecode_core" | ||
|
||
[features] | ||
default = [] | ||
fixtures = ["dep:rand_chacha"] | ||
mock = ["dep:bincode", "dep:num", "dep:blake3"] | ||
tracing = ["dep:tracing"] | ||
|
||
[dependencies] | ||
poseidon-halo2 = { workspace = true } | ||
|
||
bincode = { workspace = true, optional = true} | ||
blake3 = { workspace = true, optional = true} | ||
cfg-if = "1" | ||
enum-try-as-inner = { workspace = true } | ||
ff = "0.13" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: i think we're adopting the format of always using { version = "0.13" } in the project? |
||
getset = "0.1.2" | ||
group = "0.13" | ||
halo2_poseidon = { git = "https://github.com/privacy-scaling-explorations/poseidon-gadget", rev="764a682"} | ||
halo2_proofs = { git = "https://github.com/privacy-scaling-explorations/halo2", tag = "v0.3.0", default-features = false} | ||
itybity = "0.2" | ||
lazy_static = "1.4" | ||
num = { version = "0.4.1", optional = true} | ||
opaque-debug = { workspace = true } | ||
rand = { workspace = true } | ||
rand_chacha = { workspace = true, optional = true} | ||
serde = { workspace = true, features = ["derive"] } | ||
thiserror = { workspace = true } | ||
tracing = { workspace = true, optional = true } | ||
|
||
[dev-dependencies] | ||
bincode = { workspace = true } | ||
blake3 = { workspace = true } | ||
criterion = { workspace = true } | ||
hex = { workspace = true } | ||
num = "0.4.1" | ||
rand_chacha = { workspace = true } | ||
rand_core = { workspace = true } | ||
rstest = { workspace = true } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: leave a space in front of "}"