Home
last modified time | relevance | path

Searched refs:peer_cid_len (Results 1 – 7 of 7) sorted by relevance

/third_party/mbedtls/library/
Dssl_cli.c1425 size_t peer_cid_len; in ssl_parse_cid_ext() local
1446 peer_cid_len = *buf++; in ssl_parse_cid_ext()
1449 if( peer_cid_len > MBEDTLS_SSL_CID_OUT_LEN_MAX ) in ssl_parse_cid_ext()
1457 if( len != peer_cid_len ) in ssl_parse_cid_ext()
1466 ssl->handshake->peer_cid_len = (uint8_t) peer_cid_len; in ssl_parse_cid_ext()
1467 memcpy( ssl->handshake->peer_cid, buf, peer_cid_len ); in ssl_parse_cid_ext()
1470 MBEDTLS_SSL_DEBUG_BUF( 3, "Server CID", buf, peer_cid_len ); in ssl_parse_cid_ext()
Dssl_srv.c481 size_t peer_cid_len; in ssl_parse_cid_ext() local
509 peer_cid_len = *buf++; in ssl_parse_cid_ext()
512 if( len != peer_cid_len ) in ssl_parse_cid_ext()
529 if( peer_cid_len > MBEDTLS_SSL_CID_OUT_LEN_MAX ) in ssl_parse_cid_ext()
538 ssl->handshake->peer_cid_len = (uint8_t) peer_cid_len; in ssl_parse_cid_ext()
539 memcpy( ssl->handshake->peer_cid, buf, peer_cid_len ); in ssl_parse_cid_ext()
542 MBEDTLS_SSL_DEBUG_BUF( 3, "Client CID", buf, peer_cid_len ); in ssl_parse_cid_ext()
Dssl_misc.h711 uint8_t peer_cid_len; /*!< The length of member
Dssl_tls.c114 size_t *peer_cid_len ) in mbedtls_ssl_get_peer_cid() argument
134 if( peer_cid_len != NULL ) in mbedtls_ssl_get_peer_cid()
136 *peer_cid_len = ssl->transform_in->out_cid_len; in mbedtls_ssl_get_peer_cid()
789 transform->out_cid_len = ssl->handshake->peer_cid_len; in ssl_tls12_populate_transform()
791 ssl->handshake->peer_cid_len ); in ssl_tls12_populate_transform()
/third_party/mbedtls/programs/ssl/
Dssl_client2.c576 size_t peer_cid_len; in report_cid_usage() local
617 NULL, &peer_cid_len ); in report_cid_usage()
627 peer_cid, &peer_cid_len ); in report_cid_usage()
636 (unsigned) peer_cid_len ); in report_cid_usage()
637 while( idx < peer_cid_len ) in report_cid_usage()
Dssl_server2.c1241 size_t peer_cid_len; in report_cid_usage() local
1249 peer_cid, &peer_cid_len ); in report_cid_usage()
1272 (unsigned) peer_cid_len ); in report_cid_usage()
1273 while( idx < peer_cid_len ) in report_cid_usage()
/third_party/mbedtls/include/mbedtls/
Dssl.h2011 size_t *peer_cid_len );