Home
last modified time | relevance | path

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

/hal_espressif-2.7.6/tools/esp_app_trace/test/sysview/
Dexpected_output_mcore1 EVENT[0]: 0.000000000 - core[0].svTraceStart(10), plen 0: []
2 EVENT[1]: 0.000006400 - core[0].svInit(24), plen 14: [sys_freq: 40000000, cpu_freq: 160000000, ram_…
3 EVENT[2]: 0.000019525 - core[0].svSysDesc(14), plen 0: [desc: N=FreeRTOS Application,D=esp32,C=Xten…
4 EVENT[3]: 0.000070625 - core[0].svSysDesc(14), plen 0: [desc: I#5=SysTick]
5 EVENT[4]: 0.000159600 - core[0].svSysDesc(14), plen 0: [desc: I#6=WIFI_MAC]
6 EVENT[5]: 0.000184950 - core[0].svSysDesc(14), plen 0: [desc: I#7=WIFI_NMI]
7 EVENT[6]: 0.000206050 - core[0].svSysDesc(14), plen 0: [desc: I#8=WIFI_BB]
8 EVENT[7]: 0.000222950 - core[0].svSysDesc(14), plen 0: [desc: I#9=BT_MAC]
9 EVENT[8]: 0.000261900 - core[0].svSysDesc(14), plen 0: [desc: I#10=BT_BB]
10 EVENT[9]: 0.000285625 - core[0].svSysDesc(14), plen 0: [desc: I#11=BT_BB_NMI]
[all …]
Dexpected_output1 EVENT[0]: 0.000000000 - core[0].svTraceStart(10), plen 0: []
2 EVENT[1]: 0.000000000 - core[1].svTraceStart(10), plen 0: []
3 EVENT[2]: 0.000010950 - core[0].svInit(24), plen 14: [sys_freq: 40000000, cpu_freq: 160000000, ram_…
4 EVENT[3]: 0.000010950 - core[1].svInit(24), plen 14: [sys_freq: 40000000, cpu_freq: 160000000, ram_…
5 EVENT[4]: 0.000024800 - core[0].svSysDesc(14), plen 0: [desc: N=FreeRTOS Application,D=ESP32,C=Xten…
6 EVENT[5]: 0.000024800 - core[1].svSysDesc(14), plen 0: [desc: N=FreeRTOS Application,D=ESP32,C=Xten…
7 EVENT[6]: 0.000051650 - core[0].svSysDesc(14), plen 0: [desc: I#5=SysTick]
8 EVENT[7]: 0.000051650 - core[1].svSysDesc(14), plen 0: [desc: I#5=SysTick]
9 EVENT[8]: 0.000104150 - core[0].svSysDesc(14), plen 0: [desc: I#6=WIFI_MAC]
10 EVENT[9]: 0.000104150 - core[1].svSysDesc(14), plen 0: [desc: I#6=WIFI_MAC]
[all …]
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_common/tinycrypt/src/
Dccm_mode.c140 unsigned int plen, TCCcmMode_t c) in tc_ccm_generation_encryption() argument
146 ((plen > 0) && (payload == (uint8_t *) 0)) || in tc_ccm_generation_encryption()
149 (plen >= TC_CCM_PAYLOAD_MAX_BYTES) || /* payload size unsupported */ in tc_ccm_generation_encryption()
150 (olen < (plen + c->mlen))) { /* invalid output buffer size */ in tc_ccm_generation_encryption()
165 b[14] = (uint8_t)(plen >> 8); in tc_ccm_generation_encryption()
166 b[15] = (uint8_t)(plen); in tc_ccm_generation_encryption()
173 if (plen > 0) { in tc_ccm_generation_encryption()
174 ccm_cbc_mac(tag, payload, plen, 0, c->sched); in tc_ccm_generation_encryption()
184 ccm_ctr_mode(out, plen, payload, plen, b, c->sched); in tc_ccm_generation_encryption()
190 out += plen; in tc_ccm_generation_encryption()
[all …]
Dhmac_prng.c136 unsigned int plen) in tc_hmac_prng_init() argument
142 plen > MAX_PLEN) { in tc_hmac_prng_init()
150 update(prng, personalization, plen, 0, 0); in tc_hmac_prng_init()
/hal_espressif-2.7.6/components/wpa_supplicant/src/tls/
Dtlsv1_record.c360 size_t plen; in tlsv1_record_receive() local
367 plen = in_len; in tlsv1_record_receive()
369 "data", out_data, plen); in tlsv1_record_receive()
385 if (plen < rl->iv_size) { in tlsv1_record_receive()
392 plen - rl->iv_size); in tlsv1_record_receive()
393 plen -= rl->iv_size; in tlsv1_record_receive()
397 if (plen == 0) { in tlsv1_record_receive()
403 padlen = out_data[plen - 1]; in tlsv1_record_receive()
404 if (padlen >= plen) { in tlsv1_record_receive()
408 padlen, (unsigned long) plen); in tlsv1_record_receive()
[all …]
Dtlsv1_cred.c86 size_t i, plen; in search_tag() local
88 plen = os_strlen(tag); in search_tag()
89 if (len < plen) in search_tag()
92 for (i = 0; i < len - plen; i++) { in search_tag()
93 if (os_memcmp(buf + i, tag, plen) == 0) in search_tag()
Dx509v3.c586 size_t plen; in x509_parse_validity() local
609 plen = hdr.length; in x509_parse_validity()
611 if (pos + plen > buf + len) in x509_parse_validity()
614 *next = pos + plen; in x509_parse_validity()
616 if (asn1_get_next(pos, plen, &hdr) < 0 || in x509_parse_validity()
626 plen = *next - pos; in x509_parse_validity()
628 if (asn1_get_next(pos, plen, &hdr) < 0 || in x509_parse_validity()
/hal_espressif-2.7.6/components/wpa_supplicant/src/crypto/
Dccmp.c187 size_t aad_len, plen; in ccmp_encrypt() local
193 plen = len - hdrlen; in ccmp_encrypt()
195 crypt = os_malloc(hdrlen + 8 + plen + 8 + AES_BLOCK_SIZE); in ccmp_encrypt()
217 if (aes_ccm_ae(tk, 16, nonce, 8, frame + hdrlen, plen, aad, aad_len, in ccmp_encrypt()
218 pos, pos + plen) < 0) { in ccmp_encrypt()
223 wpa_hexdump(MSG_DEBUG, "CCMP encrypted", crypt + hdrlen + 8, plen); in ccmp_encrypt()
225 *encrypted_len = hdrlen + 8 + plen + 8; in ccmp_encrypt()
237 size_t aad_len, plen; in ccmp_encrypt_pv1() local
243 plen = len - hdrlen; in ccmp_encrypt_pv1()
245 crypt = os_malloc(hdrlen + plen + 8 + AES_BLOCK_SIZE); in ccmp_encrypt_pv1()
[all …]
Dsha256-prf.c59 size_t pos, plen; in sha256_prf_bits() local
78 plen = buf_len - pos; in sha256_prf_bits()
80 if (plen >= SHA256_MAC_LEN) { in sha256_prf_bits()
89 os_memcpy(&buf[pos], hash, plen); in sha256_prf_bits()
90 pos += plen; in sha256_prf_bits()
Dsha1-pbkdf2.c139 size_t left = buflen, plen; in pbkdf2_sha1() local
147 plen = left > SHA1_MAC_LEN ? SHA1_MAC_LEN : left; in pbkdf2_sha1()
148 os_memcpy(pos, digest, plen); in pbkdf2_sha1()
149 pos += plen; in pbkdf2_sha1()
150 left -= plen; in pbkdf2_sha1()
Dsha1.c133 size_t pos, plen; in sha1_prf() local
148 plen = buf_len - pos; in sha1_prf()
149 if (plen >= SHA1_MAC_LEN) { in sha1_prf()
158 os_memcpy(&buf[pos], hash, plen); in sha1_prf()
/hal_espressif-2.7.6/components/wpa_supplicant/src/eap_peer/
Deap_peap_common.c23 size_t pos, plen; in peap_prfplus() local
74 plen = buf_len - pos; in peap_prfplus()
77 if (plen >= SHA1_MAC_LEN) { in peap_prfplus()
81 os_memcpy(&buf[pos], hash, plen); in peap_prfplus()
Deap_common.c67 const struct wpabuf *msg, size_t *plen) in eap_hdr_validate() argument
99 *plen = len - sizeof(*hdr) - 8; in eap_hdr_validate()
106 *plen = len - sizeof(*hdr) - 1; in eap_hdr_validate()
Deap_common.h16 const struct wpabuf *msg, size_t *plen);
/hal_espressif-2.7.6/components/console/linenoise/
Dlinenoise.c141 size_t plen; /* Prompt length. */ member
184 (int)l->len,(int)l->pos,(int)l->oldpos,plen,rows,rpos, \
425 void refreshShowHints(struct abuf *ab, struct linenoiseState *l, int plen) { in refreshShowHints() argument
427 if (hintsCallback && plen+l->len < l->cols) { in refreshShowHints()
432 int hintmaxlen = l->cols-(plen+l->len); in refreshShowHints()
453 size_t plen = l->plen; in refreshSingleLine() local
460 while((plen+pos) >= l->cols) { in refreshSingleLine()
465 while (plen+len > l->cols) { in refreshSingleLine()
477 refreshShowHints(&ab,l,plen); in refreshSingleLine()
482 snprintf(seq,64,"\r\x1b[%dC", (int)(pos+plen)); in refreshSingleLine()
[all …]
/hal_espressif-2.7.6/components/bootloader_support/src/secure_boot_v1/
Dsecure_boot_signatures_app.c114 size_t plen = mbedtls_mpi_size(&ecdsa_context.grp.P); in esp_secure_boot_verify_ecdsa_signature_block()
115 if (keylen != 2 * plen) { in esp_secure_boot_verify_ecdsa_signature_block()
122 …EDTLS_MPI_CHK(mbedtls_mpi_read_binary(&ecdsa_context.Q.X, signature_verification_key_start, plen)); in esp_secure_boot_verify_ecdsa_signature_block()
123 …PI_CHK(mbedtls_mpi_read_binary(&ecdsa_context.Q.Y, signature_verification_key_start + plen, plen)); in esp_secure_boot_verify_ecdsa_signature_block()
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_common/tinycrypt/include/tinycrypt/
Dccm_mode.h159 unsigned int plen, TCCcmMode_t c);
204 unsigned int alen, const uint8_t *payload, unsigned int plen,
Dhmac_prng.h117 unsigned int plen);
/hal_espressif-2.7.6/components/spiffs/
Desp_spiffs.c663 size_t plen; in vfs_spiffs_readdir_r() local
675 plen = strlen(dir->path); in vfs_spiffs_readdir_r()
677 …} while ((plen > 1) && (strncasecmp(dir->path, (const char*)out.name, plen) || out.name[plen] != '… in vfs_spiffs_readdir_r()
679 if (plen > 1) { in vfs_spiffs_readdir_r()
680 item_name += plen + 1; in vfs_spiffs_readdir_r()
721 size_t plen = strlen(dir->path); in vfs_spiffs_seekdir() local
722 if (plen > 1) { in vfs_spiffs_seekdir()
723 …if (strncasecmp(dir->path, (const char *)tmp.name, plen) || tmp.name[plen] != '/' || !tmp.name[ple… in vfs_spiffs_seekdir()
/hal_espressif-2.7.6/components/wpa_supplicant/src/esp_supplicant/
Desp_wpa2.c396 size_t plen; in eap_sm_process_request() local
410 plen = be_to_host16(ehdr->length); in eap_sm_process_request()
411 if (plen > wpabuf_len(reqData)) { in eap_sm_process_request()
432 if (plen < sizeof(*ehdr) + 8) { in eap_sm_process_request()
573 u32 plen, data_len; in eap_sm_rx_eapol_internal() local
598 plen = be_to_host16(hdr->length); in eap_sm_rx_eapol_internal()
599 data_len = plen + sizeof(*hdr); in eap_sm_rx_eapol_internal()
603 hdr->version, hdr->type, plen); in eap_sm_rx_eapol_internal()
616 if (plen > len - sizeof(*hdr) || plen < sizeof(*ehdr)) { in eap_sm_rx_eapol_internal()
620 (unsigned long) plen, (unsigned long) len); in eap_sm_rx_eapol_internal()
Desp_wps.c1107 u32 plen, data_len, eap_len; in wps_sm_rx_eapol_internal() local
1134 plen = be_to_host16(hdr->length); in wps_sm_rx_eapol_internal()
1135 data_len = plen + sizeof(*hdr); in wps_sm_rx_eapol_internal()
1140 hdr->version, hdr->type, plen); in wps_sm_rx_eapol_internal()
1154 if (plen > len - sizeof(*hdr) || plen < sizeof(*ehdr)) { in wps_sm_rx_eapol_internal()
1158 (unsigned long) plen, (unsigned long) len); in wps_sm_rx_eapol_internal()
1173 if (eap_len != plen) { in wps_sm_rx_eapol_internal()
1177 (unsigned long) eap_len, (unsigned long) plen); in wps_sm_rx_eapol_internal()
1209 wpa_printf(MSG_DEBUG, "=========expanded plen[%d], %d===========", plen, sizeof(*ehdr)); in wps_sm_rx_eapol_internal()
1218 ret = wps_process_wps_mX_req(tmp, plen - sizeof(*ehdr) - 1, &res); in wps_sm_rx_eapol_internal()
/hal_espressif-2.7.6/tools/esp_app_trace/espytrace/
Dsysview.py286 plen = 0
290 plen = b1 # higher part
291 plen = (plen << 7) | (b0 & ~0x80) # lower 7 bits
293 plen = b0
294 return plen
324 self.plen = 0
326 self.plen = _decode_plen(reader)
330 reader.forward(self.plen)
358 sz,param_val = event_param.decode(reader, self.plen - params_len)
360 …o decode event {}({:d}) {:d} param @ 0x{:x}! {}'.format(self.name, self.id, self.plen, cur_pos, e))
[all …]
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/avdt/
Davdt_api.c1132 UINT8 *p, *plen, *pm1, *p_end; in AVDT_SendReport() local
1164 plen = p; in AVDT_SendReport()
1204 UINT16_TO_BE_STREAM(plen, len); in AVDT_SendReport()
/hal_espressif-2.7.6/components/wpa_supplicant/src/rsn_supp/
Dwpa.c1778 u32 plen, data_len, extra_len; in wpa_sm_rx_eapol() local
1799 plen = be_to_host16(hdr->length); in wpa_sm_rx_eapol()
1800 data_len = plen + sizeof(*hdr); in wpa_sm_rx_eapol()
1804 hdr->version, hdr->type, plen); in wpa_sm_rx_eapol()
1818 if (plen > len - sizeof(*hdr) || plen < sizeof(*key)) { in wpa_sm_rx_eapol()
1822 (unsigned long) plen, (unsigned long) len); in wpa_sm_rx_eapol()