Contiki-NG
Functions
tsch-security.h File Reference

TSCH security. More...

#include "contiki.h"
#include "net/mac/framer/frame802154.h"
#include "net/mac/framer/frame802154e-ie.h"
#include "net/mac/llsec802154.h"

Go to the source code of this file.

Functions

unsigned int tsch_security_mic_len (const frame802154_t *frame)
 Return MIC length. More...
 
unsigned int tsch_security_secure_frame (uint8_t *hdr, uint8_t *outbuf, int hdrlen, int datalen, struct tsch_asn_t *asn)
 Protect a frame with encryption and/or MIC. More...
 
unsigned int tsch_security_parse_frame (const uint8_t *hdr, int hdrlen, int datalen, const frame802154_t *frame, const linkaddr_t *sender, struct tsch_asn_t *asn)
 Parse and check a frame protected with encryption and/or MIC. More...
 
void tsch_security_set_packetbuf_attr (uint8_t frame_type)
 Set packetbuf (or eackbuf) attributes depending on a given frame type. More...
 

Detailed Description

TSCH security.

Definition in file tsch-security.h.