Home
last modified time | relevance | path

Searched refs:frame_ctr (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/net/mac802154/
Dllsec.c706 u32 frame_ctr; in mac802154_llsec_encrypt() local
743 frame_ctr = be32_to_cpu(sec->params.frame_counter); in mac802154_llsec_encrypt()
744 hdr.sec.frame_counter = cpu_to_le32(frame_ctr); in mac802154_llsec_encrypt()
745 if (frame_ctr == 0xFFFFFFFF) { in mac802154_llsec_encrypt()
752 sec->params.frame_counter = cpu_to_be32(frame_ctr + 1); in mac802154_llsec_encrypt()
984 u32 frame_ctr; in mac802154_llsec_decrypt() local
1026 frame_ctr = le32_to_cpu(hdr.sec.frame_counter); in mac802154_llsec_decrypt()
1028 if (frame_ctr == 0xffffffff) { in mac802154_llsec_decrypt()
1033 err = llsec_update_devkey_info(dev, &key_id, frame_ctr); in mac802154_llsec_decrypt()