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

perf: MPC-TLS upgrade #698

Merged
merged 22 commits into from
Feb 25, 2025
Merged

perf: MPC-TLS upgrade #698

merged 22 commits into from
Feb 25, 2025

Conversation

sinui0
Copy link
Member

@sinui0 sinui0 commented Feb 25, 2025

This PR merges most of the alpha.8 changes into the dev branch.

th4s and others added 11 commits February 25, 2025 10:38
* refactor(key-exchange): adapt key-exchange to new vm

* fix: fix feature flags

* simplify

* delete old msg module

* clean up error

---------

Co-authored-by: sinu <[email protected]>
* refactor(prf): adapt prf to new mpz vm

Co-authored-by: sinu <[email protected]>

* refactor: remove preprocessing bench

* fix: fix feature flags

* clean up attributes

---------

Co-authored-by: sinu <[email protected]>
* feat(cipher): add cipher crate, replacing stream/block cipher and aead

* delete old config module

* remove mpz generics

---------

Co-authored-by: sinu <[email protected]>
* WIP: Adding new encoding logic...

* feat: add new encoder

* add feedback

* rename conversions
* feat: DEAP VM

* use rangeset, add desync guard

* move MPC execution up in finalization
* refactor: MPC-TLS

Co-authored-by: th4s <[email protected]>

* output key references

* bump deps

---------

Co-authored-by: th4s <[email protected]>
@sinui0 sinui0 marked this pull request as ready for review February 25, 2025 18:39
@sinui0 sinui0 changed the title alpha.8 perf: MPC-TLS upgrade Feb 25, 2025
Copy link

codecov bot commented Feb 25, 2025

Codecov Report

Attention: Patch coverage is 32.24490% with 3818 lines in your changes missing coverage. Please review.

Project coverage is 57.80%. Comparing base (25d6573) to head (9822a00).
Report is 1 commits behind head on dev.

Files with missing lines Patch % Lines
crates/mpc-tls/src/leader/actor.rs 0.00% 954 Missing ⚠️
crates/mpc-tls/src/leader.rs 0.00% 570 Missing ⚠️
crates/mpc-tls/src/record_layer.rs 0.00% 377 Missing ⚠️
crates/mpc-tls/src/follower.rs 0.00% 246 Missing ⚠️
crates/mpc-tls/src/record_layer/decrypt.rs 0.00% 176 Missing ⚠️
crates/mpc-tls/src/record_layer/encrypt.rs 0.00% 167 Missing ⚠️
crates/common/src/encoding.rs 0.00% 112 Missing ⚠️
crates/prover/src/lib.rs 0.00% 110 Missing ⚠️
crates/mpc-tls/src/record_layer/aes_ctr.rs 38.41% 109 Missing ⚠️
crates/common/src/zk_aes.rs 0.00% 105 Missing ⚠️
... and 30 more
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #698      +/-   ##
==========================================
+ Coverage   55.95%   57.80%   +1.85%     
==========================================
  Files         189      177      -12     
  Lines       20751    21332     +581     
==========================================
+ Hits        11611    12332     +721     
+ Misses       9140     9000     -140     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sinui0 sinui0 merged commit cb13169 into dev Feb 25, 2025
7 of 8 checks passed
@sinui0 sinui0 deleted the alpha.8-branch branch February 25, 2025 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants