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

Authdecode #479

Open
wants to merge 21 commits into
base: feat/poseidon-halo2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
50 changes: 50 additions & 0 deletions crates/components/authdecode/authdecode-core/Cargo.toml
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}
Copy link
Member

@yuroitaki yuroitaki Oct 25, 2024

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 "}"

blake3 = { workspace = true, optional = true}
cfg-if = "1"
enum-try-as-inner = { workspace = true }
ff = "0.13"
Copy link
Member

Choose a reason for hiding this comment

The 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 }
Loading