diff --git a/doc/Building.md b/doc/Building.md index a98aa2d..1ac2748 100644 --- a/doc/Building.md +++ b/doc/Building.md @@ -111,4 +111,16 @@ Pearson Hashing: AES-NI The compilations flags could easily be combined: -`./configure CFLAGS="-O3 -march=native"`. \ No newline at end of file +`./configure CFLAGS="-O3 -march=native"`. + +## OpenSSL Support + +Some ciphers' speed can take advantage of OpenSSL support which is disabled by default as the built-in ciphers already prove reasonably fast in most cases. OpenSSL support can be configured using + +`./configure --with-openssl` + +which then will include OpenSSL 1.0 or 1.1 if found on the system. This can be combined with the hardware support and compiler optimizations such as + +`./configure --with-openssl CFLAGS="-O3 -march=native"` + +Please do no forget to `make clean` after (re-)configuration and before building using `make`. \ No newline at end of file diff --git a/doc/Crypto.md b/doc/Crypto.md index e561065..de684d7 100644 --- a/doc/Crypto.md +++ b/doc/Crypto.md @@ -24,7 +24,7 @@ The following chart might help to make a quick comparison and decide what cipher The two block ciphers Twofish and AES are used in CTS mode. -n2n has all four ciphers built-in as basic versions. Some of them optionally compile to faster versions by the means of available hardware support (AES-NI, SSE, AVX – please see the [Building document](./Building.md) for details. Also, AES and ChaCha20 might draw notable acceleration from compiling with openSSL 1.1 support. +n2n has all four ciphers built-in as basic versions. Some of them optionally compile to faster versions by the means of available hardware support (AES-NI, SSE, AVX – please see the [Building document](./Building.md) for details. Depending on your platform, AES and ChaCha20 might also draw notable acceleration from optionally compiling with openSSL 1.1 support. ### Twofish