You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 9, 2017. It is now read-only.
I am considering adding XChaCha20-Poly1305 to the library I maintain, which only supports the IETF construct with 96-bit nonces and where the AAD and ciphertext is padded to 16 bytes with zeros. I'm doing a survey of other libraries to see if they would interop with my implementation or not, and it isn't clear from just reading the documentation which construct (the DJBian construct with 64-bit nonces, or the IETF construct) this library supports for XChaCha20-Poly1305.
See jedisct1/libsodium#461, in particular the crypto_aead_xchacha20poly1305_ietf_{decrypt,encrypt}[_detached] functions. For some more context with respect to what libsodium has decided to do (support both constructs), see jedisct1/libsodium#462. FWIW, I'm only planning to support the IETF construct.
I am considering adding XChaCha20-Poly1305 to the library I maintain, which only supports the IETF construct with 96-bit nonces and where the AAD and ciphertext is padded to 16 bytes with zeros. I'm doing a survey of other libraries to see if they would interop with my implementation or not, and it isn't clear from just reading the documentation which construct (the DJBian construct with 64-bit nonces, or the IETF construct) this library supports for XChaCha20-Poly1305.
See jedisct1/libsodium#461, in particular the
crypto_aead_xchacha20poly1305_ietf_{decrypt,encrypt}[_detached]functions. For some more context with respect to what libsodium has decided to do (support both constructs), see jedisct1/libsodium#462. FWIW, I'm only planning to support the IETF construct.