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

refactor(mpz-circuits): binary type abstractions #124

Draft
wants to merge 14 commits into
base: dev
Choose a base branch
from

Conversation

sinui0
Copy link
Collaborator

@sinui0 sinui0 commented May 8, 2024

This PR is an intermediate step towards making mpz-circuits generic over the field/elements it operates on.

Both mpz-memory and mpz-binary-types will be integrated into our VM abstractions and should remove a considerable amount of duplication.

Changes

  • Moves the dynamic typing stuff for binary values into mpz-binary-types
  • Moves the representation abstractions into mpz-memory.
  • Updates mpz-circuits to use these new crates.
    • Deprecrates the trace macro in mpz-circuits as we don't use it or intend to support it later.

sinui0 and others added 9 commits April 29, 2024 16:33
* feat: mpz-common

* reduce visibility of test module

* pr feedback
* Adds an ideal ROT functionality to mpz-ot-core

* Update ot/mpz-ot-core/src/ideal/ideal_rot.rs

Derive Debug for IdealROT

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

* Add feedback

* Add more feedback

---------

Co-authored-by: sinu.eth <[email protected]>
* add transfer id

* update co15 and kos15

* add Output type

* feat(mpz-common): ideal functionality utils

* refactor ideal functionalities and traits

* pr feedback

* impl ideal rot

* Update crates/mpz-ot/src/ideal/rot.rs

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

---------

Co-authored-by: th4s <[email protected]>
@sinui0 sinui0 requested review from themighty1, th4s and brech1 May 8, 2024 02:21
@sinui0 sinui0 marked this pull request as draft May 10, 2024 05:13
@sinui0
Copy link
Collaborator Author

sinui0 commented May 10, 2024

Hold off on reviewing this, I've run into limitations with the approach that have to be addressed

@sinui0 sinui0 force-pushed the refactor/binary-type-abstractions branch from 7d8b2aa to 2bd97ed Compare May 11, 2024 22:38
@sinui0 sinui0 force-pushed the threading-refactor branch 2 times, most recently from 197d9e8 to e25d123 Compare June 25, 2024 21:20
Base automatically changed from threading-refactor to dev June 26, 2024 12: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