android13/external/libwebsockets/minimal-examples/api-tests/api-test-gencrypto
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
CMakeLists.txt initial 2024-06-22 20:45:49 +08:00
README.md initial 2024-06-22 20:45:49 +08:00
lws-genaes.c initial 2024-06-22 20:45:49 +08:00
lws-genec.c initial 2024-06-22 20:45:49 +08:00
main.c initial 2024-06-22 20:45:49 +08:00

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

Commandline option Meaning
-d Debug verbosity in decimal, eg, -d15
 $ ./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