Commit graph

11587 commits

Author SHA1 Message Date
Enrico Joerns d4e36dcd47 [cooja] logging: default logging level should not be highest 2014-08-05 18:22:34 +02:00
kkrentz 94d2b519e4 aducrf101mkxz: added llsec module 2014-08-05 09:15:40 -07:00
Enrico Joerns f5531dfa74 [cooja] ContikiMoteType: Fix mapfile variable size parsing
For some longer variable names the lines are wrapped after the name
to display size information vertical aligned.
2014-08-05 17:25:38 +02:00
Adam Dunkels 24ba4a4dc3 Added a simple regression test that uses the tests in examples/llsec/ccm-tests 2014-08-05 05:07:06 -07:00
kkrentz 677c078302 sicslowpan: Fixed too aggresive fragmentation 2014-08-05 05:07:06 -07:00
kkrentz 2cf7d98cad ContikiMAC: Create and parse ContikiMAC header in special framer; Expanded framer interface
to allow for creating and securing frames in advance; Create and secure frames in advance when sending bursts; Do neither recreate nor resecure frames that come from phase
2014-08-05 05:07:06 -07:00
kkrentz c15a05aee1 Sky: Use the cc2420_aes_128_driver by default 2014-08-05 05:07:06 -07:00
kkrentz f513ef9ef0 CC2420: Added RSSI_OFFSET as described in the manual 2014-08-05 05:07:06 -07:00
kkrentz 75d2914aaf CC2420: Added GET_LOCK/RELEASE_LOCK to set_key & encrypt 2014-08-05 05:07:06 -07:00
kkrentz c6a98f2968 CC2420: Turned SPI macros to functions and removed redundant AES API 2014-08-05 05:07:06 -07:00
kkrentz 6486c51692 CC2420: Hardware-accelerated aes_128_driver 2014-08-05 05:07:06 -07:00
kkrentz 2bac58f7b6 CC2420: Reusing getrxdata instead of getrxbyte. 2014-08-05 05:07:06 -07:00
kkrentz e977da8fe2 CC2420: Eliminated duplicated code in cc2420_read 2014-08-05 05:07:05 -07:00
kkrentz e3eb924f13 CC2420: Removed unused variables 2014-08-05 05:07:05 -07:00
kkrentz 1cb60b27de CC2420: Removed commented code 2014-08-05 05:07:05 -07:00
kkrentz b53e35b2a0 CC2420: The crystal oscillator only needs to stabilize at startup 2014-08-05 05:07:05 -07:00
kkrentz 06d3225aa7 CC2420: CC2420_WRITE_RAM with parameterizable ordering + resulting
simplifications
2014-08-05 05:07:05 -07:00
kkrentz b89d37d301 CC2420: Macros as functions for saving program memory 2014-08-05 05:07:05 -07:00
kkrentz 9e266acd9c CC2420: Doing CRC in hardware all the time 2014-08-05 05:07:05 -07:00
kkrentz 515287ef17 llsec: Removed superseded NETSTACK_ENCRYPT, NETSTACK_DECRYPT, and
NETSTACK_ENCRYPTION_INIT macros
2014-08-05 05:07:05 -07:00
kkrentz c032b67969 llsec: Noncompromise-resilient 802.15.4 security 2014-08-05 05:07:05 -07:00
kkrentz d8851df858 llsec: Replay protection 2014-08-05 05:07:05 -07:00
kkrentz 41c5dbf961 llsec: Disable duplicate detection when the LLSEC driver provides replay protection anyway. 2014-08-05 05:07:05 -07:00
kkrentz 2687c345cf llsec: CCM* encryption tests 2014-08-05 05:07:05 -07:00
kkrentz 5e6cf8da36 llsec: CCM* verification tests 2014-08-05 05:07:05 -07:00
kkrentz d161ffcb64 llsec: Allow for sharing CCM* 2014-08-05 05:07:05 -07:00
kkrentz 13d9510715 llsec: Allow for sharing AES-128 2014-08-05 05:07:04 -07:00
kkrentz 07ef46a6e2 llsec: Allow for sharing endianness functions 2014-08-05 05:04:15 -07:00
kkrentz eaae9f1100 llsec: Calling NETSTACK_LLSEC.on_frame_created() 2014-08-05 05:04:15 -07:00
kkrentz 8659c97fb0 framer-802154: Support for explicit keys 2014-08-05 05:04:15 -07:00
kkrentz 124dde25f3 framer-802154: Conditional compilation of security-related code 2014-08-05 05:04:14 -07:00
kkrentz fb6d2270ab framer-802154: Simplification of frame802154_create 2014-08-05 05:04:14 -07:00
kkrentz 11495a011c framer-802154: Renamed variable for the sake of consistency 2014-08-05 05:04:14 -07:00
kkrentz 1d324e50d2 framer-802154: Sequence number fix 2014-08-05 05:04:14 -07:00
kkrentz 9dc9e4bd9f framer-802154: Support for setting and accessing the frame type
attribute
2014-08-05 05:04:14 -07:00
kkrentz 19c9ef0a95 framer-802154: Support for creating and parsing frames with security headers 2014-08-05 05:04:14 -07:00
kkrentz be22883724 framer-802154: Introduced mnemonic variable 2014-08-05 05:04:14 -07:00
kkrentz c9ad9c04bd framer-802154: Style fixes 2014-08-04 01:09:57 -07:00
kkrentz a5a9b42457 packetbuf: Made packetbuf_hdrlen applicable to inbound packets, too 2014-08-04 01:09:57 -07:00
kkrentz 7943751b16 Sky: DEBUG on/off switch 2014-08-04 01:09:57 -07:00
kkrentz c7b394c51b Sky: Calling NETSTACK_LLSEC.bootstrap from contiki-sky-main.c 2014-08-04 01:09:57 -07:00
kkrentz bb74fc320f llsec: Configuration option for defining a constant LoWPAN-wide security level 2014-08-04 01:09:57 -07:00
kkrentz c396a85364 llsec: Added a layer in between NETSTACK_MAC and NETSTACK_NETWORK for implementing link layer security 2014-08-04 01:09:57 -07:00
kkrentz 4493783ce9 'free_packet' in csma.c conflicted with 'free_packet' in maca.c 2014-08-04 01:09:57 -07:00
Fredrik Österlind 648d3576a0 Merge pull request #760 from ejoerns/pull-req/cooja-multi-mote-vis
[Cooja] (Multi-)Mote visualization updates
2014-08-01 10:16:27 +02:00
Enrico Joerns defcd1a34c [cooja] ContikiMoteType: Moved further parse functions to SectionParser classes 2014-07-31 21:53:35 +02:00
Enrico Joerns 66d4dad1e1 [cooja] Removed offset from SectionMoteMemory to make it more generic 2014-07-31 21:53:35 +02:00
Enrico Joerns c5ff3555a0 [cooja] ContikiMoteType: Introduce abstract SectionParser
Should encapsulate and decrease both redundancy and code duplication
2014-07-31 21:53:10 +02:00
Enrico Joerns f4979ffeeb [cooja] memory: SectionMoteMemory implementation of MemoryInterface functions
as forwarding to encapsulated memory sections

Requires to make use of Symbol class for cooja motes, too
2014-07-31 21:20:09 +02:00
Enrico Joerns 070e0ba0fc [cooja] memory: Implementation of simple array-backed memory class 'ArrayMamory' 2014-07-31 21:20:09 +02:00