Does ss-libev support mbedTLS 2.x?
roytam1 opened this issue · comments
IIRC there is header changes in mbedTLS 2.x
Nope.
Yep, already in use. Tested both in windows and debian/ubuntu.
if need, I can write a wiki, the compile of mbedtls in linux is ordinary, but in windows, you need to add some flag to make it work well.
windows
mbedtls
make lib WINDOWS_BUILD=1 no_test
make install DESTDIR="$HOME/prebuilt"
shadowsocks-libev
./configure --prefix="$HOME/ss" --with-crypto-library=mbedtls --with-mbedtls=$HOME/prebuilt
make && make install
linux
mbedtls
make lib
make install DESTDIR="$HOME/prebuilt"
shadowsocks-libev
./configure --prefix="$HOME/ss" --with-crypto-library=mbedtls --with-mbedtls=$HOME/prebuilt
make && make install
Mbed-TLS/mbedtls#231
Mbed-TLS/mbedtls#232
this two issue offer the way of compiling mbedtls well under windows system
@bigtan
Can you enable these defines in config.h of mbedtls
#define MBEDTLS_THREADING_C
#define MBEDTLS_THREADING_PTHREAD
and test the performance? This combination will enable threading layer and use libpthread by default. Please use mbedtls 2.2
I build both the with-thread and without-thread version and run them in one server. Maybe I can give you the config information and you can test its performance yourself. @wongsyrone