Home
last modified time | relevance | path

Searched refs:u (Results 1 – 25 of 50) sorted by relevance

12

/hal_espressif-latest/components/wpa_supplicant/src/crypto/
Dcrypto_internal-cipher.c39 } u; member
57 if (key_len > sizeof(ctx->u.rc4.key)) { in crypto_cipher_init()
61 ctx->u.rc4.keylen = key_len; in crypto_cipher_init()
62 os_memcpy(ctx->u.rc4.key, key, key_len); in crypto_cipher_init()
65 ctx->u.aes.ctx_enc = aes_encrypt_init(key, key_len); in crypto_cipher_init()
66 if (ctx->u.aes.ctx_enc == NULL) { in crypto_cipher_init()
70 ctx->u.aes.ctx_dec = aes_decrypt_init(key, key_len); in crypto_cipher_init()
71 if (ctx->u.aes.ctx_dec == NULL) { in crypto_cipher_init()
72 aes_encrypt_deinit(ctx->u.aes.ctx_enc); in crypto_cipher_init()
76 os_memcpy(ctx->u.aes.cbc, iv, AES_BLOCK_SIZE); in crypto_cipher_init()
[all …]
Dcrypto_internal.c33 } u; member
55 MD5Init(&ctx->u.md5); in crypto_hash_init()
58 SHA1Init(&ctx->u.sha1); in crypto_hash_init()
62 sha256_init(&ctx->u.sha256); in crypto_hash_init()
67 sha384_init(&ctx->u.sha384); in crypto_hash_init()
72 sha512_init(&ctx->u.sha512); in crypto_hash_init()
77 MD5Init(&ctx->u.md5); in crypto_hash_init()
78 MD5Update(&ctx->u.md5, key, key_len); in crypto_hash_init()
79 MD5Final(tk, &ctx->u.md5); in crypto_hash_init()
91 MD5Init(&ctx->u.md5); in crypto_hash_init()
[all …]
/hal_espressif-latest/components/newlib/platform_include/
Dendian.h149 be16enc(void *pp, uint16_t u) in be16enc() argument
153 p[0] = (u >> 8) & 0xff; in be16enc()
154 p[1] = u & 0xff; in be16enc()
158 be32enc(void *pp, uint32_t u) in be32enc() argument
162 p[0] = (u >> 24) & 0xff; in be32enc()
163 p[1] = (u >> 16) & 0xff; in be32enc()
164 p[2] = (u >> 8) & 0xff; in be32enc()
165 p[3] = u & 0xff; in be32enc()
169 be64enc(void *pp, uint64_t u) in be64enc() argument
173 be32enc(p, (uint32_t)(u >> 32)); in be64enc()
[all …]
/hal_espressif-latest/components/wpa_supplicant/port/include/
Dendian.h170 be16enc(void *pp, uint16_t u) in be16enc() argument
174 p[0] = (u >> 8) & 0xff; in be16enc()
175 p[1] = u & 0xff; in be16enc()
179 be32enc(void *pp, uint32_t u) in be32enc() argument
183 p[0] = (u >> 24) & 0xff; in be32enc()
184 p[1] = (u >> 16) & 0xff; in be32enc()
185 p[2] = (u >> 8) & 0xff; in be32enc()
186 p[3] = u & 0xff; in be32enc()
190 be64enc(void *pp, uint64_t u) in be64enc() argument
194 be32enc(p, (uint32_t)(u >> 32)); in be64enc()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/stack/rfcomm/
Drfc_port_fsm.c533 PORT_ParNegInd (p_mcb, dlci, p_frame->u.pn.mtu, in rfc_process_pn()
534 p_frame->u.pn.conv_layer, p_frame->u.pn.k); in rfc_process_pn()
552 PORT_ParNegCnf (p_mcb, dlci, p_frame->u.pn.mtu, in rfc_process_pn()
553 p_frame->u.pn.conv_layer, p_frame->u.pn.k); in rfc_process_pn()
578 PORT_PortNegInd(p_mcb, p_frame->dlci, &port_pars, p_frame->u.rpn.param_mask); in rfc_process_rpn()
595 PORT_PortNegInd (p_mcb, p_frame->dlci, &port_pars, p_frame->u.rpn.param_mask); in rfc_process_rpn()
617 p_frame->u.rpn.param_mask = RFCOMM_RPN_PM_MASK; in rfc_process_rpn()
633 if (((p_frame->u.rpn.param_mask & (RFCOMM_RPN_PM_RTR_ON_INPUT | RFCOMM_RPN_PM_RTR_ON_OUTPUT)) == in rfc_process_rpn()
635 … || ((p_frame->u.rpn.param_mask & (RFCOMM_RPN_PM_RTC_ON_INPUT | RFCOMM_RPN_PM_RTC_ON_OUTPUT)) == in rfc_process_rpn()
676 UINT8 modem_signals = p_frame->u.msc.signals; in rfc_process_msc()
[all …]
Drfc_ts_frames.c259 *p_data++ = rfc_cb.rfc.rx_frame.u.pn.priority; in rfc_send_pn()
789 p_rx_frame->u.pn.frame_type = *p_data & RFCOMM_PN_FRAME_TYPE_MASK; in rfc_process_mx_message()
790 p_rx_frame->u.pn.conv_layer = *p_data++ & RFCOMM_PN_CONV_LAYER_MASK; in rfc_process_mx_message()
791 p_rx_frame->u.pn.priority = *p_data++ & RFCOMM_PN_PRIORITY_MASK; in rfc_process_mx_message()
792 p_rx_frame->u.pn.t1 = *p_data++; in rfc_process_mx_message()
793 p_rx_frame->u.pn.mtu = *p_data + (*(p_data + 1) << 8); in rfc_process_mx_message()
795 p_rx_frame->u.pn.n2 = *p_data++; in rfc_process_mx_message()
796 p_rx_frame->u.pn.k = *p_data++ & RFCOMM_PN_K_MASK; in rfc_process_mx_message()
800 || (p_rx_frame->u.pn.mtu < RFCOMM_MIN_MTU) in rfc_process_mx_message()
801 || (p_rx_frame->u.pn.mtu > RFCOMM_MAX_MTU)) { in rfc_process_mx_message()
[all …]
/hal_espressif-latest/components/bt/porting/include/os/
Dutil.h32 #define UINT_TO_POINTER(u) ((void *) ((uintptr_t) (u))) argument
34 #define INT_TO_POINTER(u) ((void *) ((intptr_t) (u))) argument
/hal_espressif-latest/components/newlib/platform_include/sys/
Dtermios.h62 #define NL0 (0u << 7) /** Newline character type 0. */
65 #define CR0 (0u << 8) /** Carriage-return delay type 0. */
70 #define TAB0 (0u << 10) /** Horizontal-tab delay type 0. */
75 #define BS0 (0u << 12) /** Backspace-delay type 0. */
78 #define VT0 (0u << 13) /** Vertical-tab delay type 0. */
81 #define FF0 (0u << 14) /** Form-feed delay type 0. */
121 #define CS5 (0u << 0) /** 5 bits. */
/hal_espressif-latest/components/bt/host/bluedroid/btc/core/
Dbtc_util.c279 void uuid128_be_to_esp_uuid(esp_bt_uuid_t *u, uint8_t* uuid128) in uuid128_be_to_esp_uuid() argument
282 u->len = ESP_UUID_LEN_128; in uuid128_be_to_esp_uuid()
284 uint8_t *p_o = u->uuid.uuid128; in uuid128_be_to_esp_uuid()
289 u->len = 2; in uuid128_be_to_esp_uuid()
290 u->uuid.uuid16 = (uuid128[2] << 8) + uuid128[3]; in uuid128_be_to_esp_uuid()
292 u->len = 4; in uuid128_be_to_esp_uuid()
293 u->uuid.uuid32 = (uuid128[2] << 8) + uuid128[3]; in uuid128_be_to_esp_uuid()
294 u->uuid.uuid32 += (uuid128[0] << 24) + (uuid128[1] << 16); in uuid128_be_to_esp_uuid()
/hal_espressif-latest/components/newlib/
DCMakeLists.txt45 list(APPEND EXTRA_LINK_FLAGS "-u newlib_include_heap_impl")
46 list(APPEND EXTRA_LINK_FLAGS "-u newlib_include_syscalls_impl")
47 list(APPEND EXTRA_LINK_FLAGS "-u newlib_include_pthread_impl")
48 list(APPEND EXTRA_LINK_FLAGS "-u newlib_include_assert_impl")
/hal_espressif-latest/components/wpa_supplicant/src/tls/
Dlibtommath.h241 register mp_digit u, *tmpa, *tmpb, *tmpc; in s_mp_add() local
256 u = 0; in s_mp_add()
259 *tmpc = *tmpa++ + *tmpb++ + u; in s_mp_add()
262 u = *tmpc >> ((mp_digit)DIGIT_BIT); in s_mp_add()
274 *tmpc = x->dp[i] + u; in s_mp_add()
277 u = *tmpc >> ((mp_digit)DIGIT_BIT); in s_mp_add()
285 *tmpc++ = u; in s_mp_add()
318 register mp_digit u, *tmpa, *tmpb, *tmpc; in s_mp_sub() local
327 u = 0; in s_mp_sub()
330 *tmpc = *tmpa++ - *tmpb++ - u; in s_mp_sub()
[all …]
Dpkcs5.c404 unsigned int u, v, S_len, P_len, i; in pkcs12_key_gen() local
409 u = SHA1_MAC_LEN; in pkcs12_key_gen()
457 if (out_len <= u) { in pkcs12_key_gen()
463 os_memcpy(out, hash, u); in pkcs12_key_gen()
464 out += u; in pkcs12_key_gen()
465 out_len -= u; in pkcs12_key_gen()
470 B[i] = hash[i % u]; in pkcs12_key_gen()
/hal_espressif-latest/components/bt/host/bluedroid/bta/sdp/
Dbta_sdp_act.c77 static inline tBT_UUID shorten_sdp_uuid(const tBT_UUID *u) in shorten_sdp_uuid() argument
83 APPL_TRACE_DEBUG("%s() - uuid len:%d\n", __func__, u->len); in shorten_sdp_uuid()
84 if (u->len != 16) { in shorten_sdp_uuid()
85 return *u; in shorten_sdp_uuid()
88 if (memcmp(&u->uu.uuid128[4], &bt_base_uuid[4], 12) != 0) { in shorten_sdp_uuid()
89 return *u; in shorten_sdp_uuid()
94 if (u->uu.uuid128[0] == 0 && u->uu.uuid128[1] == 0) { in shorten_sdp_uuid()
97 memcpy(&u16, &u->uu.uuid128[2], sizeof(u16)); in shorten_sdp_uuid()
102 memcpy(&u32, &u->uu.uuid128[0], sizeof(u32)); in shorten_sdp_uuid()
/hal_espressif-latest/components/esp_system/
DCMakeLists.txt74 target_link_libraries(${COMPONENT_LIB} INTERFACE "-u start_app")
77 target_link_libraries(${COMPONENT_LIB} INTERFACE "-u start_app_other_cores")
91 target_link_libraries(${COMPONENT_LIB} INTERFACE "-u esp_common_include_fpga_overrides")
96 target_link_libraries(${COMPONENT_LIB} INTERFACE "-u __ubsan_include")
/hal_espressif-latest/components/bt/host/bluedroid/stack/smp/
Dp_256_multprecision.c592 void multiprecision_inv_mod(DWORD *aminus, DWORD *u, uint32_t keyLength) in multiprecision_inv_mod() argument
610 while (!multiprecision_iszero(u, keyLength)) { in multiprecision_inv_mod()
611 while (!(u[0] & 0x01)) { // u is even in multiprecision_inv_mod()
612 multiprecision_rshift(u, u, keyLength); in multiprecision_inv_mod()
633 if (multiprecision_compare(u, v, keyLength) >= 0) { in multiprecision_inv_mod()
634 multiprecision_sub(u, u, v, keyLength); in multiprecision_inv_mod()
637 multiprecision_sub(v, v, u, keyLength); in multiprecision_inv_mod()
/hal_espressif-latest/components/bt/porting/ext/tinycrypt/src/
Decc.c412 uECC_word_t u[NUM_ECC_WORDS], v[NUM_ECC_WORDS]; in uECC_vli_modInv() local
422 uECC_vli_clear(u, num_words); in uECC_vli_modInv()
423 u[0] = 1; in uECC_vli_modInv()
428 vli_modInv_update(u, mod, num_words); in uECC_vli_modInv()
435 if (uECC_vli_cmp_unsafe(u, v, num_words) < 0) { in uECC_vli_modInv()
436 uECC_vli_add(u, u, mod, num_words); in uECC_vli_modInv()
438 uECC_vli_sub(u, u, v, num_words); in uECC_vli_modInv()
439 vli_modInv_update(u, mod, num_words); in uECC_vli_modInv()
443 if (uECC_vli_cmp_unsafe(v, u, num_words) < 0) { in uECC_vli_modInv()
446 uECC_vli_sub(v, v, u, num_words); in uECC_vli_modInv()
[all …]
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/tinycrypt/src/
Decc.c412 uECC_word_t u[NUM_ECC_WORDS], v[NUM_ECC_WORDS]; in uECC_vli_modInv() local
422 uECC_vli_clear(u, num_words); in uECC_vli_modInv()
423 u[0] = 1; in uECC_vli_modInv()
428 vli_modInv_update(u, mod, num_words); in uECC_vli_modInv()
435 if (uECC_vli_cmp_unsafe(u, v, num_words) < 0) { in uECC_vli_modInv()
436 uECC_vli_add(u, u, mod, num_words); in uECC_vli_modInv()
438 uECC_vli_sub(u, u, v, num_words); in uECC_vli_modInv()
439 vli_modInv_update(u, mod, num_words); in uECC_vli_modInv()
443 if (uECC_vli_cmp_unsafe(v, u, num_words) < 0) { in uECC_vli_modInv()
446 uECC_vli_sub(v, v, u, num_words); in uECC_vli_modInv()
[all …]
/hal_espressif-latest/components/esp_hw_support/
DCMakeLists.txt107 APPEND PROPERTY INTERFACE_LINK_LIBRARIES "-u rv_core_critical_regs_save")
109 APPEND PROPERTY INTERFACE_LINK_LIBRARIES "-u rv_core_critical_regs_restore")
143 target_link_libraries(${COMPONENT_LIB} PRIVATE "-u esp_crypto_dpa_prot_include_impl")
/hal_espressif-latest/components/bootloader/subproject/main/
DCMakeLists.txt10 target_link_libraries(${COMPONENT_LIB} INTERFACE "-u bootloader_hooks_include")
/hal_espressif-latest/tools/idf_monitor/idf_monitor_base/
Dlogger.py102 if isinstance(string, type(u'')):
113 if isinstance(string, type(u'')):
/hal_espressif-latest/components/bt/host/bluedroid/btc/include/btc/
Dbtc_util.h55 void uuid128_be_to_esp_uuid(esp_bt_uuid_t *u, uint8_t* uuid128);
/hal_espressif-latest/components/esp_app_format/
DCMakeLists.txt7 target_link_libraries(${COMPONENT_LIB} INTERFACE "-u esp_app_desc")
/hal_espressif-latest/tools/esptool_py/test/secure_images/
Drsa_secure_boot_signing_key4.pem13 AGvaEk/u/YJos3ZU/Bkb5D12xU/ajk6tWdbvV6D0vxCOZqGnM55dFk5zNA+kAS0R
/hal_espressif-latest/components/bt/host/bluedroid/external/sbc/decoder/srce/
Dsynthesis-dct8.c65 static INLINE OI_INT32 default_mul_32s_32s_hi(OI_INT32 u, OI_INT32 v) in default_mul_32s_32s_hi() argument
70 u0 = u & 0xFFFF; u1 = u >> 16; in default_mul_32s_32s_hi()
/hal_espressif-latest/components/esp_system/port/soc/esp32s2/
DCMakeLists.txt29 set_property(TARGET ${COMPONENT_LIB} APPEND PROPERTY INTERFACE_LINK_LIBRARIES "-u ld_include_highin…

12