2980173ee7
The main reason to switch from AES-256-GCM to ChaCha-Poly1305 is to remove a dependency on OpenSSL, whose behaviour of the AES-256-GCM decryption function changes between versions. The source code for ChaCha-Pol1305 is small and in the public domain, and can therefore be easily included in tinc itself. Moreover, it is very fast even without using any optimized assembler, easily outperforming AES-256-GCM on platforms that don't have special AES instructions in hardware. |
||
---|---|---|
.. | ||
chacha-poly1305.c | ||
chacha-poly1305.h | ||
chacha.c | ||
chacha.h | ||
poly1305.c | ||
poly1305.h |