Lines Matching refs:CBS_len
339 if (*version != TLS1_2_VERSION || CBS_len(in) == 0) { in parse_supported_versions()
346 CBS_len(©) != 0) { in parse_supported_versions()
369 CBS_len(&supported_versions) != 0)) { in parse_supported_versions()
528 CBS_len(&cookie) > sizeof(ssl->d1->cookie) || in do_read_hello_verify_request()
529 CBS_len(&hello_verify_request) != 0) { in do_read_hello_verify_request()
535 OPENSSL_memcpy(ssl->d1->cookie, CBS_data(&cookie), CBS_len(&cookie)); in do_read_hello_verify_request()
536 ssl->d1->cookie_len = CBS_len(&cookie); in do_read_hello_verify_request()
570 CBS_len(&session_id) > SSL3_SESSION_ID_SIZE || in do_read_server_hello()
671 hs->new_session->session_id_length = CBS_len(&session_id); in do_read_server_hello()
673 CBS_len(&session_id)); in do_read_server_hello()
749 if (CBS_len(&server_hello) != 0) { in do_read_server_hello()
827 CBS_len(&body) != 0 || in do_read_server_certificate()
876 CBS_len(&ocsp_response) == 0 || in do_read_certificate_status()
877 CBS_len(&certificate_status) != 0) { in do_read_certificate_status()
977 if (CBS_len(&psk_identity_hint) > PSK_MAX_IDENTITY_LEN || in do_read_server_key_exchange()
990 if (CBS_len(&psk_identity_hint) != 0 && in do_read_server_key_exchange()
1038 CBS_len(&msg.body) - CBS_len(&server_key_exchange)); in do_read_server_key_exchange()
1065 CBS_len(&server_key_exchange) != 0) { in do_read_server_key_exchange()
1074 2 * SSL3_RANDOM_SIZE + CBS_len(¶meter)) || in do_read_server_key_exchange()
1080 CBS_len(¶meter)) || in do_read_server_key_exchange()
1098 if (CBS_len(&server_key_exchange) > 0) { in do_read_server_key_exchange()
1167 if (CBS_len(&body) != 0) { in do_read_certificate_request()
1195 if (CBS_len(&msg.body) != 0) { in do_read_server_hello_done()
1622 CBS_len(&new_session_ticket) != 0) { in do_read_session_ticket()
1628 if (CBS_len(&ticket) == 0) { in do_read_session_ticket()
1665 SHA256(CBS_data(&ticket), CBS_len(&ticket), session->session_id); in do_read_session_ticket()