Open
Description
It would be great if the noise-protocol module would work with sodium universal.
From what I can gather the following parts of sodium need to be ported:
- https://download.libsodium.org/doc/secret-key_cryptography/aead/chacha20-poly1305/xchacha20-poly1305_construction#constants (encrypt and decrypt)
- https://download.libsodium.org/doc/key_exchange#constants
The key exchange looks relatively straight forward, the crypto_aead_xchacha20poly1305_ietf
end of things looks a bit more involved (e.g. reimplementing https://github.com/jedisct1/libsodium/blob/927dfe8e2eaa86160d3ba12a7e3258fbc322909c/src/libsodium/crypto_core/hchacha20/core_hchacha20.c or doing some kind of WAT rewrite like xsalsa20 ?
@emilbayes do you have any pointers on how you would go about doing that?
Metadata
Metadata
Assignees
Labels
No labels