Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/esptool_py/esptool/esptool/
Dbin_image.py689 pad_len = (self.IROM_ALIGN - (f.tell() % self.IROM_ALIGN)) + align_past
690 if pad_len == 0 or pad_len == self.IROM_ALIGN:
695 pad_len -= self.SEG_HEADER_LEN
696 if pad_len < 0:
697 pad_len += self.IROM_ALIGN
698 return pad_len
704 pad_len = get_alignment_data_needed(segment)
705 if pad_len > 0: # need to pad
706 if len(ram_segments) > 0 and pad_len > self.SEG_HEADER_LEN:
707 pad_segment = ram_segments[0].split_image(pad_len)
[all …]
/hal_espressif-3.6.0/components/wpa_supplicant/src/wps/
Dwps_attr_build.c339 size_t pad_len; in wps_build_encr_settings() local
346 pad_len = block_size - wpabuf_len(plain) % block_size; in wps_build_encr_settings()
347 os_memset(wpabuf_put(plain, pad_len), pad_len, pad_len); in wps_build_encr_settings()
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/avdt/
Davdt_scb_act.c254 UINT8 pad_len = 0; in avdt_scb_hdl_pkt_no_frag() local
283 pad_len = *(p_start + p_data->p_pkt->len); in avdt_scb_hdl_pkt_no_frag()
287 if ((offset > p_data->p_pkt->len) || ((pad_len + offset) > p_data->p_pkt->len)) { in avdt_scb_hdl_pkt_no_frag()
294 p_data->p_pkt->len -= (offset + pad_len); in avdt_scb_hdl_pkt_no_frag()
420 UINT8 pad_len; in avdt_scb_hdl_pkt_frag() local
585 pad_len = *(p_scb->p_media_buf + p_scb->frag_off - 1); in avdt_scb_hdl_pkt_frag()
587 pad_len = 0; in avdt_scb_hdl_pkt_frag()
590 payload_len = (UINT32)(p_scb->p_media_buf + p_scb->frag_off - pad_len - p_payload); in avdt_scb_hdl_pkt_frag()
/hal_espressif-3.6.0/components/wpa_supplicant/src/ap/
Dwpa_auth.c968 int key_data_len, pad_len = 0; in __wpa_send_eapol() local
1002 pad_len = key_data_len % 8; in __wpa_send_eapol()
1003 if (pad_len) in __wpa_send_eapol()
1004 pad_len = 8 - pad_len; in __wpa_send_eapol()
1005 key_data_len += pad_len + 8; in __wpa_send_eapol()
1063 if (pad_len) in __wpa_send_eapol()