588f5546b3
Instead of using IP bufs for sending stuff, allocate a separate buffer that is only used in dtls sub-system to send the encrypted buffer. This way there is no possibility to deadlock in the dtls write callback if we run out of buffers. Change-Id: I45a909a50b6a9c83bb77712d47e968656b980d88 Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com> |
||
---|---|---|
.. | ||
aes | ||
doc | ||
ecc | ||
examples/contiki | ||
platform-specific | ||
sha2 | ||
tests | ||
.gitignore | ||
LICENSE | ||
Makefile.in | ||
Makefile.tinydtls | ||
README | ||
alert.h | ||
ccm.c | ||
ccm.h | ||
configure.in | ||
crypto.c | ||
crypto.h | ||
debug.c | ||
debug.h | ||
dtls.c | ||
dtls.h | ||
dtls_config.h | ||
dtls_time.c | ||
dtls_time.h | ||
global.h | ||
hmac.c | ||
hmac.h | ||
netq.c | ||
netq.h | ||
numeric.h | ||
peer.c | ||
peer.h | ||
prng.h | ||
session.c | ||
session.h | ||
state.h | ||
t_list.h | ||
tinydtls.h | ||
tinydtls.h.in |
README
CONTENTS This library contains functions and structures that can help constructing a single-threaded UDP server with DTLS support in C99. The following components are available: * dtls Basic support for DTLS with pre-shared key mode. * tests The subdirectory tests contains test programs that show how each component is used. BUILDING When using the code from the git repository at sourceforge, invoke 'autoreconf' to re-create the configure script. To build for Contiki, place tinydtls into Contiki's apps directory and call ./configure --with-contiki. After configuration, invoke make to build the library and associated test programs. To add tinydtls as Contiki application, drop it into the apps directory and add the following line to your Makefile: APPS += tinydtls/aes tinydtls/sha2 tinydtls/ecc tinydtls