Ken Bannister
e96209fddb
net/gcoap: use coap_opt_finish in unit tests
2019-01-27 09:14:46 -05:00
Sebastian Meiling
44234783da
Merge pull request #10823 from kb2ma/nanocoap/verify_before_write_option
...
net/nanocoap: validate option length
2019-01-24 09:23:26 +01:00
Dylan Laduranty
7afacf97e7
tests/*: add saml1*-xpro to BOARD_INSUFFICIENT_MEMORY
2019-01-21 17:11:32 +01:00
Dylan Laduranty
762e5251b4
tests/unittests: disable optimization for test_atomic_inc_rollover
...
Disable optimization for this function only with CPU_SAML1X MCUs due to an internal crosscompiler bug
2019-01-21 17:10:19 +01:00
Ken Bannister
715b79a1e7
tests/nanocoap: build request that fills buffer
2019-01-18 12:34:55 -05:00
9767dd3d49
Merge pull request #10754 from kaspar030/fix_nanocoap_optlen
...
nanocoap: fix server-side option_count overflow
2019-01-14 13:26:37 +01:00
Ken Bannister
1058a8d07e
tests/nanocoap: add test for option parse overflow
2019-01-14 12:30:06 +01:00
dd53bb89f7
tests/unittests/nanocoap: add test case for option_count overflow
2019-01-14 12:30:06 +01:00
Martine Lenders
1d5184a948
tests: move gnrc_rpl_srh unittests to dedicated test application
2019-01-11 15:18:52 +01:00
José Alamos
f14d46d935
Merge pull request #10242 from miri64/gnrc_ipv6_ext_rh/enh/icmpv6_error_msg
...
gnrc_ipv6_ext_rh: add ICMPv6 error message sending
2019-01-03 10:35:54 +01:00
Sebastian Meiling
139b5dba3c
Merge pull request #10501 from kb2ma/gcoap/req_path_null
...
net/gcoap: allow NULL path in gcoap_req_init()
2018-12-21 14:36:04 +01:00
Martine Lenders
be5dd81a79
tests/unittests: adapt rpl_srh tests for API change
2018-12-18 19:46:27 +01:00
1de4ae743a
tests: exclude nrf51dk from big tests
2018-12-04 08:37:00 +01:00
Kevin "Bear Puncher" Weiss
f05852290a
Merge pull request #9236 from bergzand/pr/crypto/poly1305
...
crypto: Poly1305 implementation
2018-12-03 14:31:28 +01:00
Peter Kietzmann
c83493728a
Merge pull request #10435 from leandrolanzieri/pr/boards/sodaq_sara_r410m
...
boards/sodaq-sara-aff: Initial support
2018-12-03 14:11:34 +01:00
Leandro Lanzieri
d53fbb0045
boards/sodaq-sara-aff: Initial support
2018-12-03 10:05:37 +01:00
d5c527161d
test/crypto: Add tests for poly1305
...
Tests are based on the tests vectors provided in RFC 7539
2018-12-03 09:31:10 +01:00
Joakim Nohlgård
36e5b8ef23
usb-kw41z: NXP USB-KW41Z wireless IoT USB dongle
2018-12-01 13:51:55 +01:00
Juan I Carrano
77c9cc4041
Merge pull request #10219 from bergzand/pr/crypt/helper_add_wipe
...
crypto/helper: Add secure wipe function
2018-11-30 11:32:45 +01:00
Martine Lenders
9d6a32b551
gnrc_mac: fix header includes
...
The inclusion of `net/gnrc.h` in `net/gnrc/mac/types.h` header makes it
impossible to include the `net/gnrc/netif.h` header within
`net/gnrc/netif/hdr.h`, due to `net/gnrc/mac/types.h` being included
with `net/gnrc/netif/mac.h` (which is included in `net/gnrc/netif.h`)
2018-11-29 12:39:34 +01:00
Ken Bannister
ffa0c5b03c
tests/gcoap: test NULL path in gcoap_req_init()
2018-11-28 13:26:04 -05:00
f9eebce43f
tests/qdsa: Move from unittests to regular tests
...
Stack size is changed from 4 times the default + printf to 5 times the
default stack size. Only on the lpc2387 this reduces the resulting stack
space. the test is not rerun for the lpc2387 and is untested.
2018-11-28 14:37:37 +01:00
Martine Lenders
85b9be71da
Merge pull request #10188 from smlng/pr/tests/pkg_cn-cbor
...
tests/cn-cbor: move from unittests to regular test
2018-11-27 23:51:11 +01:00
smlng
7b0a7db286
tests/cn-cbor: move from unittests to regular test
...
This moves tests for the cn-cbor package from unittests to a regular
test, which should help to decrease binary size of unittests.
2018-11-27 22:17:05 +01:00
smlng
618fd16699
tests/relic: move from unittests to regular test
...
This moves tests for the relic package from unittests to a regular
test, which should help to decrease binary size of unittests.
2018-11-27 20:41:26 +01:00
Juan I Carrano
050e06f20f
Merge pull request #10376 from cladmi/pr/crypto/ccm/const_input
...
crypto/modes/ccm: update api to const input buffers
2018-11-27 15:33:00 +01:00
Hauke Petersen
b603c298ef
Merge pull request #9156 from kb2ma/gcoap/use_opt_add_api
...
net/gcoap: Use nanocoap pkt/options API
2018-11-26 11:20:27 +01:00
Ken Bannister
424a01ddc1
net/gcoap: remove gcoap attributes from coap_pkt_t
2018-11-24 07:09:25 -05:00
Ken Bannister
f8e5b3dee3
net/gcoap: update tests for nanocoap options API
2018-11-24 07:09:25 -05:00
José Alamos
396f53c2a1
Merge pull request #10300 from miri64/tests/enh/gnrc_rpl_srh_unittests
...
unittests/tests-rpl_srh: various improvements
2018-11-23 13:48:16 +01:00
Martine Lenders
78164977d8
Merge pull request #10223 from kb2ma/nanocoap/string_opt_first_char
...
net/nanocoap: fix string option separator write handling
2018-11-22 16:43:45 +01:00
Ken Bannister
fa77929cc7
net/nanocoap: fix string option separator handling
...
Assumed initial character was a separator when writing the option,
and skipped over it.
2018-11-22 09:25:05 -05:00
Tobias Heider
b4f7259a93
tests: add gnrc_pktbuf_merge() unittests
2018-11-22 11:13:33 +01:00
Martine Lenders
a63dec8074
unittests/gnrc_rpl_srh: make test constructor static
2018-11-20 09:32:32 +01:00
Gaëtan Harter
5c426f0fc9
tests-crypto-modes-ccm: change test inputs to const
...
Do required changes to have test inputs as const buffers.
2018-11-19 16:44:04 +01:00
Gaëtan Harter
3ca51d8b5d
tests-crypto/test-crypto.h: update api to const input buffers
...
Input buffers are not modified, so can be declared const arguments.
This will allow using `const` inputs for `modes/ccm` tests.
2018-11-19 16:44:04 +01:00
Gaëtan Harter
c87fe94ec1
crypto/modes/ccm: update api to const input buffers
...
Input buffers are not modified, so can be declared const arguments.
2018-11-19 16:44:04 +01:00
Martine Lenders
a0067b925d
tests/unittests: provide tests for gnrc_pkt_len_upto()
2018-11-16 15:51:36 +01:00
Gaëtan Harter
147390c209
tests/ccm: add test for auth_data_len upper value
...
Maximal supported value is 0xFEFF.
2018-11-12 16:38:45 +01:00
730286903a
crypto/helper: Add test for crypto_secure_wipe
...
The test added for crypto_secure_wipe wipes a buffer with a secret in
it. Only the last byte is kept as it was. The last byte is used to check
that the function doesn't write outside the supplied buffer.
2018-11-07 18:27:10 +01:00
Emmanuel Baccelli
365d82ed09
Merge pull request #9829 from OTAkeys/pr/uuid_string
...
uuid: add uuid_to_string() and uuid_from_string()
2018-10-30 14:30:47 +01:00
Martine Lenders
17738d7dd4
unittests/tests-rpl_srh: rename to tests-gnrc_rpl_srh
2018-10-30 12:41:45 +01:00
Martine Lenders
fb4689290d
unittests/tests-rpl_srh: add failure tests
2018-10-30 12:41:40 +01:00
Martine Lenders
c7b90aab81
unittests/tests-rpl_srh: factor-out pointer initialization
2018-10-30 12:26:15 +01:00
Martine Lenders
54a8caf0cd
unittests/tests-rpl_srh: reorder stack vars where appropriately
...
Also make constants static const ;-).
2018-10-30 12:16:38 +01:00
Martine Lenders
e56c6188ae
unittests/tests-rpl_srh: move buffers out of function context
...
Things like this already lead to problems in other unittests, so move
them out of the stack.
2018-10-30 12:14:47 +01:00
Martine Lenders
d6ea335bfc
unittests: add tests for gnrc_pktbuf_reverse_snips()
2018-10-25 23:11:33 +02:00
Martine Lenders
959e4491fa
Merge pull request #9702 from maribu/phydat_fit
...
sys/phydat: New phydat_fit API
2018-10-25 19:16:54 +02:00
Martine Lenders
466bc341a6
Merge pull request #10231 from miri64/gnrc_ipv6_ext/enh/move-rh-to-gnrc
...
gnrc_ipv6_ext: move ipv6_ext_rh (partly) to GNRC
2018-10-25 19:15:22 +02:00
Martine Lenders
390ddfba7c
tests/unittests: adapt for value name changes
2018-10-25 14:02:46 +02:00