Searched refs:own_cid_len (Results 1 – 4 of 4) sorted by relevance
/third_party/mbedtls/library/ |
D | ssl_cli.c | 499 MBEDTLS_SSL_CHK_BUF_PTR( p, end, (unsigned)( ssl->own_cid_len + 5 ) ); in ssl_write_cid_ext() 504 ext_len = (size_t) ssl->own_cid_len + 1; in ssl_write_cid_ext() 508 *p++ = (uint8_t) ssl->own_cid_len; in ssl_write_cid_ext() 509 memcpy( p, ssl->own_cid, ssl->own_cid_len ); in ssl_write_cid_ext() 511 *olen = ssl->own_cid_len + 5; in ssl_write_cid_ext()
|
D | ssl_tls.c | 81 size_t own_cid_len ) in mbedtls_ssl_set_cid() argument 93 MBEDTLS_SSL_DEBUG_BUF( 3, "Own CID", own_cid, own_cid_len ); in mbedtls_ssl_set_cid() 95 if( own_cid_len != ssl->conf->cid_len ) in mbedtls_ssl_set_cid() 98 (unsigned) own_cid_len, in mbedtls_ssl_set_cid() 103 memcpy( ssl->own_cid, own_cid, own_cid_len ); in mbedtls_ssl_set_cid() 106 ssl->own_cid_len = (uint8_t) own_cid_len; in mbedtls_ssl_set_cid() 784 transform->in_cid_len = ssl->own_cid_len; in ssl_tls12_populate_transform() 785 memcpy( transform->in_cid, ssl->own_cid, ssl->own_cid_len ); in ssl_tls12_populate_transform()
|
D | ssl_srv.c | 1958 if( end < p || (size_t)( end - p ) < (unsigned)( ssl->own_cid_len + 5 ) ) in ssl_write_cid_ext() 1976 ext_len = (size_t) ssl->own_cid_len + 1; in ssl_write_cid_ext() 1980 *p++ = (uint8_t) ssl->own_cid_len; in ssl_write_cid_ext() 1981 memcpy( p, ssl->own_cid, ssl->own_cid_len ); in ssl_write_cid_ext() 1983 *olen = ssl->own_cid_len + 5; in ssl_write_cid_ext()
|
/third_party/mbedtls/include/mbedtls/ |
D | ssl.h | 1665 uint8_t MBEDTLS_PRIVATE(own_cid_len); /*!< The length of \c own_cid. */ 1969 size_t own_cid_len );
|