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

feat: make ciphertext inputs global per request #15

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

dartdart26
Copy link
Collaborator

Instead of passing in ciphertexts as part of the SyncInput, pass them globally for the whole request. Decompress them into a map that lives for the duration of the request. Computations then refer to ciphertexts in the map via handles, applying to inputs, compressed ciphertexts and results.

Above also allows for use of results as inputs in subsequent computations.

@dartdart26 dartdart26 self-assigned this Aug 30, 2024
Instead of passing in ciphertexts as part of the SyncInput, pass them
globally for the whole request. Decompress them into a map that lives
for the duration of the request. Computations then refer to ciphertexts
in the map via handles, applying to inputs, compressed ciphertexts and
results.

Above also allows for use of results as inputs in subsequent
computations.
@dartdart26 dartdart26 force-pushed the petar/deduplicate-ciphertext-inputs branch from eab925b to cc72203 Compare August 30, 2024 14:14
@dartdart26 dartdart26 merged commit 85371aa into main Aug 30, 2024
2 checks passed
@dartdart26 dartdart26 deleted the petar/deduplicate-ciphertext-inputs branch August 30, 2024 14:16
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