Guus Sliepen
0209f12d27
Correctly estimate the initial MTU for legacy packets.
2015-01-10 23:00:51 +01:00
Guus Sliepen
cfe9285adf
Allow tinc to be compiled without OpenSSL.
...
The option "--disable-legacy-protocol" was added to the configure
script. The new protocol does not depend on any external crypto
libraries, so when the option is used tinc is no longer linked to
OpenSSL's libcrypto.
2014-12-29 22:57:18 +01:00
Guus Sliepen
b78436ff1e
Remove AES-GCM support.
2014-12-26 18:22:13 +01:00
Guus Sliepen
0da0728088
Use AES-256-GCM for the SPTPS protocol.
...
It is faster than AES-256-CTR + HMAC-SHA256, especially on Intel chips with AES
and PCLMULQDQ instructions.
2013-10-13 01:02:52 +02:00
Guus Sliepen
7b949262c4
Add __attribute__((warn_unused_result)) to crypto functions.
2013-05-10 20:23:01 +02:00
Guus Sliepen
45063953fd
Add more __attribute__((malloc)) where appropriate.
2013-05-10 20:15:27 +02:00
Guus Sliepen
0acdce222f
Add generic crypto headers.
...
They should have been included in commit 9b9230a
.
2013-05-01 17:58:30 +02:00
Guus Sliepen
1b8f891836
Finish crypto wrapping. Also provide wrappers for OpenSSL.
...
Disable libgcrypt by default. Since it doesn't support the OFB cipher mode,
we can't use it in a backwards compatible way.
2007-05-23 13:45:49 +00:00
Guus Sliepen
f42e57f663
Some more crypto wrapper functions are needed.
2007-05-22 23:41:22 +00:00
Guus Sliepen
e8689a4753
Create wrappers for the cryptographic operations used in tinc.
...
Implement them using libgcrypt.
2007-05-22 21:32:48 +00:00