Home
last modified time | relevance | path

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

/openthread-2.7.6/third_party/mbedtls/repo/library/
Dssl_ticket.c212 size_t clear_len, ciph_len; in mbedtls_ssl_ticket_write() local
257 state, end - state, &ciph_len, in mbedtls_ssl_ticket_write()
262 if( ciph_len != clear_len + TICKET_AUTH_TAG_BYTES ) in mbedtls_ssl_ticket_write()
268 *tlen = TICKET_MIN_LEN + ciph_len - TICKET_AUTH_TAG_BYTES; in mbedtls_ssl_ticket_write()
Dssl_srv.c1153 unsigned int ciph_len, sess_len, chal_len; in ssl_parse_client_hello_v2() local
1246 ciph_len = ( buf[0] << 8 ) | buf[1]; in ssl_parse_client_hello_v2()
1251 ciph_len, sess_len, chal_len ) ); in ssl_parse_client_hello_v2()
1256 if( ciph_len < 3 || ( ciph_len % 3 ) != 0 ) in ssl_parse_client_hello_v2()
1274 if( n != 6 + ciph_len + sess_len + chal_len ) in ssl_parse_client_hello_v2()
1281 buf + 6, ciph_len ); in ssl_parse_client_hello_v2()
1283 buf + 6 + ciph_len, sess_len ); in ssl_parse_client_hello_v2()
1285 buf + 6 + ciph_len + sess_len, chal_len ); in ssl_parse_client_hello_v2()
1287 p = buf + 6 + ciph_len; in ssl_parse_client_hello_v2()
1300 for( i = 0, p = buf + 6; i < ciph_len; i += 3, p += 3 ) in ssl_parse_client_hello_v2()
[all …]
/openthread-2.7.6/third_party/mbedtls/repo/tests/suites/
Dtest_suite_pk.function1148 size_t sig_len, ciph_len, test_len;
1194 ciph, &ciph_len, sizeof ciph,
1196 TEST_ASSERT( mbedtls_pk_decrypt( &alt, ciph, ciph_len,
1204 ciph, &ciph_len, sizeof ciph,