Home
last modified time | relevance | path

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

/linux-6.12.1/net/mac802154/
Dllsec.c714 u32 frame_ctr; in mac802154_llsec_encrypt() local
754 frame_ctr = be32_to_cpu(sec->params.frame_counter); in mac802154_llsec_encrypt()
755 hdr.sec.frame_counter = cpu_to_le32(frame_ctr); in mac802154_llsec_encrypt()
756 if (frame_ctr == 0xFFFFFFFF) { in mac802154_llsec_encrypt()
763 sec->params.frame_counter = cpu_to_be32(frame_ctr + 1); in mac802154_llsec_encrypt()
995 u32 frame_ctr; in mac802154_llsec_decrypt() local
1037 frame_ctr = le32_to_cpu(hdr.sec.frame_counter); in mac802154_llsec_decrypt()
1039 if (frame_ctr == 0xffffffff) { in mac802154_llsec_decrypt()
1044 err = llsec_update_devkey_info(dev, &key_id, frame_ctr); in mac802154_llsec_decrypt()