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

chacha20-poly1305 support #64

Open
edwintorok opened this issue May 18, 2015 · 4 comments
Open

chacha20-poly1305 support #64

edwintorok opened this issue May 18, 2015 · 4 comments

Comments

@edwintorok
Copy link

ChaCha20-Poly1305 has been adopted as RFC7539, and will be useful when it is approved for TLS.
Although Chrome already uses it, so it might be useful even before that.

It is a lot faster than AES-GCM when there is no hardware acceleration available, especially on ARM, but AFAIK ocaml-nocrypto doesn't use AES-NI so ChaCha20-Poly1305 will probably always be faster.

@pqwy
Copy link
Contributor

pqwy commented May 18, 2015

It will be a useful addition, true. I'll slowly investigate the options here.

OTOH nocrypto does use AES-NI with bulk performance in simple encryption/decryption with CTR and CBC neck-to-neck with openssl's libcrypt. 😄

The branch needs a little more polish in some modes to get merged, and is the very next thing on TODO.

@hannesm
Copy link
Member

hannesm commented May 18, 2015

according to the IETF tls working group mailing list, this is not yet standardised (crypto and algorithms are, ciphersuite isn't). a draft (which is not precise) is at https://tools.ietf.org/html/draft-mavrogiannopoulos-chacha-tls-05 and will get more precise and might be published on standard track http://www.ietf.org/mail-archive/web/tls/current/msg16322.html

@pqwy
Copy link
Contributor

pqwy commented Jul 2, 2015

Now, this is not to say ChaCha/Poly will not happen, but, uhm, this.

@cfcs
Copy link

cfcs commented Sep 29, 2017

FWIW I believe this is no longer in draft status:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants