Commit Graph

3 Commits

Author SHA1 Message Date
Jon Shallow
f06e787335 compile warnings: Include WARNING_CFLAGS in all Makefile.in
Fix all the compile warnings generated following adding WARNING_CFLAGS
to all the Makefile.in files.

Fix tests/unit-tests/testdriver failures caused by dtls_prng() return value.

Signed-off-by: Jon Shallow <supjps-libcoap@jpshallow.com>
2021-06-01 20:08:13 +01:00
Olaf Bergmann
7ade8009ec test_ccm.c: Unit tests for dtls_encrypt/decrypt
Change-Id: Ibfd33ec66c67cb2a0411b0d6396ce5e6f617f70b
2020-06-10 12:40:46 +02:00
Olaf Bergmann
ad4c6114be Unit tests for CCM
Add a subdirectory tests/unit-tests for unit tests based on cunit.
The unit tests are run by invoking the executable testdriver or
make check.

Initial unit tests with test vectors for CCM from RFC 3610 are
provided.

Change-Id: I3e8eb0e147ff357f54830e15cfe0346f83a5d28b
2020-06-02 09:52:23 +02:00