Microchip® Advanced Software Framework

nwkSecurity.h File Reference

Network layer security interface.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

#include <stdint.h>
#include <stdbool.h>
#include "sysConfig.h"

Macros

#define NWK_SECURITY_BLOCK_SIZE   16
 
#define NWK_SECURITY_KEY_SIZE   16
 
#define NWK_SECURITY_MIC_SIZE   4
 

Functions

void NWK_SetSecurityKey (uint8_t *key)
 
void nwkSecurityInit (void)
 Initializes the Security module. More...
 
void nwkSecurityProcess (NwkFrame_t *frame, bool encrypt)
 
void nwkSecurityTaskHandler (void)
 Security Module task handler. More...
 

#define NWK_SECURITY_BLOCK_SIZE   16

Referenced by SYS_EncryptConf().

#define NWK_SECURITY_KEY_SIZE   16

Referenced by NWK_SetSecurityKey().

#define NWK_SECURITY_MIC_SIZE   4

void NWK_SetSecurityKey ( uint8_t *  key)

References NwkIb_t::key, NWK_SECURITY_KEY_SIZE, and nwkIb.

Referenced by appInit().

void nwkSecurityInit ( void  )

Initializes the Security module.

References nwkSecurityActiveFrames.

Referenced by NWK_Init().