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

Use of CHACHA20 alongside GCM #12

Open
ShadowJonathan opened this issue Dec 8, 2021 · 0 comments
Open

Use of CHACHA20 alongside GCM #12

ShadowJonathan opened this issue Dec 8, 2021 · 0 comments

Comments

@ShadowJonathan
Copy link
Owner

ShadowJonathan commented Dec 8, 2021

RFC 6347 Section 3.1 mentions the following;

DTLS solves the first problem by banning stream ciphers.

From this, i concluded that the use of CHACHA20 (a stream cipher) would not work in DTLS.

However, from both looking at the source code in rustls, the IANA canonical list of cipher suites, and at RFC 7905, using CHACHA20 looks to be possible, as rustls plugs in sequence numbers into both algorithms just the same.

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

No branches or pull requests

1 participant