Home
last modified time | relevance | path

Searched refs:out_consumed (Results 1 – 8 of 8) sorted by relevance

/external/boringssl/src/ssl/
Ddtls_record.cc179 size_t *out_consumed, in dtls_open_record() argument
181 *out_consumed = 0; in dtls_open_record()
203 *out_consumed = in.size(); in dtls_open_record()
218 *out_consumed = in.size(); in dtls_open_record()
232 *out_consumed = in.size() - CBS_len(&cbs); in dtls_open_record()
247 *out_consumed = in.size() - CBS_len(&cbs); in dtls_open_record()
250 *out_consumed = in.size() - CBS_len(&cbs); in dtls_open_record()
Ds3_both.cc347 static ssl_open_record_t read_v2_client_hello(SSL *ssl, size_t *out_consumed, in read_v2_client_hello() argument
349 *out_consumed = 0; in read_v2_client_hello()
367 *out_consumed = 2 + msg_length; in read_v2_client_hello()
464 *out_consumed = 2 + msg_length; in read_v2_client_hello()
553 ssl_open_record_t ssl3_open_handshake(SSL *ssl, size_t *out_consumed, in ssl3_open_handshake() argument
555 *out_consumed = 0; in ssl3_open_handshake()
562 *out_consumed = SSL3_RT_HEADER_LENGTH; in ssl3_open_handshake()
587 auto ret = read_v2_client_hello(ssl, out_consumed, in); in ssl3_open_handshake()
601 auto ret = tls_open_record(ssl, &type, &body, out_consumed, out_alert, in); in ssl3_open_handshake()
Dtls_record.cc207 Span<uint8_t> *out, size_t *out_consumed, in tls_open_record() argument
209 *out_consumed = 0; in tls_open_record()
228 *out_consumed = SSL3_RT_HEADER_LENGTH; in tls_open_record()
257 *out_consumed = SSL3_RT_HEADER_LENGTH + (size_t)ciphertext_len; in tls_open_record()
264 *out_consumed = in.size() - CBS_len(&cbs); in tls_open_record()
286 return skip_early_data(ssl, out_alert, *out_consumed); in tls_open_record()
295 return skip_early_data(ssl, out_alert, *out_consumed); in tls_open_record()
Ds3_pkt.cc303 size_t *out_consumed, uint8_t *out_alert, in ssl3_open_app_data() argument
310 auto ret = tls_open_record(ssl, &type, &body, out_consumed, out_alert, in); in ssl3_open_app_data()
358 ssl_open_record_t ssl3_open_change_cipher_spec(SSL *ssl, size_t *out_consumed, in ssl3_open_change_cipher_spec() argument
363 auto ret = tls_open_record(ssl, &type, &body, out_consumed, out_alert, in); in ssl3_open_change_cipher_spec()
Dd1_pkt.cc132 size_t *out_consumed, uint8_t *out_alert, in dtls1_open_app_data() argument
138 auto ret = dtls_open_record(ssl, &type, &record, out_consumed, out_alert, in); in dtls1_open_app_data()
Dinternal.h846 Span<uint8_t> *out, size_t *out_consumed,
854 size_t *out_consumed,
1965 ssl_open_record_t (*open_handshake)(SSL *ssl, size_t *out_consumed,
1968 ssl_open_record_t (*open_change_cipher_spec)(SSL *ssl, size_t *out_consumed,
1973 size_t *out_consumed, uint8_t *out_alert,
2010 ssl_open_record_t ssl_open_handshake(SSL *ssl, size_t *out_consumed,
2015 ssl_open_record_t ssl_open_change_cipher_spec(SSL *ssl, size_t *out_consumed,
2025 size_t *out_consumed, uint8_t *out_alert,
2679 ssl_open_record_t ssl3_open_handshake(SSL *ssl, size_t *out_consumed,
2685 size_t *out_consumed, uint8_t *out_alert,
[all …]
Dd1_both.cc297 ssl_open_record_t dtls1_open_handshake(SSL *ssl, size_t *out_consumed, in dtls1_open_handshake() argument
301 auto ret = dtls_open_record(ssl, &type, &record, out_consumed, out_alert, in); in dtls1_open_handshake()
475 ssl_open_record_t dtls1_open_change_cipher_spec(SSL *ssl, size_t *out_consumed, in dtls1_open_change_cipher_spec() argument
480 auto ret = dtls1_open_handshake(ssl, out_consumed, out_alert, in); in dtls1_open_change_cipher_spec()
Dssl_lib.cc230 ssl_open_record_t ssl_open_handshake(SSL *ssl, size_t *out_consumed, in ssl_open_handshake() argument
232 *out_consumed = 0; in ssl_open_handshake()
237 auto ret = ssl->method->open_handshake(ssl, out_consumed, out_alert, in); in ssl_open_handshake()
244 ssl_open_record_t ssl_open_change_cipher_spec(SSL *ssl, size_t *out_consumed, in ssl_open_change_cipher_spec() argument
247 *out_consumed = 0; in ssl_open_change_cipher_spec()
253 ssl->method->open_change_cipher_spec(ssl, out_consumed, out_alert, in); in ssl_open_change_cipher_spec()
261 size_t *out_consumed, uint8_t *out_alert, in ssl_open_app_data() argument
263 *out_consumed = 0; in ssl_open_app_data()
268 auto ret = ssl->method->open_app_data(ssl, out, out_consumed, out_alert, in); in ssl_open_app_data()