Home
last modified time | relevance | path

Searched refs:ciph_len (Results 1 - 2 of 2) sorted by relevance

/third_party/mbedtls/library/
H A Dssl_ticket.c313 size_t clear_len, ciph_len; in mbedtls_ssl_ticket_write() local
364 &ciph_len)) != PSA_SUCCESS) { in mbedtls_ssl_ticket_write()
374 state, (size_t) (end - state), &ciph_len, in mbedtls_ssl_ticket_write()
380 if (ciph_len != clear_len + TICKET_AUTH_TAG_BYTES) { in mbedtls_ssl_ticket_write()
385 *tlen = TICKET_MIN_LEN + ciph_len - TICKET_AUTH_TAG_BYTES; in mbedtls_ssl_ticket_write()
H A Dssl_tls12_server.c892 size_t msg_len, ciph_len, sess_len, comp_len, ext_len; in ssl_parse_client_hello() local
1255 ciph_len = MBEDTLS_GET_UINT16_BE(buf, ciph_offset); in ssl_parse_client_hello()
1257 if (ciph_len < 2 || in ssl_parse_client_hello()
1258 ciph_len + 2 + ciph_offset + 1 > msg_len || /* 1 for comp. alg. len */ in ssl_parse_client_hello()
1259 (ciph_len % 2) != 0) { in ssl_parse_client_hello()
1267 buf + ciph_offset + 2, ciph_len); in ssl_parse_client_hello()
1275 comp_offset = ciph_offset + 2 + ciph_len; in ssl_parse_client_hello()
1528 for (i = 0, p = buf + ciph_offset + 2; i < ciph_len; i += 2, p += 2) { in ssl_parse_client_hello()
1601 for (j = 0, p = buf + ciph_offset + 2; j < ciph_len; j += 2, p += 2) { in ssl_parse_client_hello()
1621 for (j = 0, p = buf + ciph_offset + 2; j < ciph_len; in ssl_parse_client_hello()
[all...]

Completed in 4 milliseconds