Home
last modified time | relevance | path

Searched refs:d (Results 1 – 25 of 97) sorted by relevance

1234

/hal_espressif-latest/components/wpa_supplicant/src/crypto/
Dsha1-internal.c178 u32 a, b, c, d, e; in SHA1Transform() local
195 d = state[3]; in SHA1Transform()
198 R0(a,b,c,d,e, 0); R0(e,a,b,c,d, 1); R0(d,e,a,b,c, 2); R0(c,d,e,a,b, 3); in SHA1Transform()
199 R0(b,c,d,e,a, 4); R0(a,b,c,d,e, 5); R0(e,a,b,c,d, 6); R0(d,e,a,b,c, 7); in SHA1Transform()
200 R0(c,d,e,a,b, 8); R0(b,c,d,e,a, 9); R0(a,b,c,d,e,10); R0(e,a,b,c,d,11); in SHA1Transform()
201 R0(d,e,a,b,c,12); R0(c,d,e,a,b,13); R0(b,c,d,e,a,14); R0(a,b,c,d,e,15); in SHA1Transform()
202 R1(e,a,b,c,d,16); R1(d,e,a,b,c,17); R1(c,d,e,a,b,18); R1(b,c,d,e,a,19); in SHA1Transform()
203 R2(a,b,c,d,e,20); R2(e,a,b,c,d,21); R2(d,e,a,b,c,22); R2(c,d,e,a,b,23); in SHA1Transform()
204 R2(b,c,d,e,a,24); R2(a,b,c,d,e,25); R2(e,a,b,c,d,26); R2(d,e,a,b,c,27); in SHA1Transform()
205 R2(c,d,e,a,b,28); R2(b,c,d,e,a,29); R2(a,b,c,d,e,30); R2(e,a,b,c,d,31); in SHA1Transform()
[all …]
Dmd5-internal.c210 register u32 a, b, c, d; in MD5Transform() local
215 d = buf[3]; in MD5Transform()
217 MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); in MD5Transform()
218 MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); in MD5Transform()
219 MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17); in MD5Transform()
220 MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceee, 22); in MD5Transform()
221 MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7); in MD5Transform()
222 MD5STEP(F1, d, a, b, c, in[5] + 0x4787c62a, 12); in MD5Transform()
223 MD5STEP(F1, c, d, a, b, in[6] + 0xa8304613, 17); in MD5Transform()
224 MD5STEP(F1, b, c, d, a, in[7] + 0xfd469501, 22); in MD5Transform()
[all …]
Dmd4-internal.c200 u32 a, b, c, d, in[MD4_BLOCK_LENGTH / 4]; in MD4Transform() local
217 d = state[3]; in MD4Transform()
219 MD4STEP(F1, a, b, c, d, in[ 0], 3); in MD4Transform()
220 MD4STEP(F1, d, a, b, c, in[ 1], 7); in MD4Transform()
221 MD4STEP(F1, c, d, a, b, in[ 2], 11); in MD4Transform()
222 MD4STEP(F1, b, c, d, a, in[ 3], 19); in MD4Transform()
223 MD4STEP(F1, a, b, c, d, in[ 4], 3); in MD4Transform()
224 MD4STEP(F1, d, a, b, c, in[ 5], 7); in MD4Transform()
225 MD4STEP(F1, c, d, a, b, in[ 6], 11); in MD4Transform()
226 MD4STEP(F1, b, c, d, a, in[ 7], 19); in MD4Transform()
[all …]
Daes-internal-enc.c39 #define ROUND(i,d,s) \ in rijndaelEncrypt() argument
40 d##0 = TE0(s##0) ^ TE1(s##1) ^ TE2(s##2) ^ TE3(s##3) ^ rk[4 * i]; \ in rijndaelEncrypt()
41 d##1 = TE0(s##1) ^ TE1(s##2) ^ TE2(s##3) ^ TE3(s##0) ^ rk[4 * i + 1]; \ in rijndaelEncrypt()
42 d##2 = TE0(s##2) ^ TE1(s##3) ^ TE2(s##0) ^ TE3(s##1) ^ rk[4 * i + 2]; \ in rijndaelEncrypt()
43 d##3 = TE0(s##3) ^ TE1(s##0) ^ TE2(s##1) ^ TE3(s##2) ^ rk[4 * i + 3] in rijndaelEncrypt()
Daes-internal-dec.c92 #define ROUND(i,d,s) \ in rijndaelDecrypt() argument
93 d##0 = TD0(s##0) ^ TD1(s##3) ^ TD2(s##2) ^ TD3(s##1) ^ rk[4 * i]; \ in rijndaelDecrypt()
94 d##1 = TD0(s##1) ^ TD1(s##0) ^ TD2(s##3) ^ TD3(s##2) ^ rk[4 * i + 1]; \ in rijndaelDecrypt()
95 d##2 = TD0(s##2) ^ TD1(s##1) ^ TD2(s##0) ^ TD3(s##3) ^ rk[4 * i + 2]; \ in rijndaelDecrypt()
96 d##3 = TD0(s##3) ^ TD1(s##2) ^ TD2(s##1) ^ TD3(s##0) ^ rk[4 * i + 3] in rijndaelDecrypt()
/hal_espressif-latest/components/esp_rom/linux/
Desp_rom_md5.c166 register uint32_t a, b, c, d; in MD5Transform() local
171 d = buf[3]; in MD5Transform()
173 MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); in MD5Transform()
174 MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); in MD5Transform()
175 MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17); in MD5Transform()
176 MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceee, 22); in MD5Transform()
177 MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7); in MD5Transform()
178 MD5STEP(F1, d, a, b, c, in[5] + 0x4787c62a, 12); in MD5Transform()
179 MD5STEP(F1, c, d, a, b, in[6] + 0xa8304613, 17); in MD5Transform()
180 MD5STEP(F1, b, c, d, a, in[7] + 0xfd469501, 22); in MD5Transform()
[all …]
/hal_espressif-latest/tools/esptool_py/flasher_stub/
Dminiz.c850 static void tdefl_optimize_huffman_table(tdefl_compressor *d, int table_num, int table_len, int cod… in tdefl_optimize_huffman_table() argument
858 num_codes[d->m_huff_code_sizes[table_num][i]]++; in tdefl_optimize_huffman_table()
864 const mz_uint16 *pSym_count = &d->m_huff_count[table_num][0]; in tdefl_optimize_huffman_table()
880 MZ_CLEAR_OBJ(d->m_huff_code_sizes[table_num]); in tdefl_optimize_huffman_table()
881 MZ_CLEAR_OBJ(d->m_huff_codes[table_num]); in tdefl_optimize_huffman_table()
884 d->m_huff_code_sizes[table_num][pSyms[--j].m_sym_index] = (mz_uint8)(i); in tdefl_optimize_huffman_table()
894 if ((code_size = d->m_huff_code_sizes[table_num][i]) == 0) in tdefl_optimize_huffman_table()
899 d->m_huff_codes[table_num][i] = (mz_uint16)rev_code; in tdefl_optimize_huffman_table()
909 d->m_bit_buffer |= (bits << d->m_bits_in); \
910 d->m_bits_in += len; \
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/external/sbc/decoder/srce/
Ddequant.c149 OI_UINT32 d; in OI_SBC_Dequant() local
159 d = (raw * 2) + 1; in OI_SBC_Dequant()
160 d *= dequant_long_scaled[bits]; in OI_SBC_Dequant()
161 result = d - SBC_DEQUANT_LONG_SCALED_OFFSET; in OI_SBC_Dequant()
188 OI_UINT32 d; in OI_SBC_Dequant_Unscaled() local
204 d = (raw * 2) + 1; in OI_SBC_Dequant_Unscaled()
205 d *= dequant_long_unscaled[bits]; in OI_SBC_Dequant_Unscaled()
206 result = d - 0x80000000; in OI_SBC_Dequant_Unscaled()
/hal_espressif-latest/tools/esptool_py/espefuse/efuse/
Dmem_definition_base.py156 d = Field()
157 d.name = e_name
158 d.block = data_dict["blk"]
159 d.word = data_dict["word"]
160 d.pos = data_dict["pos"]
161 d.bit_len = data_dict["len"]
162 d.type = data_dict["type"]
163 d.write_disable_bit = data_dict["wr_dis"]
164 d.read_disable_bit = (
169 d.description = data_dict["desc"]
[all …]
Dcsv_table_parser.py112 for d in self:
114 p is not d
115 and p.efuse_block == d.efuse_block
116 and name == d.field_name
161 for d in self:
163 p is not d
164 and p.efuse_block == d.efuse_block
165 and name == d.field_name
167 state = check(p, d)
172 print_error(p, d, state)
/hal_espressif-latest/components/bt/host/bluedroid/stack/smp/
Daes.c305 # define block_copy_nn(d, s, l) memcpy(d, s, l) argument
306 # define block_copy(d, s) memcpy(d, s, N_BLOCK) argument
308 # define block_copy_nn(d, s, l) copy_block_nn(d, s, l) argument
309 # define block_copy(d, s) copy_block(d, s) argument
313 static void copy_block( void *d, const void *s ) in copy_block() argument
316 ((uint_32t *)d)[ 0] = ((uint_32t *)s)[ 0]; in copy_block()
317 ((uint_32t *)d)[ 1] = ((uint_32t *)s)[ 1]; in copy_block()
318 ((uint_32t *)d)[ 2] = ((uint_32t *)s)[ 2]; in copy_block()
319 ((uint_32t *)d)[ 3] = ((uint_32t *)s)[ 3]; in copy_block()
321 ((uint_8t *)d)[ 0] = ((uint_8t *)s)[ 0]; in copy_block()
[all …]
/hal_espressif-latest/components/hal/platform_port/include/hal/
Dmisc.h16 #define HAL_SWAP16(d) __builtin_bswap16((d)) argument
17 #define HAL_SWAP32(d) __builtin_bswap32((d)) argument
18 #define HAL_SWAP64(d) __builtin_bswap64((d)) argument
/hal_espressif-latest/components/esp_netif/include/
Desp_netif_ip_addr.h27 #define esp_netif_ip4_makeu32(a,b,c,d) (((uint32_t)((a) & 0xff) << 24) | \ argument
30 (uint32_t)((d) & 0xff))
75 #define ESP_IP4TOUINT32(a,b,c,d) (((uint32_t)((a) & 0xffU) << 24) | \ argument
78 (uint32_t)((d) & 0xffU))
80 #define ESP_IP4TOADDR(a,b,c,d) esp_netif_htonl(ESP_IP4TOUINT32(a, b, c, d)) argument
82 …define ESP_IP4ADDR_INIT(a, b, c, d) { .type = ESP_IPADDR_TYPE_V4, .u_addr = { .ip4 = { .addr = ES… argument
83 #define ESP_IP6ADDR_INIT(a, b, c, d) { .type = ESP_IPADDR_TYPE_V6, .u_addr = { .ip6 = { .addr = { … argument
/hal_espressif-latest/components/mbedtls/port/ecdsa/
Decdsa_alt.c123 return esp_ecdsa_privkey_load_mpi(&(keypair->MBEDTLS_PRIVATE(d)), efuse_blk); in esp_ecdsa_privkey_load_pk_context()
127 const mbedtls_mpi *d, const unsigned char* msg, size_t msg_len) in esp_ecdsa_sign() argument
137 if (!grp || !r || !s || !d || !msg) { in esp_ecdsa_sign()
171 .efuse_key_blk = d->MBEDTLS_PRIVATE(n), in esp_ecdsa_sign()
202 const mbedtls_mpi *d, const unsigned char *buf, size_t blen,
206 const mbedtls_mpi *d, const unsigned char *buf, size_t blen,
210 const mbedtls_mpi *d, const unsigned char *buf, size_t blen, in __wrap_mbedtls_ecdsa_sign() argument
216 if (d->MBEDTLS_PRIVATE(s) == ECDSA_KEY_MAGIC) { in __wrap_mbedtls_ecdsa_sign()
218 return esp_ecdsa_sign(grp, r, s, d, buf, blen); in __wrap_mbedtls_ecdsa_sign()
220 return __real_mbedtls_ecdsa_sign(grp, r, s, d, buf, blen, f_rng, p_rng); in __wrap_mbedtls_ecdsa_sign()
[all …]
/hal_espressif-latest/components/wpa_supplicant/port/include/
Dos.h254 #define os_memcpy(d, s, n) memcpy((d), (s), (n)) argument
257 #define os_memmove(d, s, n) memmove((d), (s), (n)) argument
302 #define os_strlcpy(d, s, n) strlcpy((d), (s), (n)) argument
305 #define os_strcat(d, s) strcat((d), (s)) argument
370 #define os_task_create(a,b,c,d,e,f) wifi_funcs->_task_create((a), (b), (c), (d), (e), (f)) argument
384 #define os_event_group_wait_bits(a, b, c, d, e) wifi_funcs->_event_group_wait_bits((a), (b), (c), ( argument
/hal_espressif-latest/components/xtensa/esp32/include/xtensa/config/
Dtie-asm.h307 .macro xchal_cp1_store p a b c d continue=0 ofs=-1 select=-1 ; .endm
308 .macro xchal_cp1_load p a b c d continue=0 ofs=-1 select=-1 ; .endm
309 .macro xchal_cp2_store p a b c d continue=0 ofs=-1 select=-1 ; .endm
310 .macro xchal_cp2_load p a b c d continue=0 ofs=-1 select=-1 ; .endm
311 .macro xchal_cp3_store p a b c d continue=0 ofs=-1 select=-1 ; .endm
312 .macro xchal_cp3_load p a b c d continue=0 ofs=-1 select=-1 ; .endm
313 .macro xchal_cp4_store p a b c d continue=0 ofs=-1 select=-1 ; .endm
314 .macro xchal_cp4_load p a b c d continue=0 ofs=-1 select=-1 ; .endm
315 .macro xchal_cp5_store p a b c d continue=0 ofs=-1 select=-1 ; .endm
316 .macro xchal_cp5_load p a b c d continue=0 ofs=-1 select=-1 ; .endm
[all …]
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/crypto/
Dcrypto_mbedtls-bignum.c126 struct crypto_bignum *d) in crypto_bignum_exptmod() argument
128 …return mbedtls_mpi_exp_mod((mbedtls_mpi *) d, (const mbedtls_mpi *) a, (const mbedtls_mpi *) b, (… in crypto_bignum_exptmod()
163 struct crypto_bignum *d) in crypto_bignum_mulmod() argument
165 return mbedtls_mpi_mul_mpi((mbedtls_mpi *)d, (const mbedtls_mpi *)a, (const mbedtls_mpi *)b) || in crypto_bignum_mulmod()
166 … mbedtls_mpi_mod_mpi((mbedtls_mpi *)d, (mbedtls_mpi *)d, (const mbedtls_mpi *)c) ? -1 : 0; in crypto_bignum_mulmod()
298 struct crypto_bignum *d) in crypto_bignum_addmod() argument
306 …if (mbedtls_mpi_mod_mpi( (mbedtls_mpi *) d, (const mbedtls_mpi *) tmp, (const mbedtls_mpi *) c) < … in crypto_bignum_addmod()
/hal_espressif-latest/components/esp_system/include/esp_private/
Dpanic_internal.h63 void panic_print_dec(int d);
68 #define panic_print_dec(d) ESP_UNUSED(d) argument
/hal_espressif-latest/components/bt/porting/ext/tinycrypt/src/
Dsha256.c183 unsigned int a, b, c, d, e, f, g, h; in compress() local
190 a = iv[0]; b = iv[1]; c = iv[2]; d = iv[3]; in compress()
198 h = g; g = f; f = e; e = d + t1; in compress()
199 d = c; c = b; b = a; a = t1 + t2; in compress()
211 h = g; g = f; f = e; e = d + t1; in compress()
212 d = c; c = b; b = a; a = t1 + t2; in compress()
215 iv[0] += a; iv[1] += b; iv[2] += c; iv[3] += d; in compress()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/tinycrypt/src/
Dsha256.c183 unsigned int a, b, c, d, e, f, g, h; in compress() local
190 a = iv[0]; b = iv[1]; c = iv[2]; d = iv[3]; in compress()
198 h = g; g = f; f = e; e = d + t1; in compress()
199 d = c; c = b; b = a; a = t1 + t2; in compress()
211 h = g; g = f; f = e; e = d + t1; in compress()
212 d = c; c = b; b = a; a = t1 + t2; in compress()
215 iv[0] += a; iv[1] += b; iv[2] += c; iv[3] += d; in compress()
/hal_espressif-latest/components/wpa_supplicant/src/tls/
Dbignum.c196 const struct bignum *c, struct bignum *d) in bignum_mulmod() argument
198 if (mp_mulmod((mp_int *) a, (mp_int *) b, (mp_int *) c, (mp_int *) d) in bignum_mulmod()
216 const struct bignum *c, struct bignum *d) in bignum_exptmod() argument
218 if (mp_exptmod((mp_int *) a, (mp_int *) b, (mp_int *) c, (mp_int *) d) in bignum_exptmod()
Dbignum.h28 const struct bignum *c, struct bignum *d);
30 const struct bignum *c, struct bignum *d);
/hal_espressif-latest/components/hal/
Dlcd_hal.c54 uint32_t d = a / LCD_LL_CLK_FRAC_DIV_AB_MAX + 1; in lcd_hal_cal_pclk_freq() local
55 a /= d; in lcd_hal_cal_pclk_freq()
56 b /= d; in lcd_hal_cal_pclk_freq()
/hal_espressif-latest/components/wpa_supplicant/src/utils/
Dext_password.h27 #define ext_password_deinit(d) argument
28 #define ext_password_get(d, n) NULL argument
/hal_espressif-latest/components/xtensa/esp32s3/include/xtensa/config/
Dtie-asm.h416 .macro xchal_cp1_store p a b c d continue=0 ofs=-1 select=-1 ; .endm
417 .macro xchal_cp1_load p a b c d continue=0 ofs=-1 select=-1 ; .endm
418 .macro xchal_cp2_store p a b c d continue=0 ofs=-1 select=-1 ; .endm
419 .macro xchal_cp2_load p a b c d continue=0 ofs=-1 select=-1 ; .endm
420 .macro xchal_cp4_store p a b c d continue=0 ofs=-1 select=-1 ; .endm
421 .macro xchal_cp4_load p a b c d continue=0 ofs=-1 select=-1 ; .endm
422 .macro xchal_cp5_store p a b c d continue=0 ofs=-1 select=-1 ; .endm
423 .macro xchal_cp5_load p a b c d continue=0 ofs=-1 select=-1 ; .endm
424 .macro xchal_cp6_store p a b c d continue=0 ofs=-1 select=-1 ; .endm
425 .macro xchal_cp6_load p a b c d continue=0 ofs=-1 select=-1 ; .endm
[all …]

1234