Home
last modified time | relevance | path

Searched refs:out_consumed (Results 1 – 16 of 16) 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.cc349 static ssl_open_record_t read_v2_client_hello(SSL *ssl, size_t *out_consumed, in read_v2_client_hello() argument
351 *out_consumed = 0; in read_v2_client_hello()
369 *out_consumed = 2 + msg_length; in read_v2_client_hello()
466 *out_consumed = 2 + msg_length; in read_v2_client_hello()
555 ssl_open_record_t tls_open_handshake(SSL *ssl, size_t *out_consumed, in tls_open_handshake() argument
557 *out_consumed = 0; in tls_open_handshake()
564 *out_consumed = SSL3_RT_HEADER_LENGTH; in tls_open_handshake()
589 auto ret = read_v2_client_hello(ssl, out_consumed, in); in tls_open_handshake()
603 auto ret = tls_open_record(ssl, &type, &body, out_consumed, out_alert, in); in tls_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 tls_open_app_data() argument
310 auto ret = tls_open_record(ssl, &type, &body, out_consumed, out_alert, in); in tls_open_app_data()
358 ssl_open_record_t tls_open_change_cipher_spec(SSL *ssl, size_t *out_consumed, in tls_open_change_cipher_spec() argument
363 auto ret = tls_open_record(ssl, &type, &body, out_consumed, out_alert, in); in tls_open_change_cipher_spec()
Dd1_pkt.cc131 size_t *out_consumed, uint8_t *out_alert, in dtls1_open_app_data() argument
137 auto ret = dtls_open_record(ssl, &type, &record, out_consumed, out_alert, in); in dtls1_open_app_data()
Dinternal.h953 Span<uint8_t> *out, size_t *out_consumed,
961 size_t *out_consumed,
2156 ssl_open_record_t (*open_handshake)(SSL *ssl, size_t *out_consumed,
2159 ssl_open_record_t (*open_change_cipher_spec)(SSL *ssl, size_t *out_consumed,
2164 size_t *out_consumed, uint8_t *out_alert,
2207 ssl_open_record_t ssl_open_handshake(SSL *ssl, size_t *out_consumed,
2212 ssl_open_record_t ssl_open_change_cipher_spec(SSL *ssl, size_t *out_consumed,
2222 size_t *out_consumed, uint8_t *out_alert,
2903 ssl_open_record_t tls_open_handshake(SSL *ssl, size_t *out_consumed,
2909 size_t *out_consumed, uint8_t *out_alert,
[all …]
Dd1_both.cc296 ssl_open_record_t dtls1_open_handshake(SSL *ssl, size_t *out_consumed, in dtls1_open_handshake() argument
300 auto ret = dtls_open_record(ssl, &type, &record, out_consumed, out_alert, in); in dtls1_open_handshake()
470 ssl_open_record_t dtls1_open_change_cipher_spec(SSL *ssl, size_t *out_consumed, in dtls1_open_change_cipher_spec() argument
475 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()
/external/rust/crates/quiche/deps/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.cc349 static ssl_open_record_t read_v2_client_hello(SSL *ssl, size_t *out_consumed, in read_v2_client_hello() argument
351 *out_consumed = 0; in read_v2_client_hello()
369 *out_consumed = 2 + msg_length; in read_v2_client_hello()
466 *out_consumed = 2 + msg_length; in read_v2_client_hello()
555 ssl_open_record_t tls_open_handshake(SSL *ssl, size_t *out_consumed, in tls_open_handshake() argument
557 *out_consumed = 0; in tls_open_handshake()
564 *out_consumed = SSL3_RT_HEADER_LENGTH; in tls_open_handshake()
589 auto ret = read_v2_client_hello(ssl, out_consumed, in); in tls_open_handshake()
603 auto ret = tls_open_record(ssl, &type, &body, out_consumed, out_alert, in); in tls_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 tls_open_app_data() argument
310 auto ret = tls_open_record(ssl, &type, &body, out_consumed, out_alert, in); in tls_open_app_data()
358 ssl_open_record_t tls_open_change_cipher_spec(SSL *ssl, size_t *out_consumed, in tls_open_change_cipher_spec() argument
363 auto ret = tls_open_record(ssl, &type, &body, out_consumed, out_alert, in); in tls_open_change_cipher_spec()
Dd1_pkt.cc131 size_t *out_consumed, uint8_t *out_alert, in dtls1_open_app_data() argument
137 auto ret = dtls_open_record(ssl, &type, &record, out_consumed, out_alert, in); in dtls1_open_app_data()
Dinternal.h948 Span<uint8_t> *out, size_t *out_consumed,
956 size_t *out_consumed,
2113 ssl_open_record_t (*open_handshake)(SSL *ssl, size_t *out_consumed,
2116 ssl_open_record_t (*open_change_cipher_spec)(SSL *ssl, size_t *out_consumed,
2121 size_t *out_consumed, uint8_t *out_alert,
2164 ssl_open_record_t ssl_open_handshake(SSL *ssl, size_t *out_consumed,
2169 ssl_open_record_t ssl_open_change_cipher_spec(SSL *ssl, size_t *out_consumed,
2179 size_t *out_consumed, uint8_t *out_alert,
2849 ssl_open_record_t tls_open_handshake(SSL *ssl, size_t *out_consumed,
2855 size_t *out_consumed, uint8_t *out_alert,
[all …]
Dd1_both.cc296 ssl_open_record_t dtls1_open_handshake(SSL *ssl, size_t *out_consumed, in dtls1_open_handshake() argument
300 auto ret = dtls_open_record(ssl, &type, &record, out_consumed, out_alert, in); in dtls1_open_handshake()
470 ssl_open_record_t dtls1_open_change_cipher_spec(SSL *ssl, size_t *out_consumed, in dtls1_open_change_cipher_spec() argument
475 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()