/external/wpa_supplicant_6/wpa_supplicant/src/tls/ |
D | tlsv1_record.c | 246 const u8 *in_data, size_t in_len, in tlsv1_record_receive() argument 255 in_data, in_len); in tlsv1_record_receive() 257 if (in_len < TLS_RECORD_HEADER_LEN) { in tlsv1_record_receive() 259 (unsigned long) in_len); in tlsv1_record_receive() 296 in_len -= TLS_RECORD_HEADER_LEN; in tlsv1_record_receive() 298 if (rlen > in_len) { in tlsv1_record_receive() 301 (unsigned long) rlen, (unsigned long) in_len); in tlsv1_record_receive() 306 in_len = rlen; in tlsv1_record_receive() 308 if (*out_len < in_len) { in tlsv1_record_receive() 315 os_memcpy(out_data, in_data, in_len); in tlsv1_record_receive() [all …]
|
D | tlsv1_client_read.c | 28 const u8 *in_data, size_t *in_len); 30 const u8 *in_data, size_t *in_len); 32 const u8 *in_data, size_t *in_len); 36 const u8 *in_data, size_t *in_len) in tls_process_server_hello() argument 51 left = *in_len; in tls_process_server_hello() 199 *in_len = end - in_data; in tls_process_server_hello() 214 const u8 *in_data, size_t *in_len) in tls_process_certificate() argument 231 left = *in_len; in tls_process_certificate() 255 in_len); in tls_process_certificate() 258 in_len); in tls_process_certificate() [all …]
|
D | tlsv1_server_read.c | 29 const u8 *in_data, size_t *in_len); 32 size_t *in_len); 36 const u8 *in_data, size_t *in_len) in tls_process_client_hello() argument 54 left = *in_len; in tls_process_client_hello() 251 *in_len = end - in_data; in tls_process_client_hello() 268 const u8 *in_data, size_t *in_len) in tls_process_certificate() argument 285 left = *in_len; in tls_process_certificate() 319 in_len); in tls_process_certificate() 461 *in_len = end - in_data; in tls_process_certificate() 675 const u8 *in_data, size_t *in_len) in tls_process_client_key_exchange() argument [all …]
|
D | tlsv1_client.c | 132 const u8 *in_data, size_t in_len, in tlsv1_client_handshake() argument 142 if (in_len) in tlsv1_client_handshake() 147 if (in_data == NULL || in_len == 0) in tlsv1_client_handshake() 151 end = in_data + in_len; in tlsv1_client_handshake() 152 in_msg = os_malloc(in_len); in tlsv1_client_handshake() 158 in_msg_len = in_len; in tlsv1_client_handshake() 222 const u8 *in_data, size_t in_len, in tlsv1_client_encrypt() argument 228 in_data, in_len); in tlsv1_client_encrypt() 230 os_memcpy(out_data + TLS_RECORD_HEADER_LEN, in_data, in_len); in tlsv1_client_encrypt() 233 out_data, out_len, in_len, &rlen) < 0) { in tlsv1_client_encrypt() [all …]
|
D | tlsv1_server.c | 112 const u8 *in_data, size_t in_len, in tlsv1_server_handshake() argument 119 if (in_data == NULL || in_len == 0) { in tlsv1_server_handshake() 125 end = in_data + in_len; in tlsv1_server_handshake() 126 in_msg = os_malloc(in_len); in tlsv1_server_handshake() 132 in_msg_len = in_len; in tlsv1_server_handshake() 196 const u8 *in_data, size_t in_len, in tlsv1_server_encrypt() argument 202 in_data, in_len); in tlsv1_server_encrypt() 204 os_memcpy(out_data + TLS_RECORD_HEADER_LEN, in_data, in_len); in tlsv1_server_encrypt() 207 out_data, out_len, in_len, &rlen) < 0) { in tlsv1_server_encrypt() 231 const u8 *in_data, size_t in_len, in tlsv1_server_decrypt() argument [all …]
|
D | tlsv1_server.h | 30 const u8 *in_data, size_t in_len, size_t *out_len); 32 const u8 *in_data, size_t in_len, 35 const u8 *in_data, size_t in_len,
|
D | tlsv1_client.h | 30 const u8 *in_data, size_t in_len, 34 const u8 *in_data, size_t in_len, 37 const u8 *in_data, size_t in_len,
|
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
D | srtpfilter.cc | 123 bool SrtpFilter::ProtectRtp(void* p, int in_len, int max_len, int* out_len) { in ProtectRtp() argument 128 return send_session_.ProtectRtp(p, in_len, max_len, out_len); in ProtectRtp() 131 bool SrtpFilter::ProtectRtcp(void* p, int in_len, int max_len, int* out_len) { in ProtectRtcp() argument 136 return send_session_.ProtectRtcp(p, in_len, max_len, out_len); in ProtectRtcp() 139 bool SrtpFilter::UnprotectRtp(void* p, int in_len, int* out_len) { in UnprotectRtp() argument 144 return recv_session_.UnprotectRtp(p, in_len, out_len); in UnprotectRtp() 147 bool SrtpFilter::UnprotectRtcp(void* p, int in_len, int* out_len) { in UnprotectRtcp() argument 152 return recv_session_.UnprotectRtcp(p, in_len, out_len); in UnprotectRtcp() 271 bool SrtpSession::ProtectRtp(void* p, int in_len, int max_len, int* out_len) { in ProtectRtp() argument 277 int need_len = in_len + rtp_auth_tag_len_; // NOLINT in ProtectRtp() [all …]
|
D | srtpfilter.h | 72 bool ProtectRtp(void* data, int in_len, int max_len, int* out_len); 73 bool ProtectRtcp(void* data, int in_len, int max_len, int* out_len); 76 bool UnprotectRtp(void* data, int in_len, int* out_len); 77 bool UnprotectRtcp(void* data, int in_len, int* out_len); 120 bool ProtectRtp(void* data, int in_len, int max_len, int* out_len); 121 bool ProtectRtcp(void* data, int in_len, int max_len, int* out_len); 124 bool UnprotectRtp(void* data, int in_len, int* out_len); 125 bool UnprotectRtcp(void* data, int in_len, int* out_len);
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_client_read.c | 23 const u8 *in_data, size_t *in_len); 25 const u8 *in_data, size_t *in_len); 27 const u8 *in_data, size_t *in_len); 31 const u8 *in_data, size_t *in_len) in tls_process_server_hello() argument 47 left = *in_len; in tls_process_server_hello() 200 *in_len = end - in_data; in tls_process_server_hello() 215 const u8 *in_data, size_t *in_len) in tls_process_certificate() argument 232 left = *in_len; in tls_process_certificate() 256 in_len); in tls_process_certificate() 259 in_len); in tls_process_certificate() [all …]
|
D | tlsv1_record.c | 279 const u8 *in_data, size_t in_len, in tlsv1_record_receive() argument 289 if (in_len < TLS_RECORD_HEADER_LEN) { in tlsv1_record_receive() 292 (unsigned long) in_len); in tlsv1_record_receive() 294 in_data, in_len); in tlsv1_record_receive() 324 in_len -= TLS_RECORD_HEADER_LEN; in tlsv1_record_receive() 326 if (rlen > in_len) { in tlsv1_record_receive() 329 (unsigned long) rlen, (unsigned long) in_len); in tlsv1_record_receive() 346 in_len = rlen; in tlsv1_record_receive() 348 if (*out_len < in_len) { in tlsv1_record_receive() 358 out_data, in_len) < 0) { in tlsv1_record_receive() [all …]
|
D | tlsv1_client.c | 140 const u8 *in_data, size_t in_len, in tlsv1_client_handshake() argument 154 if (in_len) in tlsv1_client_handshake() 160 if (wpabuf_resize(&conn->partial_input, in_len) < 0) { in tlsv1_client_handshake() 167 wpabuf_put_data(conn->partial_input, in_data, in_len); in tlsv1_client_handshake() 169 in_len = wpabuf_len(conn->partial_input); in tlsv1_client_handshake() 172 if (in_data == NULL || in_len == 0) in tlsv1_client_handshake() 176 end = in_data + in_len; in tlsv1_client_handshake() 177 in_msg = os_malloc(in_len); in tlsv1_client_handshake() 183 in_msg_len = in_len; in tlsv1_client_handshake() 274 const u8 *in_data, size_t in_len, in tlsv1_client_encrypt() argument [all …]
|
D | tlsv1_server_read.c | 24 const u8 *in_data, size_t *in_len); 27 size_t *in_len); 31 const u8 *in_data, size_t *in_len) in tls_process_client_hello() argument 49 left = *in_len; in tls_process_client_hello() 261 *in_len = end - in_data; in tls_process_client_hello() 278 const u8 *in_data, size_t *in_len) in tls_process_certificate() argument 295 left = *in_len; in tls_process_certificate() 329 in_len); in tls_process_certificate() 471 *in_len = end - in_data; in tls_process_certificate() 689 const u8 *in_data, size_t *in_len) in tls_process_client_key_exchange() argument [all …]
|
D | tlsv1_server.c | 108 const u8 *in_data, size_t in_len, in tlsv1_server_handshake() argument 116 if (in_data == NULL || in_len == 0) { in tlsv1_server_handshake() 122 end = in_data + in_len; in tlsv1_server_handshake() 123 in_msg = os_malloc(in_len); in tlsv1_server_handshake() 129 in_msg_len = in_len; in tlsv1_server_handshake() 201 const u8 *in_data, size_t in_len, in tlsv1_server_encrypt() argument 207 in_data, in_len); in tlsv1_server_encrypt() 210 out_data, out_len, in_data, in_len, &rlen) < 0) { in tlsv1_server_encrypt() 234 const u8 *in_data, size_t in_len, in tlsv1_server_decrypt() argument 243 in_end = in_data + in_len; in tlsv1_server_decrypt()
|
D | tlsv1_server.h | 24 const u8 *in_data, size_t in_len, size_t *out_len); 26 const u8 *in_data, size_t in_len, 29 const u8 *in_data, size_t in_len,
|
D | tlsv1_client.h | 24 const u8 *in_data, size_t in_len, 28 const u8 *in_data, size_t in_len, 31 const u8 *in_data, size_t in_len,
|
/external/qemu/hw/ |
D | bt-hci-csr.c | 41 int in_len; member 192 s->in_len - sizeof(struct hci_command_hdr) - 1); in csrhci_in_packet() 202 s->hci->cmd_send(s->hci, pkt, s->in_len - 1); in csrhci_in_packet() 209 s->hci->acl_send(s->hci, pkt, s->in_len - 1); in csrhci_in_packet() 213 s->hci->sco_send(s->hci, pkt, s->in_len - 1); in csrhci_in_packet() 302 int plen = s->in_len; in csrhci_write() 307 s->in_len += len; in csrhci_write() 311 if (s->in_len >= 2 && plen < 2) in csrhci_write() 314 if (s->in_len >= s->in_hdr && plen < s->in_hdr) in csrhci_write() 317 if (s->in_len >= s->in_data) { in csrhci_write() [all …]
|
/external/liblzf/src/org/liblzf/ |
D | CLZF.java | 153 public static int lzf_compress (byte[] in_data, int in_len,byte[] out_data, int out_len) in lzf_compress() argument 175 if (iidx < in_len - 2) in lzf_compress() 183 && iidx + 4 < in_len in lzf_compress() 192 int maxlen = in_len - iidx - len; in lzf_compress() 239 else if (iidx == in_len) in lzf_compress() 277 public static int lzf_decompress ( byte[] in_data, int in_len, byte[] out_data, int out_len) in lzf_decompress() argument 331 while (iidx < in_len); in lzf_decompress()
|
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
D | tls_internal.c | 335 const u8 *in_data, size_t in_len, in tls_connection_handshake() argument 347 __func__, in_data, (unsigned long) in_len); in tls_connection_handshake() 348 return tlsv1_client_handshake(conn->client, in_data, in_len, out_len, in tls_connection_handshake() 358 const u8 *in_data, size_t in_len, in tls_connection_server_handshake() argument 367 __func__, in_data, (unsigned long) in_len); in tls_connection_server_handshake() 368 out = tlsv1_server_handshake(conn->server, in_data, in_len, out_len); in tls_connection_server_handshake() 381 const u8 *in_data, size_t in_len, in tls_connection_encrypt() argument 386 return tlsv1_client_encrypt(conn->client, in_data, in_len, in tls_connection_encrypt() 392 return tlsv1_server_encrypt(conn->server, in_data, in_len, in tls_connection_encrypt() 401 const u8 *in_data, size_t in_len, in tls_connection_decrypt() argument [all …]
|
D | tls_schannel.c | 320 const u8 *in_data, size_t in_len, in tls_connection_handshake() argument 340 in_len); in tls_connection_handshake() 350 inbufs[0].cbBuffer = in_len; in tls_connection_handshake() 475 const u8 *in_data, size_t in_len, in tls_connection_server_handshake() argument 483 const u8 *in_data, size_t in_len, in tls_connection_encrypt() argument 507 total_len = sizes.cbHeader + in_len + sizes.cbTrailer; in tls_connection_encrypt() 512 (unsigned long) out_len, (unsigned long) in_len, in tls_connection_encrypt() 522 os_memcpy(out_data + sizes.cbHeader, in_data, in_len); in tls_connection_encrypt() 524 bufs[1].cbBuffer = in_len; in tls_connection_encrypt() 527 bufs[2].pvBuffer = out_data + sizes.cbHeader + in_len; in tls_connection_encrypt() [all …]
|
D | tls_none.c | 111 const u8 *in_data, size_t in_len, in tls_connection_handshake() argument 121 const u8 *in_data, size_t in_len, in tls_connection_server_handshake() argument 129 const u8 *in_data, size_t in_len, in tls_connection_encrypt() argument 137 const u8 *in_data, size_t in_len, in tls_connection_decrypt() argument
|
/external/liblzf/cs/ |
D | CLZF.cs | 153 public int lzf_compress (byte[] in_data, int in_len,byte[] out_data, int out_len) in lzf_compress() argument 175 if (iidx < in_len - 2) in lzf_compress() 183 && iidx + 4 < in_len in lzf_compress() 192 UInt32 maxlen = (UInt32)in_len - iidx - len; in lzf_compress() 239 else if (iidx == in_len) in lzf_compress() 277 public int lzf_decompress ( byte[] in_data, int in_len, byte[] out_data, int out_len) in lzf_decompress() argument 331 while (iidx < in_len); in lzf_decompress()
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
D | eap_tls_common.c | 318 const u8 *in_data, size_t in_len) in eap_peer_tls_reassemble_fragment() argument 322 if (data->tls_in_len + in_len == 0) { in eap_peer_tls_reassemble_fragment() 328 (unsigned long) in_len); in eap_peer_tls_reassemble_fragment() 333 if (data->tls_in_len + in_len > 65536) { in eap_peer_tls_reassemble_fragment() 344 if (in_len > data->tls_in_left) { in eap_peer_tls_reassemble_fragment() 352 buf = os_realloc(data->tls_in, data->tls_in_len + in_len); in eap_peer_tls_reassemble_fragment() 359 os_memcpy(buf + data->tls_in_len, in_data, in_len); in eap_peer_tls_reassemble_fragment() 361 data->tls_in_len += in_len; in eap_peer_tls_reassemble_fragment() 362 data->tls_in_left -= in_len; in eap_peer_tls_reassemble_fragment() 389 struct eap_ssl_data *data, const u8 *in_data, size_t in_len, in eap_peer_tls_data_reassemble() argument [all …]
|
/external/speex/libspeex/ |
D | resample.c | 332 …e *st, spx_uint32_t channel_index, const spx_word16_t *in, spx_uint32_t *in_len, spx_word16_t *out… in resampler_basic_direct_single() argument 346 while (!(last_sample >= (spx_int32_t)*in_len || out_sample >= (spx_int32_t)*out_len)) in resampler_basic_direct_single() 384 …e *st, spx_uint32_t channel_index, const spx_word16_t *in, spx_uint32_t *in_len, spx_word16_t *out… in resampler_basic_direct_double() argument 398 while (!(last_sample >= (spx_int32_t)*in_len || out_sample >= (spx_int32_t)*out_len)) in resampler_basic_direct_double() 433 …e *st, spx_uint32_t channel_index, const spx_word16_t *in, spx_uint32_t *in_len, spx_word16_t *out… in resampler_basic_interpolate_single() argument 446 while (!(last_sample >= (spx_int32_t)*in_len || out_sample >= (spx_int32_t)*out_len)) in resampler_basic_interpolate_single() 496 …e *st, spx_uint32_t channel_index, const spx_word16_t *in, spx_uint32_t *in_len, spx_word16_t *out… in resampler_basic_interpolate_double() argument 509 while (!(last_sample >= (spx_int32_t)*in_len || out_sample >= (spx_int32_t)*out_len)) in resampler_basic_interpolate_double() 802 …ative(SpeexResamplerState *st, spx_uint32_t channel_index, spx_uint32_t *in_len, spx_word16_t *out… in speex_resampler_process_native() argument 813 out_sample = st->resampler_ptr(st, channel_index, mem, in_len, out, out_len); in speex_resampler_process_native() [all …]
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_tls_common.c | 316 size_t tls_in_len, in_len; in eap_peer_tls_reassemble_fragment() local 319 in_len = in_data ? wpabuf_len(in_data) : 0; in eap_peer_tls_reassemble_fragment() 321 if (tls_in_len + in_len == 0) { in eap_peer_tls_reassemble_fragment() 327 (unsigned long) in_len); in eap_peer_tls_reassemble_fragment() 332 if (tls_in_len + in_len > 65536) { in eap_peer_tls_reassemble_fragment() 343 if (in_len > data->tls_in_left) { in eap_peer_tls_reassemble_fragment() 351 if (wpabuf_resize(&data->tls_in, in_len) < 0) { in eap_peer_tls_reassemble_fragment() 359 data->tls_in_left -= in_len; in eap_peer_tls_reassemble_fragment() 422 const u8 *in_data, size_t in_len, in eap_tls_process_input() argument 430 wpabuf_set(&buf, in_data, in_len); in eap_tls_process_input() [all …]
|