Imported Upstream version 1.0.1
[platform/upstream/iotivity.git] / extlibs / tinydtls / README_Iotivity
1 SUPPORTED CIPHER-SUITES
2   TLS_PSK_WITH_AES_128_CCM_8(0xC0A8)
3   TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8(0xC0AE)
4   TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256(0xC037)
5   TLS_ECDH_anon_WITH_AES_128_CBC_SHA256(0xC018)
6
7 TEST APPLICATIONS
8 These applications can be build from Iotivity's root directory using below commands:
9 scons extlibs/tinydtls/dtls-client SECURED=1 RELEASE=0
10 scons extlibs/tinydtls/dtls-server SECURED=1 RELEASE=0
11
12
13 INTER-OPERABILITY TESTING
14 tinyDTLS's cipher-suite implementations can be verified for compatibility against other
15 SSL libraries.
16 Use below commands to perform compatibility testing against mBed SSL library.
17 ./ssl_server2 debug_level=5 dtls=1 psk=73656372657450534b psk_identity=Client_identity \
18     force_version=dtls1_2 force_ciphersuite=TLS-ECDHE-PSK-WITH-AES-128-CBC-SHA256
19 ./dtls-client -v 6 -c 4 localhost 4433
20
21 ./ssl_client2 debug_level=5 dtls=1 psk=73656372657450534b psk_identity=Client_identity \
22     force_version=dtls1_2 force_ciphersuite=TLS-ECDHE-PSK-WITH-AES-128-CBC-SHA256
23 ./dtls-server -v 6 localhost -p 4433
24
25 Above commands can also be tested with TLS-PSK-WITH-AES-128-CCM-8 cipher suite.
26