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

Implement trait AeadInto for AES-GCM and ChaCha20-Poly1305 #625

Closed
wants to merge 1 commit into from

Conversation

Cel-Service
Copy link

Relies on this PR!

Resolves this issue.

Notes

I only implement AeadInto for AES-GCM and ChaChaPoly because these are the algorithms officially supported by the Noise Protocol Framework (the driving factor behind my PR).

While I'm not personally invested in doing so, let me know if you need me to implement AeadInto for the other algorithms in order to accept this PR.

@Cel-Service
Copy link
Author

Addendum: It's perfectly acceptable to replace the pregenerated test data if so preferred. I only wanted non-zero, non-empty test data to confirm that encrypt_into and decrypt_into would work as expected with realistic parameters.

@Cel-Service
Copy link
Author

Retracted, as I am currently in progress writing the implementation for an alternative proposal.

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.

aead: API with separate buffers for input and output
1 participant