• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# lws api test gencrypto
2
3Demonstrates how to use and performs selftests for Generic Crypto,
4which works the same whether the tls backend is OpenSSL or mbedTLS
5
6## build
7
8```
9 $ cmake . && make
10```
11
12## usage
13
14Commandline option|Meaning
15---|---
16-d <loglevel>|Debug verbosity in decimal, eg, -d15
17
18```
19 $ ./lws-api-test-gencrypto
20[2018/12/05 08:30:27:1342] USER: LWS gencrypto apis tests
21[2018/12/05 08:30:27:1343] NOTICE: Creating Vhost 'default' (serving disabled), 1 protocols, IPv6 off
22[2018/12/05 08:30:27:1343] NOTICE: created client ssl context for default
23[2018/12/05 08:30:27:1344] NOTICE: test_genaes: selftest OK
24[2018/12/05 08:30:27:1344] USER: Completed: PASS
25```
26
27