zephyr/net/ip/tinydtls
Jukka Rissanen 588f5546b3 net: dtls: Allocate a separate buffer for sending
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>
2016-02-05 20:24:47 -05:00
..
aes
doc
ecc
examples/contiki net: Fix the include paths in Contiki sources 2016-02-05 20:24:46 -05:00
platform-specific net: tinydtls: The library compiles correctly 2016-02-05 20:15:23 -05:00
sha2 net: tinydtls: The library compiles correctly 2016-02-05 20:15:23 -05:00
tests
.gitignore net: tinydtls: Add missing header files 2016-02-05 20:16:16 -05:00
LICENSE
Makefile.in
Makefile.tinydtls
README
alert.h
ccm.c
ccm.h
configure.in
crypto.c net: tinydtls: The library compiles correctly 2016-02-05 20:15:23 -05:00
crypto.h
debug.c net: contiki: Set the DTLS session IP address and port correctly 2016-02-05 20:15:23 -05:00
debug.h net: Fix the include paths in Contiki sources 2016-02-05 20:24:46 -05:00
dtls.c net: dtls: Allocate a separate buffer for sending 2016-02-05 20:24:47 -05:00
dtls.h
dtls_config.h net: tinydtls: Add missing header files 2016-02-05 20:16:16 -05:00
dtls_time.c
dtls_time.h net: tinydtls: The library compiles correctly 2016-02-05 20:15:23 -05:00
global.h
hmac.c net: tinydtls: The library compiles correctly 2016-02-05 20:15:23 -05:00
hmac.h
netq.c
netq.h
numeric.h
peer.c
peer.h
prng.h
session.c net: contiki: Set the DTLS session IP address and port correctly 2016-02-05 20:15:23 -05:00
session.h net: contiki: Set the DTLS session IP address and port correctly 2016-02-05 20:15:23 -05:00
state.h
t_list.h
tinydtls.h net: tinydtls: Add missing header files 2016-02-05 20:16:16 -05:00
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