Searched refs:ciph_len (Results 1 – 3 of 3) sorted by relevance
/mbedtls-3.4.0/library/ |
D | ssl_ticket.c | 305 size_t clear_len, ciph_len; in mbedtls_ssl_ticket_write() local 353 &ciph_len ) ) != PSA_SUCCESS ) in mbedtls_ssl_ticket_write() 364 state, end - state, &ciph_len, in mbedtls_ssl_ticket_write() 371 if( ciph_len != clear_len + TICKET_AUTH_TAG_BYTES ) in mbedtls_ssl_ticket_write() 377 *tlen = TICKET_MIN_LEN + ciph_len - TICKET_AUTH_TAG_BYTES; in mbedtls_ssl_ticket_write()
|
D | ssl_tls12_server.c | 924 size_t msg_len, ciph_len, sess_len, comp_len, ext_len; in ssl_parse_client_hello() local 1308 ciph_len = ( buf[ciph_offset + 0] << 8 ) in ssl_parse_client_hello() 1311 if( ciph_len < 2 || in ssl_parse_client_hello() 1312 ciph_len + 2 + ciph_offset + 1 > msg_len || /* 1 for comp. alg. len */ in ssl_parse_client_hello() 1313 ( ciph_len % 2 ) != 0 ) in ssl_parse_client_hello() 1322 buf + ciph_offset + 2, ciph_len ); in ssl_parse_client_hello() 1330 comp_offset = ciph_offset + 2 + ciph_len; in ssl_parse_client_hello() 1578 for( i = 0, p = buf + ciph_offset + 2; i < ciph_len; i += 2, p += 2 ) in ssl_parse_client_hello() 1663 for( j = 0, p = buf + ciph_offset + 2; j < ciph_len; j += 2, p += 2 ) in ssl_parse_client_hello() 1680 for( j = 0, p = buf + ciph_offset + 2; j < ciph_len; j += 2, p += 2 ) in ssl_parse_client_hello()
|
/mbedtls-3.4.0/tests/suites/ |
D | test_suite_pk.function | 1124 size_t sig_len, ciph_len, test_len; 1174 ciph, &ciph_len, sizeof ciph, 1176 TEST_ASSERT( mbedtls_pk_decrypt( &alt, ciph, ciph_len, 1184 ciph, &ciph_len, sizeof ciph,
|