/hal_espressif-latest/components/wpa_supplicant/src/crypto/ |
D | aes-omac1.c | 49 size_t i, e, left, total_len; in omac1_aes_vector() local 62 left = total_len; in omac1_aes_vector() 68 while (left >= AES_BLOCK_SIZE) { in omac1_aes_vector() 77 left == AES_BLOCK_SIZE) in omac1_aes_vector() 84 if (left > AES_BLOCK_SIZE) in omac1_aes_vector() 86 left -= AES_BLOCK_SIZE; in omac1_aes_vector() 93 if (left || total_len == 0) { in omac1_aes_vector() 94 for (i = 0; i < left; i++) { in omac1_aes_vector() 101 if (i + 1 == left) in omac1_aes_vector() 108 cbc[left] ^= 0x80; in omac1_aes_vector()
|
D | aes-ctr.c | 29 size_t j, len, left = data_len; in aes_ctr_encrypt() local 39 while (left > 0) { in aes_ctr_encrypt() 42 len = (left < AES_BLOCK_SIZE) ? left : AES_BLOCK_SIZE; in aes_ctr_encrypt() 46 left -= len; in aes_ctr_encrypt()
|
D | sha1-pbkdf2.c | 77 size_t left = buflen, plen; in pbkdf2_sha1() local 80 while (left > 0) { in pbkdf2_sha1() 85 plen = left > SHA1_MAC_LEN ? SHA1_MAC_LEN : left; in pbkdf2_sha1() 88 left -= plen; in pbkdf2_sha1()
|
/hal_espressif-latest/components/wpa_supplicant/src/tls/ |
D | tlsv1_client_read.c | 85 size_t left, len, i; in tls_process_server_hello() local 98 left = *in_len; in tls_process_server_hello() 100 if (left < 4) in tls_process_server_hello() 116 left -= 4; in tls_process_server_hello() 118 if (len > left) in tls_process_server_hello() 363 size_t left, len, list_len, cert_len, idx; in tls_process_certificate() local 377 left = *in_len; in tls_process_certificate() 379 if (left < 4) { in tls_process_certificate() 381 "(len=%lu)", (unsigned long) left); in tls_process_certificate() 389 left -= 4; in tls_process_certificate() [all …]
|
D | tlsv1_server_read.c | 125 size_t left, len, i, j; in tls_process_client_hello() local 140 left = *in_len; in tls_process_client_hello() 142 if (left < 4) { in tls_process_client_hello() 161 left -= 4; in tls_process_client_hello() 163 if (len > left) { in tls_process_client_hello() 166 (int) len, (int) left); in tls_process_client_hello() 400 size_t left, len, list_len, cert_len, idx; in tls_process_certificate() local 414 left = *in_len; in tls_process_certificate() 416 if (left < 4) { in tls_process_certificate() 418 (unsigned long) left); in tls_process_certificate() [all …]
|
/hal_espressif-latest/components/wpa_supplicant/src/common/ |
D | wpa_common.c | 411 int left; in wpa_parse_wpa_ie_rsn() local 447 left = rsn_ie_len - sizeof(*hdr); in wpa_parse_wpa_ie_rsn() 449 if (left >= RSN_SELECTOR_LEN) { in wpa_parse_wpa_ie_rsn() 452 left -= RSN_SELECTOR_LEN; in wpa_parse_wpa_ie_rsn() 453 } else if (left > 0) { in wpa_parse_wpa_ie_rsn() 455 __func__, left); in wpa_parse_wpa_ie_rsn() 459 if (left >= 2) { in wpa_parse_wpa_ie_rsn() 463 left -= 2; in wpa_parse_wpa_ie_rsn() 464 if (count == 0 || left < count * RSN_SELECTOR_LEN) { in wpa_parse_wpa_ie_rsn() 466 "count %u left %u", __func__, count, left); in wpa_parse_wpa_ie_rsn() [all …]
|
/hal_espressif-latest/components/bt/porting/ext/tinycrypt/src/ |
D | ecc_platform_specific.c | 89 size_t left = (size_t) size; in default_CSPRNG() local 90 while (left > 0) { in default_CSPRNG() 91 ssize_t bytes_read = read(fd, ptr, left); in default_CSPRNG() 96 left -= bytes_read; in default_CSPRNG()
|
D | ecc.c | 155 cmpresult_t uECC_vli_cmp_unsafe(const uECC_word_t *left, in uECC_vli_cmp_unsafe() argument 162 if (left[i] > right[i]) { in uECC_vli_cmp_unsafe() 164 } else if (left[i] < right[i]) { in uECC_vli_cmp_unsafe() 171 uECC_word_t uECC_vli_equal(const uECC_word_t *left, const uECC_word_t *right, in uECC_vli_equal() argument 179 diff |= (left[i] ^ right[i]); in uECC_vli_equal() 191 uECC_word_t uECC_vli_sub(uECC_word_t *result, const uECC_word_t *left, in uECC_vli_sub() argument 197 uECC_word_t diff = left[i] - right[i] - borrow; in uECC_vli_sub() 198 uECC_word_t val = (diff > left[i]); in uECC_vli_sub() 199 borrow = cond_set(val, borrow, (diff != left[i])); in uECC_vli_sub() 208 static uECC_word_t uECC_vli_add(uECC_word_t *result, const uECC_word_t *left, in uECC_vli_add() argument [all …]
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/tinycrypt/src/ |
D | ecc_platform_specific.c | 91 size_t left = (size_t) size; in default_CSPRNG() local 92 while (left > 0) { in default_CSPRNG() 93 ssize_t bytes_read = read(fd, ptr, left); in default_CSPRNG() 98 left -= bytes_read; in default_CSPRNG()
|
D | ecc.c | 155 cmpresult_t uECC_vli_cmp_unsafe(const uECC_word_t *left, in uECC_vli_cmp_unsafe() argument 162 if (left[i] > right[i]) { in uECC_vli_cmp_unsafe() 164 } else if (left[i] < right[i]) { in uECC_vli_cmp_unsafe() 171 uECC_word_t uECC_vli_equal(const uECC_word_t *left, const uECC_word_t *right, in uECC_vli_equal() argument 179 diff |= (left[i] ^ right[i]); in uECC_vli_equal() 191 uECC_word_t uECC_vli_sub(uECC_word_t *result, const uECC_word_t *left, in uECC_vli_sub() argument 197 uECC_word_t diff = left[i] - right[i] - borrow; in uECC_vli_sub() 198 uECC_word_t val = (diff > left[i]); in uECC_vli_sub() 199 borrow = cond_set(val, borrow, (diff != left[i])); in uECC_vli_sub() 208 static uECC_word_t uECC_vli_add(uECC_word_t *result, const uECC_word_t *left, in uECC_vli_add() argument [all …]
|
/hal_espressif-latest/components/mbedtls/port/sha/dma/ |
D | esp_sha1.c | 129 uint32_t left, len, local_len = 0; in mbedtls_sha1_update() local 135 left = ctx->total[0] & 0x3F; in mbedtls_sha1_update() 136 fill = 64 - left; in mbedtls_sha1_update() 145 if ( left && ilen >= fill ) { in mbedtls_sha1_update() 146 memcpy( (void *) (ctx->buffer + left), input, fill ); in mbedtls_sha1_update() 150 left = 0; in mbedtls_sha1_update() 174 memcpy( (void *) (ctx->buffer + left), input + len, ilen - len ); in mbedtls_sha1_update()
|
D | esp_sha256.c | 139 uint32_t left, len, local_len = 0; in mbedtls_sha256_update() local 145 left = ctx->total[0] & 0x3F; in mbedtls_sha256_update() 146 fill = 64 - left; in mbedtls_sha256_update() 156 if ( left && ilen >= fill ) { in mbedtls_sha256_update() 157 memcpy( (void *) (ctx->buffer + left), input, fill ); in mbedtls_sha256_update() 161 left = 0; in mbedtls_sha256_update() 184 memcpy( (void *) (ctx->buffer + left), input + len, ilen - len ); in mbedtls_sha256_update()
|
D | esp_sha512.c | 187 unsigned int left, len, local_len = 0; in mbedtls_sha512_update() local 193 left = (unsigned int) (ctx->total[0] & 0x7F); in mbedtls_sha512_update() 194 fill = 128 - left; in mbedtls_sha512_update() 202 if ( left && ilen >= fill ) { in mbedtls_sha512_update() 203 memcpy( (void *) (ctx->buffer + left), input, fill ); in mbedtls_sha512_update() 207 left = 0; in mbedtls_sha512_update() 239 memcpy( (void *) (ctx->buffer + left), input + len, ilen - len ); in mbedtls_sha512_update()
|
/hal_espressif-latest/components/mbedtls/port/sha/block/ |
D | esp_sha1.c | 126 uint32_t left, local_len = 0; in mbedtls_sha1_update() local 132 left = ctx->total[0] & 0x3F; in mbedtls_sha1_update() 133 fill = 64 - left; in mbedtls_sha1_update() 142 if ( left && ilen >= fill ) { in mbedtls_sha1_update() 143 memcpy( (void *) (ctx->buffer + left), input, fill ); in mbedtls_sha1_update() 146 left = 0; in mbedtls_sha1_update() 175 memcpy( (void *) (ctx->buffer + left), input, ilen); in mbedtls_sha1_update()
|
D | esp_sha256.c | 143 uint32_t left, local_len = 0; in mbedtls_sha256_update() local 149 left = ctx->total[0] & 0x3F; in mbedtls_sha256_update() 150 fill = 64 - left; in mbedtls_sha256_update() 160 if ( left && ilen >= fill ) { in mbedtls_sha256_update() 161 memcpy( (void *) (ctx->buffer + left), input, fill ); in mbedtls_sha256_update() 165 left = 0; in mbedtls_sha256_update() 193 memcpy( (void *) (ctx->buffer + left), input, ilen); in mbedtls_sha256_update()
|
D | esp_sha512.c | 183 unsigned int left, len, local_len = 0; in mbedtls_sha512_update() local 189 left = (unsigned int) (ctx->total[0] & 0x7F); in mbedtls_sha512_update() 190 fill = 128 - left; in mbedtls_sha512_update() 198 if ( left && ilen >= fill ) { in mbedtls_sha512_update() 199 memcpy( (void *) (ctx->buffer + left), input, fill ); in mbedtls_sha512_update() 203 left = 0; in mbedtls_sha512_update() 236 memcpy( (void *) (ctx->buffer + left), input, ilen); in mbedtls_sha512_update()
|
/hal_espressif-latest/components/bt/porting/ext/tinycrypt/include/tinycrypt/ |
D | ecc.h | 329 cmpresult_t uECC_vli_cmp(const uECC_word_t *left, const uECC_word_t *right, 340 cmpresult_t uECC_vli_cmp_unsafe(const uECC_word_t *left, const uECC_word_t *right, 353 void uECC_vli_modSub(uECC_word_t *result, const uECC_word_t *left, 408 void uECC_vli_modMult_fast(uECC_word_t *result, const uECC_word_t *left, 420 uECC_word_t uECC_vli_sub(uECC_word_t *result, const uECC_word_t *left, 430 uECC_word_t uECC_vli_equal(const uECC_word_t *left, const uECC_word_t *right, 441 void uECC_vli_modMult(uECC_word_t *result, const uECC_word_t *left, 476 void uECC_vli_modAdd(uECC_word_t *result, const uECC_word_t *left,
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/tinycrypt/include/tinycrypt/ |
D | ecc.h | 329 cmpresult_t uECC_vli_cmp(const uECC_word_t *left, const uECC_word_t *right, 340 cmpresult_t uECC_vli_cmp_unsafe(const uECC_word_t *left, const uECC_word_t *right, 353 void uECC_vli_modSub(uECC_word_t *result, const uECC_word_t *left, 408 void uECC_vli_modMult_fast(uECC_word_t *result, const uECC_word_t *left, 420 uECC_word_t uECC_vli_sub(uECC_word_t *result, const uECC_word_t *left, 430 uECC_word_t uECC_vli_equal(const uECC_word_t *left, const uECC_word_t *right, 441 void uECC_vli_modMult(uECC_word_t *result, const uECC_word_t *left, 476 void uECC_vli_modAdd(uECC_word_t *result, const uECC_word_t *left,
|
/hal_espressif-latest/components/wpa_supplicant/src/eap_peer/ |
D | eap_tls.c | 150 size_t left; in eap_tls_process() local 158 reqData, &left, &flags); in eap_tls_process() 165 left = 0; /* make sure that this frame is empty, even though it in eap_tls_process() 171 id, pos, left, &resp); in eap_tls_process()
|
D | eap_tls_common.c | 765 size_t left; in eap_peer_tls_process_init() local 777 &left); in eap_peer_tls_process_init() 780 &left); in eap_peer_tls_process_init() 785 if (left == 0) { in eap_peer_tls_process_init() 798 left--; in eap_peer_tls_process_init() 804 if (left < 4) { in eap_peer_tls_process_init() 820 left -= 4; in eap_peer_tls_process_init() 822 if (left > tls_msg_len) { in eap_peer_tls_process_init() 825 "bytes)", (int) tls_msg_len, (int) left); in eap_peer_tls_process_init() 836 *len = left; in eap_peer_tls_process_init()
|
D | eap_fast.c | 867 size_t left, len; in eap_fast_process_pac_tlv() local 871 left = pac_len; in eap_fast_process_pac_tlv() 873 while (left > sizeof(*hdr)) { in eap_fast_process_pac_tlv() 878 left -= sizeof(*hdr); in eap_fast_process_pac_tlv() 879 if (len > left) { in eap_fast_process_pac_tlv() 883 (unsigned long) left); in eap_fast_process_pac_tlv() 890 left -= len; in eap_fast_process_pac_tlv() 973 size_t left, len; in eap_fast_process_pac_info() local 982 left = entry->pac_info_len; in eap_fast_process_pac_info() 983 while (left > sizeof(*hdr)) { in eap_fast_process_pac_info() [all …]
|
D | eap_peap.c | 501 size_t left, tlv_len; in eap_tlv_process() local 508 pos = eap_hdr_validate(EAP_VENDOR_IETF, EAP_TYPE_TLV, req, &left); in eap_tlv_process() 511 wpa_hexdump(MSG_DEBUG, "EAP-TLV: Received TLVs", pos, left); in eap_tlv_process() 512 while (left >= 4) { in eap_tlv_process() 518 left -= 4; in eap_tlv_process() 519 if (tlv_len > left) { in eap_tlv_process() 523 (unsigned long) left); in eap_tlv_process() 551 left -= tlv_len; in eap_tlv_process() 553 if (left) { in eap_tlv_process() 555 "Request (left=%lu)", (unsigned long) left); in eap_tlv_process() [all …]
|
/hal_espressif-latest/components/mbedtls/port/sha/parallel_engine/ |
D | esp_sha512.c | 317 unsigned int left; in mbedtls_sha512_update() local 323 left = (unsigned int) (ctx->total[0] & 0x7F); in mbedtls_sha512_update() 324 fill = 128 - left; in mbedtls_sha512_update() 332 if ( left && ilen >= fill ) { in mbedtls_sha512_update() 333 memcpy( (void *) (ctx->buffer + left), input, fill ); in mbedtls_sha512_update() 340 left = 0; in mbedtls_sha512_update() 357 memcpy( (void *) (ctx->buffer + left), input, ilen ); in mbedtls_sha512_update()
|
D | esp_sha256.c | 281 uint32_t left; in mbedtls_sha256_update() local 287 left = ctx->total[0] & 0x3F; in mbedtls_sha256_update() 288 fill = 64 - left; in mbedtls_sha256_update() 297 if ( left && ilen >= fill ) { in mbedtls_sha256_update() 298 memcpy( (void *) (ctx->buffer + left), input, fill ); in mbedtls_sha256_update() 306 left = 0; in mbedtls_sha256_update() 323 memcpy( (void *) (ctx->buffer + left), input, ilen ); in mbedtls_sha256_update()
|
/hal_espressif-latest/tools/esptool_py/espefuse/efuse/ |
D | csv_table_parser.py | 124 left = n.bit_start 128 if left <= start <= right: 129 if left <= end <= right: 132 if left <= end <= right: 134 if start <= left and right <= end:
|