This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Wireshark sniffer "Decrypt failed" with LLSEC

Hello!

I have several nodes (with Contiki), 6lbr and sniffer (from github.com/.../sensniff). Everything works well, but if I enable LLSEC - the sniffer can't decrypt packets. Nodes and 6lbr with LLSEC work well.

Node config (from project-conf.h):

#undef LLSEC802154_CONF_ENABLED
#define LLSEC802154_CONF_ENABLED 1
#undef NETSTACK_CONF_FRAMER
#define NETSTACK_CONF_FRAMER noncoresec_framer
#undef NETSTACK_CONF_LLSEC
#define NETSTACK_CONF_LLSEC noncoresec_driver
#undef NONCORESEC_CONF_SEC_LVL
#define NONCORESEC_CONF_SEC_LVL 6
#define NONCORESEC_CONF_KEY { 0x00 , 0x01 , 0x02 , 0x03 , \
0x04 , 0x05 , 0x06 , 0x07 , \
0x08 , 0x09 , 0x0A , 0x0B , \
0x0C , 0x0D , 0x0E , 0x0F }

6lbr config (from nvm.dat):

Security layer : 1
Security level : 6
Security key : 0:1:2:3:4:5:6:7:8:9:a:b:c:d:e:f

Wireshark config:

Wireshark result: