Add mbedtls wrapper, custom crypto lib path, test files (#803)
* add mbedtls crypto wrapper. add tests files for new aead ciphers add custom lib path support fix some typo * fix forbidden ip list * rm crypto lib build files * remove crypto source * add xchacha20 test config * convert dos new line format to unix format * Fix help msg
This commit is contained in:
parent
1222fb19a6
commit
0f4e3fa00c
48 changed files with 1088 additions and 326 deletions
12
tests/libmbedtls/install.sh
Executable file
12
tests/libmbedtls/install.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
MBEDTLS_VER=2.4.2
|
||||
if [ ! -d mbedtls-$MBEDTLS_VER ]; then
|
||||
wget https://tls.mbed.org/download/mbedtls-$MBEDTLS_VER-gpl.tgz || exit 1
|
||||
tar xf mbedtls-$MBEDTLS_VER-gpl.tgz || exit 1
|
||||
fi
|
||||
pushd mbedtls-$MBEDTLS_VER
|
||||
make SHARED=1 CFLAGS=-fPIC && sudo make install || exit 1
|
||||
sudo ldconfig
|
||||
popd
|
||||
rm -rf mbedtls-$MBEDTLS_VER || exit 1
|
Loading…
Add table
Add a link
Reference in a new issue