Lines Matching refs:payload_len
103 uint8_t payload_len, uint8_t authtag_len, in prepare_cipher_aead_pkt() argument
115 pkt->in_buf = is_encrypted && payload_len ? frame + ll_hdr_len : NULL; in prepare_cipher_aead_pkt()
116 pkt->in_len = is_encrypted ? payload_len : 0; in prepare_cipher_aead_pkt()
119 uint8_t out_buf_offset = is_encrypted ? ll_hdr_len : ll_hdr_len + payload_len; in prepare_cipher_aead_pkt()
123 pkt->out_buf_max = (is_encrypted ? payload_len : 0) + authtag_len; in prepare_cipher_aead_pkt()
127 apkt->tag = is_authenticated ? frame + ll_hdr_len + payload_len : NULL; in prepare_cipher_aead_pkt()
132 uint8_t ll_hdr_len, uint8_t payload_len, uint8_t authtag_len, in ieee802154_decrypt_auth() argument
152 prepare_cipher_aead_pkt(frame, level, ll_hdr_len, payload_len, authtag_len, &apkt, &pkt); in ieee802154_decrypt_auth()
157 payload_len, frame_counter); in ieee802154_decrypt_auth()
165 uint8_t ll_hdr_len, uint8_t payload_len, uint8_t authtag_len, in ieee802154_encrypt_auth() argument
195 prepare_cipher_aead_pkt(frame, level, ll_hdr_len, payload_len, authtag_len, &apkt, &pkt); in ieee802154_encrypt_auth()
200 payload_len, sec_ctx->frame_counter); in ieee802154_encrypt_auth()