Home
last modified time | relevance | path

Searched refs:out_data (Results 1 – 16 of 16) sorted by relevance

/external/wpa_supplicant/
Dtlsv1_common.c391 u8 *out_data, size_t *out_len, u8 *alert) in tlsv1_record_receive() argument
458 os_memcpy(out_data, in_data, in_len); in tlsv1_record_receive()
462 if (crypto_cipher_decrypt(rl->read_cbc, out_data, in tlsv1_record_receive()
463 out_data, in_len) < 0) { in tlsv1_record_receive()
474 padlen = out_data[in_len - 1]; in tlsv1_record_receive()
484 if (out_data[i] != padlen) { in tlsv1_record_receive()
488 out_data + in_len - padlen, in tlsv1_record_receive()
500 out_data, in_len); in tlsv1_record_receive()
525 crypto_hash_update(hmac, out_data, *out_len); in tlsv1_record_receive()
533 os_memcmp(hash, out_data + *out_len, hlen) != 0) { in tlsv1_record_receive()
Dtls_schannel.c484 u8 *out_data, size_t out_len) in tls_connection_encrypt() argument
518 bufs[0].pvBuffer = out_data; in tls_connection_encrypt()
522 os_memcpy(out_data + sizes.cbHeader, in_data, in_len); in tls_connection_encrypt()
523 bufs[1].pvBuffer = out_data + sizes.cbHeader; in tls_connection_encrypt()
527 bufs[2].pvBuffer = out_data + sizes.cbHeader + in_len; in tls_connection_encrypt()
546 out_data, bufs[0].pvBuffer, bufs[1].pvBuffer, in tls_connection_encrypt()
560 "EncryptMessage", out_data, total_len); in tls_connection_encrypt()
572 u8 *out_data, size_t out_len) in tls_connection_decrypt() argument
589 os_memcpy(out_data, in_data, in_len); in tls_connection_decrypt()
590 bufs[0].pvBuffer = out_data; in tls_connection_decrypt()
[all …]
Dtls_internal.c213 u8 *out_data, size_t out_len) in tls_connection_encrypt() argument
215 return tlsv1_client_encrypt(conn->client, in_data, in_len, out_data, in tls_connection_encrypt()
222 u8 *out_data, size_t out_len) in tls_connection_decrypt() argument
224 return tlsv1_client_decrypt(conn->client, in_data, in_len, out_data, in tls_connection_decrypt()
308 u8 *out_data, size_t out_len) in tls_connection_ia_send_phase_finished() argument
Dtls_none.c130 u8 *out_data, size_t out_len) in tls_connection_encrypt() argument
138 u8 *out_data, size_t out_len) in tls_connection_decrypt() argument
221 u8 *out_data, size_t out_len) in tls_connection_ia_send_phase_finished() argument
Deap_tls_common.c522 u8 **out_data, size_t *out_len) in eap_tls_process_input() argument
559 *out_data = appl_data; in eap_tls_process_input()
572 u8 **out_data, size_t *out_len) in eap_tls_process_output() argument
596 *out_data = (u8 *) in eap_tls_process_output()
600 if (*out_data == NULL) in eap_tls_process_output()
653 u8 **out_data, size_t *out_len) in eap_tls_process_helper() argument
659 *out_data = NULL; in eap_tls_process_helper()
665 out_data, out_len); in eap_tls_process_helper()
693 out_data, out_len); in eap_tls_process_helper()
Dtls.h340 u8 *out_data, size_t out_len);
357 u8 *out_data, size_t out_len);
496 u8 *out_data, size_t out_len);
Dtls_gnutls.c938 u8 *out_data; in tls_connection_handshake() local
1022 out_data = conn->push_buf; in tls_connection_handshake()
1026 return out_data; in tls_connection_handshake()
1042 u8 *out_data, size_t out_len) in tls_connection_encrypt() argument
1061 os_memcpy(out_data, conn->push_buf, out_len); in tls_connection_encrypt()
1071 u8 *out_data, size_t out_len) in tls_connection_decrypt() argument
1089 res = gnutls_ia_recv(conn->session, (char *) out_data, in tls_connection_decrypt()
1116 (char *) out_data); in tls_connection_decrypt()
1142 res = gnutls_record_recv(conn->session, out_data, out_len); in tls_connection_decrypt()
1286 u8 *out_data, size_t out_len) in tls_connection_ia_send_phase_finished() argument
[all …]
Dtlsv1_client.h32 u8 *out_data, size_t out_len);
35 u8 *out_data, size_t out_len);
Dtls_openssl.c1815 u8 *out_data; in tls_connection_handshake() local
1850 out_data = os_malloc(res == 0 ? 1 : res); in tls_connection_handshake()
1851 if (out_data == NULL) { in tls_connection_handshake()
1861 res = res == 0 ? 0 : BIO_read(conn->ssl_out, out_data, res); in tls_connection_handshake()
1893 return out_data; in tls_connection_handshake()
1903 u8 *out_data; in tls_connection_server_handshake() local
1921 out_data = os_malloc(res == 0 ? 1 : res); in tls_connection_server_handshake()
1922 if (out_data == NULL) { in tls_connection_server_handshake()
1932 res = res == 0 ? 0 : BIO_read(conn->ssl_out, out_data, res); in tls_connection_server_handshake()
1944 return out_data; in tls_connection_server_handshake()
[all …]
Deap_tls_common.h60 u8 **out_data, size_t *out_len);
Deap_peap.c204 u8 **out_data, size_t *out_len) in eap_peap_encrypt() argument
237 *out_data = (u8 *) resp; in eap_peap_encrypt()
395 u8 **out_data, size_t *out_len) in eap_peap_decrypt() argument
647 out_data, out_len)) { in eap_peap_decrypt()
Deap_ttls.c226 u8 **out_data, size_t *out_len) in eap_ttls_encrypt() argument
257 *out_data = (u8 *) resp; in eap_ttls_encrypt()
1077 u8 **out_data, size_t *out_len) in eap_ttls_decrypt() argument
1127 *out_data = eap_tls_build_ack(&data->ssl, out_len, in eap_ttls_decrypt()
1195 *out_data = eap_ttls_build_phase_finished(sm, data, in eap_ttls_decrypt()
1394 *out_data = eap_tls_build_ack(&data->ssl, out_len, in eap_ttls_decrypt()
1459 resp, resp_len, out_data, out_len)) { in eap_ttls_decrypt()
Dtlsv1_common.h231 u8 *out_data, size_t *out_len, u8 *alert);
Dtlsv1_client.c1925 u8 *out_data, size_t out_len) in tlsv1_client_encrypt() argument
1932 os_memcpy(out_data + TLS_RECORD_HEADER_LEN, in_data, in_len); in tlsv1_client_encrypt()
1935 out_data, out_len, in_len, &rlen) < 0) { in tlsv1_client_encrypt()
1960 u8 *out_data, size_t out_len) in tlsv1_client_decrypt() argument
1969 out_pos = out_data; in tlsv1_client_decrypt()
1970 out_end = out_data + out_len; in tlsv1_client_decrypt()
2002 return out_pos - out_data; in tlsv1_client_decrypt()
Deap_fast.c756 u8 **out_data, size_t *out_len) in eap_fast_encrypt() argument
787 *out_data = (u8 *) resp; in eap_fast_encrypt()
1525 u8 **out_data, size_t *out_len) in eap_fast_decrypt() argument
1791 out_data, out_len)) { in eap_fast_decrypt()
/external/opencore/protocols/rtp_payload_parser/rfc_3984/src/
Dh264_payload_parser_interleave_mode.h197 …PVH264PayLoadOutputMediaData out_data(aMediaData, iDon, (fuCounter | (prev_fuType << 8) | fuType)); in queue()
201 OSCL_TRY(err, iOutputMediaDataQueue.push(out_data)); in queue()
212 PVH264PayLoadOutputMediaData out_data(iOutputMediaDataQueue.top()); in dequeue()
214 accessUnit = out_data.data; in dequeue()
217 updateWhenDequeuingData(out_data.fuType); in dequeue()