Arnis Lielturks e328d95bfb initial implementation 5 years ago
..
CMakeLists.txt e328d95bfb initial implementation 5 years ago
README.md e328d95bfb initial implementation 5 years ago
lws-genaes.c e328d95bfb initial implementation 5 years ago
lws-genec.c e328d95bfb initial implementation 5 years ago
main.c e328d95bfb initial implementation 5 years ago

README.md

lws api test gencrypto

Demonstrates how to use and performs selftests for Generic Crypto, which works the same whether the tls backend is OpenSSL or mbedTLS

build

 $ cmake . && make

usage

 $ ./lws-api-test-gencrypto
[2018/12/05 08:30:27:1342] USER: LWS gencrypto apis tests
[2018/12/05 08:30:27:1343] NOTICE: Creating Vhost 'default' (serving disabled), 1 protocols, IPv6 off
[2018/12/05 08:30:27:1343] NOTICE: created client ssl context for default
[2018/12/05 08:30:27:1344] NOTICE: test_genaes: selftest OK
[2018/12/05 08:30:27:1344] USER: Completed: PASS
Commandline option Meaning
-d Debug verbosity in decimal, eg, -d15