/hostap-latest/src/tls/ |
D | tlsv1_client_read.c | 22 static int tls_process_server_key_exchange(struct tlsv1_client *conn, u8 ct, 24 static int tls_process_certificate_request(struct tlsv1_client *conn, u8 ct, 26 static int tls_process_server_hello_done(struct tlsv1_client *conn, u8 ct, 78 static int tls_process_server_hello(struct tlsv1_client *conn, u8 ct, in tls_process_server_hello() argument 86 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { in tls_process_server_hello() 88 "received content type 0x%x", ct); in tls_process_server_hello() 354 static int tls_process_certificate(struct tlsv1_client *conn, u8 ct, in tls_process_certificate() argument 363 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { in tls_process_certificate() 365 "received content type 0x%x", ct); in tls_process_certificate() 395 return tls_process_server_key_exchange(conn, ct, in_data, in tls_process_certificate() [all …]
|
D | tlsv1_server_read.c | 23 static int tls_process_client_key_exchange(struct tlsv1_server *conn, u8 ct, 26 u8 ct, const u8 *in_data, 121 static int tls_process_client_hello(struct tlsv1_server *conn, u8 ct, in tls_process_client_hello() argument 131 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { in tls_process_client_hello() 133 ct); in tls_process_client_hello() 396 static int tls_process_certificate(struct tlsv1_server *conn, u8 ct, in tls_process_certificate() argument 405 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { in tls_process_certificate() 407 ct); in tls_process_certificate() 445 return tls_process_client_key_exchange(conn, ct, in_data, in tls_process_certificate() 807 static int tls_process_client_key_exchange(struct tlsv1_server *conn, u8 ct, in tls_process_client_key_exchange() argument [all …]
|
D | tlsv1_record.c | 287 u8 ct; in tlsv1_record_receive() local 298 ct = in_data[0]; in tlsv1_record_receive() 301 "length %d", ct, in_data[1], in_data[2], (int) rlen); in tlsv1_record_receive() 336 if (ct != TLS_CONTENT_TYPE_HANDSHAKE && in tlsv1_record_receive() 337 ct != TLS_CONTENT_TYPE_CHANGE_CIPHER_SPEC && in tlsv1_record_receive() 338 ct != TLS_CONTENT_TYPE_ALERT && in tlsv1_record_receive() 339 ct != TLS_CONTENT_TYPE_APPLICATION_DATA) { in tlsv1_record_receive() 341 "content type 0x%x", ct); in tlsv1_record_receive()
|
D | tlsv1_server.c | 137 u8 *msg = NULL, *in_msg, *in_pos, *in_end, alert, ct; in tlsv1_server_handshake() local 171 ct = pos[0]; in tlsv1_server_handshake() 180 if (tlsv1_server_process_handshake(conn, ct, in_pos, in tlsv1_server_handshake() 266 u8 alert, *out_end, *out_pos, ct; in tlsv1_server_decrypt() local 275 ct = pos[0]; in tlsv1_server_decrypt() 292 if (ct == TLS_CONTENT_TYPE_ALERT) { in tlsv1_server_decrypt() 313 if (ct != TLS_CONTENT_TYPE_APPLICATION_DATA) { in tlsv1_server_decrypt()
|
D | tlsv1_client.c | 169 u8 *msg = NULL, *in_msg = NULL, *in_pos, *in_end, alert, ct; in tlsv1_client_handshake() local 235 ct = pos[0]; in tlsv1_client_handshake() 244 if (tlsv1_client_process_handshake(conn, ct, in_pos, in tlsv1_client_handshake() 336 u8 alert, *out_pos, ct; in tlsv1_client_decrypt() local 359 ct = pos[0]; in tlsv1_client_decrypt() 391 if (ct == TLS_CONTENT_TYPE_ALERT) { in tlsv1_client_decrypt() 410 if (ct != TLS_CONTENT_TYPE_APPLICATION_DATA) { in tlsv1_client_decrypt()
|
D | tlsv1_server_i.h | 84 int tlsv1_server_process_handshake(struct tlsv1_server *conn, u8 ct,
|
D | tlsv1_client_i.h | 91 int tlsv1_client_process_handshake(struct tlsv1_client *conn, u8 ct,
|
/hostap-latest/src/crypto/ |
D | aes_i.h | 111 #define PUTU32(ct, st) { *((u32 *)(ct)) = SWAP((st)); } argument 115 #define PUTU32(ct, st) { \ argument 116 (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); \ 117 (ct)[2] = (u8)((st) >> 8); (ct)[3] = (u8)(st); }
|
D | aes-internal-enc.c | 23 static void rijndaelEncrypt(const u32 rk[], int Nr, const u8 pt[16], u8 ct[16]) in rijndaelEncrypt() 88 PUTU32(ct , s0); in rijndaelEncrypt() 90 PUTU32(ct + 4, s1); in rijndaelEncrypt() 92 PUTU32(ct + 8, s2); in rijndaelEncrypt() 94 PUTU32(ct + 12, s3); in rijndaelEncrypt()
|
D | aes-internal-dec.c | 75 static void rijndaelDecrypt(const u32 rk[/*44*/], int Nr, const u8 ct[16], in rijndaelDecrypt() 87 s0 = GETU32(ct ) ^ rk[0]; in rijndaelDecrypt() 88 s1 = GETU32(ct + 4) ^ rk[1]; in rijndaelDecrypt() 89 s2 = GETU32(ct + 8) ^ rk[2]; in rijndaelDecrypt() 90 s3 = GETU32(ct + 12) ^ rk[3]; in rijndaelDecrypt()
|
D | crypto_module_tests.c | 2208 const char *ct; member 2223 ….ct = "5ad590bb8baa577f8619db35a36311226a896e7342a6d836d8b7bcd2f20b6c7f9076ac232e3ab2523f39513434", 2238 ….ct = "d3cf4984931484a080f74c1bb2a6782700dc1fef9abe8442e44a6f09044c88907200b332003543754eb51917ba", 2253 ….ct = "170f8beddfe949b75ef9c387e201baf4132fa7374593dfafa90768788b7b2b200aafcc6d80ea4c795a7c5b841a", 2268 ….ct = "ae7feccfea0f8fcd620d15369a28db8701cdc90d55c20efff6296bd441697b0da34671d1f3c4864183e86d27fc", 2283 ….ct = "17c84b3f07f6ffe08ff2be45c709ea782229504aa5b2253876725c6c39f8d8c992304fc5877994f79d6c10d462", 2298 ….ct = "5f5e9f82bedadec0e9b01a1b304cb48b05c0d6d397b1c8a95ed541218ec54f634a41cbc4066910a409e47b254e", 2313 ….ct = "033d91c4514857da5b833635180c1acc09f175cbf44777a7b71e177705cfd17437b1c85d671dd767bb4fe20e2e", 2320 struct wpabuf *info, *pk_r, *sk_r, *enc, *pt, *aad, *ct; in run_hpke_test() local 2334 ct = wpabuf_parse_bin(test->ct); in run_hpke_test() [all …]
|
D | crypto_openssl.c | 5103 struct wpabuf *ct = NULL; in hpke_aead_seal() local 5122 ct = wpabuf_alloc(pt_len + AES_BLOCK_SIZE + ctx->n_t); in hpke_aead_seal() 5123 if (!ct) in hpke_aead_seal() 5125 if (EVP_EncryptUpdate(cctx, wpabuf_put(ct, 0), &len, pt, pt_len) != 1) { in hpke_aead_seal() 5130 wpabuf_put(ct, len); in hpke_aead_seal() 5132 if (EVP_EncryptFinal(cctx, wpabuf_put(ct, 0), &len) != 1) { in hpke_aead_seal() 5135 wpabuf_free(ct); in hpke_aead_seal() 5136 ct = NULL; in hpke_aead_seal() 5141 wpabuf_put(ct, ctx->n_t)) != 1) { in hpke_aead_seal() 5144 wpabuf_free(ct); in hpke_aead_seal() [all …]
|
/hostap-latest/tests/ |
D | test-aes.c | 26 u8 key[16], pt[16], ct[16]; in test_aes_perf() 43 aes_encrypt(ctx, pt, ct); in test_aes_perf()
|
/hostap-latest/src/utils/ |
D | http_curl.c | 1683 char ct[200]; in http_post() local 1684 snprintf(ct, sizeof(ct), "Content-Type: %s", content_type); in http_post() 1685 curl_hdr = curl_slist_append(curl_hdr, ct); in http_post()
|
/hostap-latest/src/drivers/ |
D | driver_nl80211.c | 1796 enum nl80211_channel_type ct = in get_channel_info() local 1799 switch (ct) { in get_channel_info() 5003 enum nl80211_channel_type ct; in nl80211_put_freq_params() local 5009 ct = NL80211_CHAN_HT40MINUS; in nl80211_put_freq_params() 5012 ct = NL80211_CHAN_HT40PLUS; in nl80211_put_freq_params() 5015 ct = NL80211_CHAN_HT20; in nl80211_put_freq_params() 5019 wpa_printf(MSG_DEBUG, " * channel_type=%d", ct); in nl80211_put_freq_params() 5020 if (nla_put_u32(msg, NL80211_ATTR_WIPHY_CHANNEL_TYPE, ct)) in nl80211_put_freq_params()
|