Home
last modified time | relevance | path

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

/mbedtls-development/library/
A Dssl_ticket.c210 size_t clear_len, ciph_len; in mbedtls_ssl_ticket_write() local
254 state, end - state, &ciph_len, in mbedtls_ssl_ticket_write()
259 if( ciph_len != clear_len + TICKET_AUTH_TAG_BYTES ) in mbedtls_ssl_ticket_write()
265 *tlen = TICKET_MIN_LEN + ciph_len - TICKET_AUTH_TAG_BYTES; in mbedtls_ssl_ticket_write()
A Dssl_srv.c1123 size_t msg_len, ciph_len, sess_len, comp_len, ext_len; in ssl_parse_client_hello() local
1513 ciph_len = ( buf[ciph_offset + 0] << 8 ) in ssl_parse_client_hello()
1516 if( ciph_len < 2 || in ssl_parse_client_hello()
1517 ciph_len + 2 + ciph_offset + 1 > msg_len || /* 1 for comp. alg. len */ in ssl_parse_client_hello()
1518 ( ciph_len % 2 ) != 0 ) in ssl_parse_client_hello()
1527 buf + ciph_offset + 2, ciph_len ); in ssl_parse_client_hello()
1532 comp_offset = ciph_offset + 2 + ciph_len; in ssl_parse_client_hello()
1778 for( i = 0, p = buf + ciph_offset + 2; i < ciph_len; i += 2, p += 2 ) in ssl_parse_client_hello()
1849 for( j = 0, p = buf + ciph_offset + 2; j < ciph_len; j += 2, p += 2 ) in ssl_parse_client_hello()
1866 for( j = 0, p = buf + ciph_offset + 2; j < ciph_len; j += 2, p += 2 ) in ssl_parse_client_hello()
/mbedtls-development/tests/suites/
A Dtest_suite_pk.function878 size_t sig_len, ciph_len, test_len;
926 ciph, &ciph_len, sizeof ciph,
928 TEST_ASSERT( mbedtls_pk_decrypt( &alt, ciph, ciph_len,
936 ciph, &ciph_len, sizeof ciph,

Completed in 10 milliseconds