llsec: Noncompromise-resilient 802.15.4 security

This commit is contained in:
kkrentz 2014-02-03 15:25:30 -08:00
parent d8851df858
commit c032b67969
4 changed files with 283 additions and 1 deletions

View file

@ -64,8 +64,15 @@
typedef union {
unsigned char u8[LINKADDR_SIZE];
#if LINKADDR_SIZE == 2
uint16_t u16;
#endif /* LINKADDR_SIZE == 2 */
} linkaddr_t;
typedef union {
uint8_t u8[8];
uint16_t u16[4];
} linkaddr_extended_t;
/**
* \brief Copy a Rime address