Lines Matching refs:own_cid_len
112 size_t own_cid_len) in mbedtls_ssl_set_cid() argument
124 MBEDTLS_SSL_DEBUG_BUF(3, "Own CID", own_cid, own_cid_len); in mbedtls_ssl_set_cid()
126 if (own_cid_len != ssl->conf->cid_len) { in mbedtls_ssl_set_cid()
128 (unsigned) own_cid_len, in mbedtls_ssl_set_cid()
133 memcpy(ssl->own_cid, own_cid, own_cid_len); in mbedtls_ssl_set_cid()
136 ssl->own_cid_len = (uint8_t) own_cid_len; in mbedtls_ssl_set_cid()
144 size_t *own_cid_len) in mbedtls_ssl_get_own_cid() argument
155 if (ssl->own_cid_len == 0 || ssl->negotiate_cid == MBEDTLS_SSL_CID_DISABLED) { in mbedtls_ssl_get_own_cid()
159 if (own_cid_len != NULL) { in mbedtls_ssl_get_own_cid()
160 *own_cid_len = ssl->own_cid_len; in mbedtls_ssl_get_own_cid()
162 memcpy(own_cid, ssl->own_cid, ssl->own_cid_len); in mbedtls_ssl_get_own_cid()
8349 transform->in_cid_len = ssl->own_cid_len; in ssl_tls12_populate_transform()
8350 memcpy(transform->in_cid, ssl->own_cid, ssl->own_cid_len); in ssl_tls12_populate_transform()