1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

356 Commits

Author SHA1 Message Date
Mathias Tausig
dfee5c3274 hashes: Unified the cryptographic hash functions
- Same signatures for XXX_init, XXX_update and XXX_final
- Same naming conventions and parameter types for all funtions in sha1.h
2016-05-24 16:52:30 +02:00
Leon M. George
c8985056e9 tests/unittests: cc2650stk insufficient memory 2016-04-18 19:00:50 +02:00
Hauke Petersen
e2fe3cc504 test: added unittests for the SAUL registry 2016-04-15 15:07:49 +02:00
Ludwig Knüpfer
ef25f32536 tests/checksum: fix style in fletcher32 2016-04-08 22:03:48 +02:00
Ludwig Knüpfer
018b3b4660 tests/checksum: fix style in fletcher16 2016-04-08 22:03:48 +02:00
Ludwig Knüpfer
4d9ac9eebd tests/checksum: fix style in crc16-ccitt 2016-04-08 22:03:48 +02:00
Ludwig Knüpfer
889adc18b8 unittests: add fletcher* tests 2016-04-08 22:03:48 +02:00
Hauke Petersen
02df871428 Merge pull request #4949 from jia200x/nucleo-f072
board: added support for nucleo f072
2016-03-31 19:18:28 +02:00
José Ignacio Alamos Aste
cc0e94f9c6 blacklist: nucleo-f072: blacklisted several examples and tests 2016-03-31 19:08:10 +02:00
Cenk Gündoğan
9dbfdcac0b Merge pull request #4279 from BytesGalore/fib_prefix_handling_change
fib: changed handling of the net prefix by the FIB
2016-03-30 11:19:49 +02:00
BytesGalore
1bc9c3bfd2 fib: changed handling of the net prefix
Until now the prefix length has been determined automatically by the FIB
This PR changes it to be provided as msb(yte) in the global_flags of an entry
2016-03-30 10:05:05 +02:00
1bac3f3a2f tests: unittests: adapt tests-core-clist to singly linked clist 2016-03-30 00:27:49 +02:00
Hauke Petersen
0610c20914 tests: added unittests for fmt_s16_[dfp|dec]() 2016-03-29 15:23:04 +02:00
Cenk Gündoğan
37c2dc961c tests-ipv6_nc: init interfaces for all unittests 2016-03-24 16:13:21 +01:00
Oleg Hahm
991c71cf27 gnrc ipv6: use ipv6_addr_t ptr for hdr_build 2016-03-23 15:20:12 +01:00
Oleg Hahm
360413a033 gnrc ipv6 hdr: remove len params from hdr_build 2016-03-23 15:20:11 +01:00
DipSwitch
0bb4748a94 core: Fix/refactor function naming in core/incude/irq.h 2016-03-20 16:47:34 +01:00
Cenk Gündoğan
a2979cdeb4 unittests/tests-ipv6_nc: add tear_down 2016-03-16 13:51:23 +01:00
Martine Lenders
0a3b56e0b4 Merge pull request #5006 from immesys/fix-rtr-adv
ndp: change rtr adv src to link local
2016-03-16 12:42:12 +01:00
Simon Brummer
1af9612b34 sys/color: added RGB inversion and complementary color 2016-03-16 11:43:26 +01:00
Oleg Hahm
bdcf8879fd core: merged kernel_macros.h and attributes.h
Merged into new kernel_defines.h and updated all includes.
2016-03-09 22:29:06 +01:00
Michael Andersen
60f6aeaf70 ndp: change rtr adv src to link local 2016-03-08 21:33:35 -08:00
Martine Lenders
32e0c7ae66 Merge pull request #4636 from authmillenon/ieee802154/enh/general-hdr
ieee802154: provide general header build and read functions
2016-03-07 21:02:52 +01:00
Martine Lenders
ab0505dfff tests: provide unittests for ieee802154 module 2016-03-07 16:40:30 +01:00
Martine Lenders
cba05cc028 Merge pull request #4873 from Yonezawa-T2/zero_udp_checksum
udp: fixed a corner case for checksum computation.
2016-03-07 09:21:24 +01:00
Martine Lenders
9201063bd1 Merge pull request #3307 from OlegHahm/sixlowpan-tests_0
unittests: initial import of 6LoWPAN tests
2016-03-07 09:16:05 +01:00
Oleg Hahm
e0c38f9899 unittests: initial import of 6LoWPAN tests 2016-03-06 21:00:24 +01:00
Martine Lenders
cf9bef8f16 Merge pull request #4965 from kaspar030/add_testrunner
tests: add shared pexpect test code
2016-03-05 23:59:29 +01:00
test
a9ef72ff02 tests: make use of testrunner 2016-03-05 20:36:28 +01:00
2b010b5337 core: rename tcb_t -> thread_t, move into thread.h 2016-03-05 18:20:17 +01:00
Joakim Nohlgård
3af809bdfc Merge pull request #4910 from kaspar030/core_header_cleanup
core: header cleanup
2016-02-29 22:48:35 +01:00
9082273746 core: header cleanup 2016-02-28 22:46:28 +01:00
Cenk Gündoğan
170acbc4f6 rpl: srh: add unittests 2016-02-27 20:40:06 +01:00
BytesGalore
f0245bd648 hashes/sha256: add sha256-chain computation and verification functions
* also added unittetst for it

x[SQUASH ME] separated out all waypoints test and increased waypoints
2016-02-24 19:04:17 +01:00
Oleg Hahm
dd15430fce Merge pull request #4856 from BytesGalore/sha256_separate_unittests
unittests/sha256: separated tests to prevent stack corruption on boards
2016-02-24 16:55:17 +01:00
BytesGalore
8a0016a928 unittests/sha256: separated tests to prevent stack corruption on borards 2016-02-24 14:07:49 +01:00
Oleg Hahm
e0732a5a81 Merge pull request #4701 from OlegHahm/sha1
hashes: Import of SHA-1 algorithm
2016-02-23 12:23:21 +01:00
Oleg Hahm
20567d46dc tests: added unittests for SHA-1 2016-02-23 12:09:37 +01:00
Yonezawa-T2
e92c355aba udp: fixed a corner case for checksum computation.
Fixes #4842.

RFC 2460 section 8.1 (https://tools.ietf.org/html/rfc2460#section-8.1)
states:
> if that computation yields a result of zero, it must be changed to hex
> FFFF for placement in the UDP header.
2016-02-22 20:30:31 +09:00
Cenk Gündoğan
f26ea2028c unittests: added some unittests for the color module 2016-02-21 20:18:25 +01:00
Ludwig Knüpfer
1fedd456ce Revert "crc: rename checksum to CRC"
This reverts commit 3f645884a4.
2016-02-15 09:28:57 +01:00
Joakim Nohlgård
686cad8170 tests/unittests/tests-cbor: Add static to compilation-unit local variables 2016-02-11 15:19:56 +01:00
BytesGalore
b1537bc17c hashes/sha256: initial commit for hmac-sha256 computation 2016-02-06 08:11:37 +01:00
Oleg Hahm
3f645884a4 crc: rename checksum to CRC 2016-02-04 14:58:34 +01:00
Oleg Hahm
51db509f7c sha256: move from crypto to hashes 2016-02-04 14:58:34 +01:00
Cenk Gündoğan
e0bf46ce60 unittests: nc: test reachability of unmanaged entries 2016-01-30 15:27:08 +01:00
Ludwig Knüpfer
1df395f364 Merge pull request #4647 from LudwigKnuepfer/pr/sys-checksum
sys/checksum: initial import including CRC16-CCITT
2016-01-28 18:11:35 +01:00
Oleg Hahm
a57e77e46a sys: remove hash_string module
hash_string implements djb2 which is already part of `sys/hashes/`
2016-01-28 14:20:54 +01:00
Martine Lenders
03081216f3 Merge pull request #4692 from authmillenon/unittests/fix/python3
unittests: fix for python3
2016-01-27 23:32:37 +01:00
Ludwig Knüpfer
edbfdeb02e tests/unittests: add checksum test 2016-01-27 19:28:05 +01:00