FailedChanges

Summary

  1. peer.h: include 'dtls_config.h' to have 'DTLS_PEERS_NOHASH' defined (details)
  2. tinydtls.h: include dtls_config.h in tinydtls.h (details)
  3. Makefile.tinydtls: disable ECC and PSK being enabled by default (details)
  4. contiki: work without running configure (details)
  5. contiki: set SHA2_USE_INTTYPES by default (details)
  6. contiki: define BYTE_ORDER according to UIP_BYTE_ORDER (details)
  7. contiki: set HAVE_ASSERT_H by default (details)
Commit 091d1345996b0c653ab1e30473afba3ab6e93716 by Olaf Bergmann
peer.h: include 'dtls_config.h' to have 'DTLS_PEERS_NOHASH' defined

In contiki mode, without this 'peer.c' does not take the configuration into
account and 'dtls.c' and 'peer.c' have a different 'dtls_peer_t' definition.

Change-Id: I084b580bb1173a2bbf7f3a95d65b364b59706094
Signed-off-by: Gaëtan Harter <gaetan.harter@inria.fr>
The file was modifiedpeer.h
Commit c9adbab6550b9cc272ba89b6413f72ac78a334a1 by Olaf Bergmann
tinydtls.h: include dtls_config.h in tinydtls.h

Fixes dtls_config.h not visible in headers
Include dtls_config.h in tinydtls.h and include tinydtls.h in all necessary
headers.

Remaining headers do not use 'ifdef', but they may require it too.

Change-Id: I39c86dffc8bbc8bd7551e74386994f92f49d00ec
Signed-off-by: Gaëtan Harter <gaetan.harter@inria.fr>
The file was modifiedcrypto.c
The file was modifieddtls.h
The file was modifieddtls_debug.c
The file was modifiedtinydtls.h.in
The file was modifieddtls_debug.h
The file was modifiedhmac.c
The file was modifiedccm.c
The file was modifiednetq.c
The file was modifiedsession.c
The file was modifiedsha2/sha2.h
The file was modifiedtests/ccm-test.c
The file was modifiedhmac.h
The file was modifiedcrypto.h
The file was modifieddtls.c
The file was modifiedsha2/sha2.c
The file was modifiedpeer.h
The file was modifieddtls_time.c
Commit 90c9aea771b8fb3ada57d8229d963d1956ea5eb3 by Olaf Bergmann
Makefile.tinydtls: disable ECC and PSK being enabled by default

Still keep ecc.c in the library though.

Change-Id: I4f750839def4465ee0a343d2be5db434ce866969
Signed-off-by: Gaëtan Harter <gaetan.harter@inria.fr>
The file was modifiedMakefile.tinydtls
Commit 080013fd2d70ab9c0b35094dd2afc1cb2747b7a9 by Olaf Bergmann
contiki: work without running configure

When building with contiki, 'CONTIKI' is defined and is used to detect contiki.
Configure options can be configured with:

    DTLS_CONF_ECC, DTLS_CONF_PSK, DTLS_CONF_NDEBUG

All files now include 'tinydtls.h' instead of 'dtls_config.h'.

Change-Id: I9a558a7d6bd777656d7b29028852bfc08911b8b7
Signed-off-by: Gaëtan Harter <gaetan.harter@inria.fr>
The file was removedtinydtls.h.in
The file was modifiedplatform-specific/platform.h
The file was modifiedconfigure.in
The file was addedtinydtls.h
The file was modifieddtls_debug.h
The file was modified.gitignore
The file was modifieddtls_debug.c
Commit d1ea35bfb7d3f7e6451029549e6875c51b735006 by Olaf Bergmann
contiki: set SHA2_USE_INTTYPES by default

Change-Id: If218a4c434663a008721340b8a11107f2e8a8d7d
Signed-off-by: Gaëtan Harter <gaetan.harter@inria.fr>
The file was modifiedMakefile.tinydtls
The file was modifiedplatform-specific/platform.h
Commit aa55f1b106c0aedfdc8564795b876ecc25e6f989 by Olaf Bergmann
contiki: define BYTE_ORDER according to UIP_BYTE_ORDER

Also mimic UIP values for LITTLE_ENDIAN and BIG_ENDIAN.

Signed-off-by: Gaëtan Harter <gaetan.harter@inria.fr>
Change-Id: Ideec80ea365e046eeca5235707653ece6e4775fd
The file was modifiedplatform-specific/config-econotag.h
The file was modifiedMakefile.tinydtls
The file was modifiedplatform-specific/config-cc2538dk.h
The file was modifiedplatform-specific/platform.h
The file was modifiedplatform-specific/config-sky.h
Commit e79636b07c7c753c253ae2167c15dadede025be1 by Olaf Bergmann
contiki: set HAVE_ASSERT_H by default

Remove empty platform configurations.

Change-Id: I66aad9d3c69d1afa854d5747b42afb21d101d6c7
Signed-off-by: Gaëtan Harter <gaetan.harter@inria.fr>
The file was modifiedplatform-specific/config-sky.h
The file was removedplatform-specific/config-econotag.h
The file was modifiedplatform-specific/platform.h
The file was removedplatform-specific/config-cc2538dk.h
The file was removedplatform-specific/config-minimal-net.h
The file was removedplatform-specific/config-wismote.h