Lines Matching refs:frame_counter
92 sec->params.frame_counter = params->frame_counter; in mac802154_llsec_set_params()
600 __be32 frame_counter = (__force __be32) swab32((__force u32) sec->frame_counter); in llsec_geniv() local
604 memcpy(iv + 9, &frame_counter, sizeof(frame_counter)); in llsec_geniv()
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()
752 sec->params.frame_counter = cpu_to_be32(frame_ctr + 1); in mac802154_llsec_encrypt()
940 u32 frame_counter) in llsec_update_devkey_info() argument
959 if ((!devkey && frame_counter < dev->dev.frame_counter) || in llsec_update_devkey_info()
960 (devkey && frame_counter < devkey->devkey.frame_counter)) { in llsec_update_devkey_info()
966 devkey->devkey.frame_counter = frame_counter + 1; in llsec_update_devkey_info()
968 dev->dev.frame_counter = frame_counter + 1; in llsec_update_devkey_info()
1026 frame_ctr = le32_to_cpu(hdr.sec.frame_counter); in mac802154_llsec_decrypt()