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

Encrypt/Decrypt many TLS records at once #495

Open
th4s opened this issue Jun 11, 2024 · 1 comment
Open

Encrypt/Decrypt many TLS records at once #495

th4s opened this issue Jun 11, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@th4s
Copy link
Member

th4s commented Jun 11, 2024

Currently our 2PC aead implementation encrypts/decrypts TLS records one by one. This incurs some roundtrip overhead because prover and verifier/notary have to exchange messages for this. It would be favorable to batch the en/decryption and process more than one TLS record at a time.

@th4s th4s added the enhancement New feature or request label Jun 11, 2024
@sinui0
Copy link
Member

sinui0 commented Jun 12, 2024

One challenge with this that I didn't initially see is how this feature interfaces with the tls client. The TLS client is designed to process one record at a time, so we would have to take a look at what is needed there to pass them to our backend in batches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants