We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In RustCrypto/AEADs#295, the ChaChaBox construction was changed to the following (prior versions did not apply HChaCha20):
ChaChaBox
shared_key = hchacha20(x25519(alice_sk, bob_pk), [0u8; 16]))
In theory, this should be compatible with what libsodium implements:
https://github.com/jedisct1/libsodium/blob/e1fa9cc/src/libsodium/crypto_box/curve25519xchacha20poly1305/box_curve25519xchacha20poly1305.c#L45-L51
We should add test vectors generated by libsodium to ensure this is the case.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In RustCrypto/AEADs#295, the
ChaChaBox
construction was changed to the following (prior versions did not apply HChaCha20):In theory, this should be compatible with what libsodium implements:
https://github.com/jedisct1/libsodium/blob/e1fa9cc/src/libsodium/crypto_box/curve25519xchacha20poly1305/box_curve25519xchacha20poly1305.c#L45-L51
We should add test vectors generated by libsodium to ensure this is the case.
The text was updated successfully, but these errors were encountered: