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
|
@ -1,10 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ ! -d libsodium-1.0.11 ]; then
|
||||
wget https://github.com/jedisct1/libsodium/releases/download/1.0.11/libsodium-1.0.11.tar.gz || exit 1
|
||||
tar xf libsodium-1.0.11.tar.gz || exit 1
|
||||
if [ ! -d libsodium-1.0.12 ]; then
|
||||
wget https://github.com/jedisct1/libsodium/releases/download/1.0.12/libsodium-1.0.12.tar.gz || exit 1
|
||||
tar xf libsodium-1.0.12.tar.gz || exit 1
|
||||
fi
|
||||
pushd libsodium-1.0.11
|
||||
pushd libsodium-1.0.12
|
||||
./configure && make -j2 && make install || exit 1
|
||||
sudo ldconfig
|
||||
popd
|
||||
rm -rf libsodium-1.0.12 || exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue