├── .gitignore ├── ABOUT.md ├── CONTRIBUTING.md ├── LICENSE ├── Makefile.in ├── Makefile.tinydtls ├── README ├── aes ├── Makefile.in ├── rijndael.c └── rijndael.h ├── alert.h ├── configure.in ├── doc ├── Doxyfile.in ├── DoxygenLayout.xml └── Makefile.in ├── dtls.c ├── dtls.h ├── dtls_ccm.c ├── dtls_ccm.h ├── dtls_crypto.c ├── dtls_crypto.h ├── dtls_debug.c ├── dtls_debug.h ├── dtls_time.c ├── dtls_time.h ├── ecc ├── Makefile.contiki ├── Makefile.ecc ├── Makefile.in ├── ecc.c ├── ecc.h ├── test_helper.c ├── test_helper.h ├── testecc.c └── testfield.c ├── global.h ├── hmac.c ├── hmac.h ├── netq.c ├── netq.h ├── numeric.h ├── peer.c ├── peer.h ├── platform-specific ├── Makefile.in ├── config-cc2538dk.h ├── config-econotag.h ├── config-minimal-net.h ├── config-sky.h ├── config-wismote.h └── platform.h ├── prng.h ├── reconf.sh ├── session.c ├── session.h ├── sha2 ├── Makefile.in ├── README ├── sha2.c ├── sha2.h ├── sha2prog.c ├── sha2speed.c ├── sha2test.pl └── testvectors │ ├── vector001.dat │ ├── vector001.info │ ├── vector002.dat │ ├── vector002.info │ ├── vector003.dat │ ├── vector003.info │ ├── vector004.dat │ ├── vector004.info │ ├── vector005.dat │ ├── vector005.info │ ├── vector006.dat │ ├── vector006.info │ ├── vector007.dat │ ├── vector007.info │ ├── vector008.dat │ ├── vector008.info │ ├── vector009.dat │ ├── vector009.info │ ├── vector010.dat │ ├── vector010.info │ ├── vector011.dat │ ├── vector011.info │ ├── vector012.dat │ ├── vector012.info │ ├── vector013.dat │ ├── vector013.info │ ├── vector014.dat │ ├── vector014.info │ ├── vector015.dat │ ├── vector015.info │ ├── vector016.dat │ ├── vector016.info │ ├── vector017.dat │ ├── vector017.info │ ├── vector018.dat │ └── vector018.info ├── state.h ├── tests ├── Makefile.in ├── cbc_aes128-test.c ├── cbc_aes128-testdata.c ├── ccm-test.c ├── ccm-testdata.c ├── dsrv-test.c ├── dtls-client.c ├── dtls-server.c ├── netq-test.c ├── pcap.c ├── prf-test.c └── secure-server.c ├── tinydtls.h.in ├── uthash.h └── utlist.h /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/.gitignore -------------------------------------------------------------------------------- /ABOUT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/ABOUT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/Makefile.in -------------------------------------------------------------------------------- /Makefile.tinydtls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/Makefile.tinydtls -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/README -------------------------------------------------------------------------------- /aes/Makefile.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/aes/Makefile.in -------------------------------------------------------------------------------- /aes/rijndael.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/aes/rijndael.c -------------------------------------------------------------------------------- /aes/rijndael.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/aes/rijndael.h -------------------------------------------------------------------------------- /alert.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/alert.h -------------------------------------------------------------------------------- /configure.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/configure.in -------------------------------------------------------------------------------- /doc/Doxyfile.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/doc/Doxyfile.in -------------------------------------------------------------------------------- /doc/DoxygenLayout.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/doc/DoxygenLayout.xml -------------------------------------------------------------------------------- /doc/Makefile.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/doc/Makefile.in -------------------------------------------------------------------------------- /dtls.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/dtls.c -------------------------------------------------------------------------------- /dtls.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/dtls.h -------------------------------------------------------------------------------- /dtls_ccm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/dtls_ccm.c -------------------------------------------------------------------------------- /dtls_ccm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/dtls_ccm.h -------------------------------------------------------------------------------- /dtls_crypto.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/dtls_crypto.c -------------------------------------------------------------------------------- /dtls_crypto.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/dtls_crypto.h -------------------------------------------------------------------------------- /dtls_debug.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/dtls_debug.c -------------------------------------------------------------------------------- /dtls_debug.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/dtls_debug.h -------------------------------------------------------------------------------- /dtls_time.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/dtls_time.c -------------------------------------------------------------------------------- /dtls_time.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/dtls_time.h -------------------------------------------------------------------------------- /ecc/Makefile.contiki: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/ecc/Makefile.contiki -------------------------------------------------------------------------------- /ecc/Makefile.ecc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/ecc/Makefile.ecc -------------------------------------------------------------------------------- /ecc/Makefile.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/ecc/Makefile.in -------------------------------------------------------------------------------- /ecc/ecc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/ecc/ecc.c -------------------------------------------------------------------------------- /ecc/ecc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/ecc/ecc.h -------------------------------------------------------------------------------- /ecc/test_helper.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/ecc/test_helper.c -------------------------------------------------------------------------------- /ecc/test_helper.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/ecc/test_helper.h -------------------------------------------------------------------------------- /ecc/testecc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/ecc/testecc.c -------------------------------------------------------------------------------- /ecc/testfield.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/ecc/testfield.c -------------------------------------------------------------------------------- /global.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/global.h -------------------------------------------------------------------------------- /hmac.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/hmac.c -------------------------------------------------------------------------------- /hmac.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/hmac.h -------------------------------------------------------------------------------- /netq.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/netq.c -------------------------------------------------------------------------------- /netq.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/netq.h -------------------------------------------------------------------------------- /numeric.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/numeric.h -------------------------------------------------------------------------------- /peer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/peer.c -------------------------------------------------------------------------------- /peer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/peer.h -------------------------------------------------------------------------------- /platform-specific/Makefile.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/platform-specific/Makefile.in -------------------------------------------------------------------------------- /platform-specific/config-cc2538dk.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/platform-specific/config-cc2538dk.h -------------------------------------------------------------------------------- /platform-specific/config-econotag.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/platform-specific/config-econotag.h -------------------------------------------------------------------------------- /platform-specific/config-minimal-net.h: -------------------------------------------------------------------------------- 1 | #define HAVE_ASSERT_H 1 2 | -------------------------------------------------------------------------------- /platform-specific/config-sky.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/platform-specific/config-sky.h -------------------------------------------------------------------------------- /platform-specific/config-wismote.h: -------------------------------------------------------------------------------- 1 | #define HAVE_ASSERT_H 1 2 | -------------------------------------------------------------------------------- /platform-specific/platform.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/platform-specific/platform.h -------------------------------------------------------------------------------- /prng.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/prng.h -------------------------------------------------------------------------------- /reconf.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/reconf.sh -------------------------------------------------------------------------------- /session.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/session.c -------------------------------------------------------------------------------- /session.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/session.h -------------------------------------------------------------------------------- /sha2/Makefile.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/Makefile.in -------------------------------------------------------------------------------- /sha2/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/README -------------------------------------------------------------------------------- /sha2/sha2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/sha2.c -------------------------------------------------------------------------------- /sha2/sha2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/sha2.h -------------------------------------------------------------------------------- /sha2/sha2prog.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/sha2prog.c -------------------------------------------------------------------------------- /sha2/sha2speed.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/sha2speed.c -------------------------------------------------------------------------------- /sha2/sha2test.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/sha2test.pl -------------------------------------------------------------------------------- /sha2/testvectors/vector001.dat: -------------------------------------------------------------------------------- 1 | abc -------------------------------------------------------------------------------- /sha2/testvectors/vector001.info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector001.info -------------------------------------------------------------------------------- /sha2/testvectors/vector002.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector002.dat -------------------------------------------------------------------------------- /sha2/testvectors/vector002.info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector002.info -------------------------------------------------------------------------------- /sha2/testvectors/vector003.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector003.dat -------------------------------------------------------------------------------- /sha2/testvectors/vector003.info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector003.info -------------------------------------------------------------------------------- /sha2/testvectors/vector004.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector004.dat -------------------------------------------------------------------------------- /sha2/testvectors/vector004.info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector004.info -------------------------------------------------------------------------------- /sha2/testvectors/vector005.dat: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sha2/testvectors/vector005.info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector005.info -------------------------------------------------------------------------------- /sha2/testvectors/vector006.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector006.dat -------------------------------------------------------------------------------- /sha2/testvectors/vector006.info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector006.info -------------------------------------------------------------------------------- /sha2/testvectors/vector007.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector007.dat -------------------------------------------------------------------------------- /sha2/testvectors/vector007.info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector007.info -------------------------------------------------------------------------------- /sha2/testvectors/vector008.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector008.dat -------------------------------------------------------------------------------- /sha2/testvectors/vector008.info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector008.info -------------------------------------------------------------------------------- /sha2/testvectors/vector009.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector009.dat -------------------------------------------------------------------------------- /sha2/testvectors/vector009.info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector009.info -------------------------------------------------------------------------------- /sha2/testvectors/vector010.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector010.dat -------------------------------------------------------------------------------- /sha2/testvectors/vector010.info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector010.info -------------------------------------------------------------------------------- /sha2/testvectors/vector011.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector011.dat -------------------------------------------------------------------------------- /sha2/testvectors/vector011.info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector011.info -------------------------------------------------------------------------------- /sha2/testvectors/vector012.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector012.dat -------------------------------------------------------------------------------- /sha2/testvectors/vector012.info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector012.info -------------------------------------------------------------------------------- /sha2/testvectors/vector013.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector013.dat -------------------------------------------------------------------------------- /sha2/testvectors/vector013.info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector013.info -------------------------------------------------------------------------------- /sha2/testvectors/vector014.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector014.dat -------------------------------------------------------------------------------- /sha2/testvectors/vector014.info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector014.info -------------------------------------------------------------------------------- /sha2/testvectors/vector015.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector015.dat -------------------------------------------------------------------------------- /sha2/testvectors/vector015.info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector015.info -------------------------------------------------------------------------------- /sha2/testvectors/vector016.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector016.dat -------------------------------------------------------------------------------- /sha2/testvectors/vector016.info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector016.info -------------------------------------------------------------------------------- /sha2/testvectors/vector017.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector017.dat -------------------------------------------------------------------------------- /sha2/testvectors/vector017.info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector017.info -------------------------------------------------------------------------------- /sha2/testvectors/vector018.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector018.dat -------------------------------------------------------------------------------- /sha2/testvectors/vector018.info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/sha2/testvectors/vector018.info -------------------------------------------------------------------------------- /state.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/state.h -------------------------------------------------------------------------------- /tests/Makefile.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/tests/Makefile.in -------------------------------------------------------------------------------- /tests/cbc_aes128-test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/tests/cbc_aes128-test.c -------------------------------------------------------------------------------- /tests/cbc_aes128-testdata.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/tests/cbc_aes128-testdata.c -------------------------------------------------------------------------------- /tests/ccm-test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/tests/ccm-test.c -------------------------------------------------------------------------------- /tests/ccm-testdata.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/tests/ccm-testdata.c -------------------------------------------------------------------------------- /tests/dsrv-test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/tests/dsrv-test.c -------------------------------------------------------------------------------- /tests/dtls-client.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/tests/dtls-client.c -------------------------------------------------------------------------------- /tests/dtls-server.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/tests/dtls-server.c -------------------------------------------------------------------------------- /tests/netq-test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/tests/netq-test.c -------------------------------------------------------------------------------- /tests/pcap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/tests/pcap.c -------------------------------------------------------------------------------- /tests/prf-test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/tests/prf-test.c -------------------------------------------------------------------------------- /tests/secure-server.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/tests/secure-server.c -------------------------------------------------------------------------------- /tinydtls.h.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/tinydtls.h.in -------------------------------------------------------------------------------- /uthash.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/uthash.h -------------------------------------------------------------------------------- /utlist.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cetic/tinydtls/HEAD/utlist.h --------------------------------------------------------------------------------