Searched refs:aux_sec (Results 1 – 2 of 2) sorted by relevance
437 mpdu->mhr.aux_sec = ieee802154_validate_aux_security_hdr(p_buf, &p_buf, &length); in ieee802154_validate_frame()438 if (!mpdu->mhr.aux_sec) { in ieee802154_validate_frame()646 struct ieee802154_aux_security_hdr *aux_sec; in generate_aux_security_hdr() local657 aux_sec = (struct ieee802154_aux_security_hdr *)p_buf; in generate_aux_security_hdr()659 aux_sec->control.security_level = sec_ctx->level; in generate_aux_security_hdr()660 aux_sec->control.key_id_mode = sec_ctx->key_mode; in generate_aux_security_hdr()661 aux_sec->control.reserved = 0U; in generate_aux_security_hdr()663 aux_sec->frame_counter = sys_cpu_to_le32(sec_ctx->frame_counter); in generate_aux_security_hdr()951 if (mpdu->mhr.aux_sec->control.security_level != level) { in ieee802154_decipher_data_frame()976 sys_le32_to_cpu(mpdu->mhr.aux_sec->frame_counter))) { in ieee802154_decipher_data_frame()
217 struct ieee802154_aux_security_hdr *aux_sec; member