Home
last modified time | relevance | path

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

/AliOS-Things-master/components/mbedtls/library/
A Dssl_ticket.c296 size_t clear_len, ciph_len; in mbedtls_ssl_ticket_write() local
339 state, clear_len, state, &ciph_len, tag, 16 ) ) != 0 ) in mbedtls_ssl_ticket_write()
343 if( ciph_len != clear_len ) in mbedtls_ssl_ticket_write()
349 *tlen = 4 + 12 + 2 + 16 + ciph_len; in mbedtls_ssl_ticket_write()
A Dssl_srv.c924 unsigned int ciph_len, sess_len, chal_len; in ssl_parse_client_hello_v2() local
1017 ciph_len = ( buf[0] << 8 ) | buf[1]; in ssl_parse_client_hello_v2()
1027 if( ciph_len < 3 || ( ciph_len % 3 ) != 0 ) in ssl_parse_client_hello_v2()
1045 if( n != 6 + ciph_len + sess_len + chal_len ) in ssl_parse_client_hello_v2()
1052 buf + 6, ciph_len ); in ssl_parse_client_hello_v2()
1054 buf + 6 + ciph_len, sess_len ); in ssl_parse_client_hello_v2()
1058 p = buf + 6 + ciph_len; in ssl_parse_client_hello_v2()
1585 ciph_len = ( buf[ciph_offset + 0] << 8 ) in ssl_parse_client_hello()
1588 if( ciph_len < 2 || in ssl_parse_client_hello()
1590 ( ciph_len % 2 ) != 0 ) in ssl_parse_client_hello()
[all …]

Completed in 8 milliseconds