Home
last modified time | relevance | path

Searched refs:ct (Results 1 – 21 of 21) sorted by relevance

/hal_espressif-2.7.6/components/wpa_supplicant/src/tls/
Dtlsv1_client_read.c23 static int tls_process_server_key_exchange(struct tlsv1_client *conn, u8 ct,
25 static int tls_process_certificate_request(struct tlsv1_client *conn, u8 ct,
27 static int tls_process_server_hello_done(struct tlsv1_client *conn, u8 ct,
31 static int tls_process_server_hello(struct tlsv1_client *conn, u8 ct, in tls_process_server_hello() argument
39 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { in tls_process_server_hello()
41 "received content type 0x%x", ct); in tls_process_server_hello()
215 static int tls_process_certificate(struct tlsv1_client *conn, u8 ct, in tls_process_certificate() argument
224 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { in tls_process_certificate()
226 "received content type 0x%x", ct); in tls_process_certificate()
256 return tls_process_server_key_exchange(conn, ct, in_data, in tls_process_certificate()
[all …]
Dtlsv1_server_read.c24 static int tls_process_client_key_exchange(struct tlsv1_server *conn, u8 ct,
27 u8 ct, const u8 *in_data,
31 static int tls_process_client_hello(struct tlsv1_server *conn, u8 ct, in tls_process_client_hello() argument
41 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { in tls_process_client_hello()
43 "received content type 0x%x", ct); in tls_process_client_hello()
278 static int tls_process_certificate(struct tlsv1_server *conn, u8 ct, in tls_process_certificate() argument
287 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { in tls_process_certificate()
289 "received content type 0x%x", ct); in tls_process_certificate()
329 return tls_process_client_key_exchange(conn, ct, in_data, in tls_process_certificate()
689 static int tls_process_client_key_exchange(struct tlsv1_server *conn, u8 ct, in tls_process_client_key_exchange() argument
[all …]
Dtlsv1_record.c291 u8 ct; in tlsv1_record_receive() local
302 ct = in_data[0]; in tlsv1_record_receive()
305 "length %d", ct, in_data[1], in_data[2], (int) rlen); in tlsv1_record_receive()
340 if (ct != TLS_CONTENT_TYPE_HANDSHAKE && in tlsv1_record_receive()
341 ct != TLS_CONTENT_TYPE_CHANGE_CIPHER_SPEC && in tlsv1_record_receive()
342 ct != TLS_CONTENT_TYPE_ALERT && in tlsv1_record_receive()
343 ct != TLS_CONTENT_TYPE_APPLICATION_DATA) { in tlsv1_record_receive()
345 "content type 0x%x", ct); in tlsv1_record_receive()
Dtlsv1_server.c112 u8 *msg = NULL, *in_msg, *in_pos, *in_end, alert, ct; in tlsv1_server_handshake() local
145 ct = pos[0]; in tlsv1_server_handshake()
154 if (tlsv1_server_process_handshake(conn, ct, in_pos, in tlsv1_server_handshake()
239 u8 alert, *out_end, *out_pos, ct; in tlsv1_server_decrypt() local
248 ct = pos[0]; in tlsv1_server_decrypt()
266 if (ct == TLS_CONTENT_TYPE_ALERT) { in tlsv1_server_decrypt()
287 if (ct != TLS_CONTENT_TYPE_APPLICATION_DATA) { in tlsv1_server_decrypt()
Dtlsv1_client.c145 u8 *msg = NULL, *in_msg = NULL, *in_pos, *in_end, alert, ct; in tlsv1_client_handshake() local
211 ct = pos[0]; in tlsv1_client_handshake()
220 if (tlsv1_client_process_handshake(conn, ct, in_pos, in tlsv1_client_handshake()
312 u8 alert, *out_pos, ct; in tlsv1_client_decrypt() local
335 ct = pos[0]; in tlsv1_client_decrypt()
367 if (ct == TLS_CONTENT_TYPE_ALERT) { in tlsv1_client_decrypt()
386 if (ct != TLS_CONTENT_TYPE_APPLICATION_DATA) { in tlsv1_client_decrypt()
Dtlsv1_server_i.h68 int tlsv1_server_process_handshake(struct tlsv1_server *conn, u8 ct,
Dtlsv1_client_i.h80 int tlsv1_client_process_handshake(struct tlsv1_client *conn, u8 ct,
/hal_espressif-2.7.6/components/esp32/test/
Dtest_fastbus.c38 int ct[256]; in tskOne() local
51 ct[x] = 0; //zero ctrs in tskOne()
54 ct[(int)res[x]^xor]++; //count values in tskOne()
57 if (ct[x] != (x < 128 ? 1 : 0)) { in tskOne()
61 printf("Error! Received value %d %d times!\n", x, ct[x]); in tskOne()
/hal_espressif-2.7.6/components/wpa_supplicant/src/crypto/
Daes_i.h117 #define PUTU32(ct, st) { *((u32 *)(ct)) = SWAP((st)); } argument
121 #define PUTU32(ct, st) { \ argument
122 (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); \
123 (ct)[2] = (u8)((st) >> 8); (ct)[3] = (u8)(st); }
Daes-internal-enc.c31 void rijndaelEncrypt(const u32 rk[], int Nr, const u8 pt[16], u8 ct[16]) in rijndaelEncrypt()
96 PUTU32(ct , s0); in rijndaelEncrypt()
98 PUTU32(ct + 4, s1); in rijndaelEncrypt()
100 PUTU32(ct + 8, s2); in rijndaelEncrypt()
102 PUTU32(ct + 12, s3); in rijndaelEncrypt()
Daes-internal-dec.c86 static void rijndaelDecrypt(const u32 rk[/*44*/], int Nr, const u8 ct[16], in rijndaelDecrypt()
98 s0 = GETU32(ct ) ^ rk[0]; in rijndaelDecrypt()
99 s1 = GETU32(ct + 4) ^ rk[1]; in rijndaelDecrypt()
100 s2 = GETU32(ct + 8) ^ rk[2]; in rijndaelDecrypt()
101 s3 = GETU32(ct + 12) ^ rk[3]; in rijndaelDecrypt()
/hal_espressif-2.7.6/docs/zh_CN/get-started-legacy/
Dmacos-setup-scratch.rst64 ./ct-ng xtensa-esp32-elf
65 ./ct-ng build
Dlinux-setup-scratch.rst65 ./ct-ng xtensa-esp32-elf
66 ./ct-ng build
/hal_espressif-2.7.6/docs/zh_CN/get-started/
Dmacos-setup-scratch.rst76 ./ct-ng {IDF_TARGET_TOOLCHAIN_PREFIX}
77 ./ct-ng build
Dlinux-setup-scratch.rst71 ./ct-ng {IDF_TARGET_TOOLCHAIN_PREFIX}
72 ./ct-ng build
/hal_espressif-2.7.6/docs/en/get-started-legacy/
Dmacos-setup-scratch.rst64 ./ct-ng xtensa-esp32-elf
65 ./ct-ng build
Dlinux-setup-scratch.rst67 ./ct-ng xtensa-esp32-elf
68 ./ct-ng build
/hal_espressif-2.7.6/components/esp32/
Desp_himem.c111 static void set_bank(int virt_bank, int phys_bank, int ct) in set_bank() argument
114 …et( 0, 0, SOC_EXTRAM_DATA_LOW + CACHE_BLOCKSIZE * virt_bank, phys_bank * CACHE_BLOCKSIZE, 32, ct ); in set_bank()
116 …et( 1, 0, SOC_EXTRAM_DATA_LOW + CACHE_BLOCKSIZE * virt_bank, phys_bank * CACHE_BLOCKSIZE, 32, ct ); in set_bank()
/hal_espressif-2.7.6/docs/en/get-started/
Dmacos-setup-scratch.rst76 ./ct-ng {IDF_TARGET_TOOLCHAIN_PREFIX}
77 ./ct-ng build
Dlinux-setup-scratch.rst71 ./ct-ng {IDF_TARGET_TOOLCHAIN_PREFIX}
72 ./ct-ng build
/hal_espressif-2.7.6/components/fatfs/src/
Dff.c6106 UINT ct; local
6143 ct = 0;
6144 if ((dc & 0xE0) == 0xC0) { dc &= 0x1F; ct = 1; } /* 2-byte? */
6145 if ((dc & 0xF0) == 0xE0) { dc &= 0x0F; ct = 2; } /* 3-byte? */
6146 if ((dc & 0xF8) == 0xF0) { dc &= 0x07; ct = 3; } /* 4-byte? */
6147 if (ct == 0) continue;
6148 f_read(fp, s, ct, &rc); /* Get trailing bytes */
6149 if (rc != ct) break;
6154 } while (++rc < ct);
6155 if (rc != ct || dc < 0x80 || IsSurrogate(dc) || dc >= 0x110000) continue; /* Wrong encoding? */
[all …]