Home
last modified time | relevance | path

Searched refs:own_cid (Results 1 – 5 of 5) sorted by relevance

/mbedtls-3.6.0/include/mbedtls/
Dssl.h1823 unsigned char MBEDTLS_PRIVATE(own_cid)[MBEDTLS_SSL_CID_IN_LEN_MAX];
2229 unsigned char const *own_cid,
2263 unsigned char own_cid[MBEDTLS_SSL_CID_OUT_LEN_MAX],
/mbedtls-3.6.0/tests/suites/
Dtest_suite_ssl.function3039 unsigned char own_cid[MBEDTLS_SSL_CID_IN_LEN_MAX];
3044 mbedtls_test_rnd_std_rand(NULL, own_cid, sizeof(own_cid));
3059 TEST_ASSERT(mbedtls_ssl_set_cid(&ssl, MBEDTLS_SSL_CID_ENABLED, own_cid,
3060 sizeof(own_cid))
3078 TEST_ASSERT(mbedtls_ssl_conf_cid(&conf, sizeof(own_cid),
3083 TEST_ASSERT(mbedtls_ssl_set_cid(&ssl, MBEDTLS_SSL_CID_ENABLED, own_cid,
3087 TEST_ASSERT(mbedtls_ssl_set_cid(&ssl, MBEDTLS_SSL_CID_ENABLED, own_cid,
3088 sizeof(own_cid))
3097 TEST_MEMORY_COMPARE(own_cid, own_cid_len, test_cid, own_cid_len);
/mbedtls-3.6.0/library/
Dssl_tls.c102 unsigned char const *own_cid, in mbedtls_ssl_set_cid() argument
115 MBEDTLS_SSL_DEBUG_BUF(3, "Own CID", own_cid, own_cid_len); in mbedtls_ssl_set_cid()
124 memcpy(ssl->own_cid, own_cid, own_cid_len); in mbedtls_ssl_set_cid()
134 unsigned char own_cid[MBEDTLS_SSL_CID_OUT_LEN_MAX], in mbedtls_ssl_get_own_cid()
152 if (own_cid != NULL) { in mbedtls_ssl_get_own_cid()
153 memcpy(own_cid, ssl->own_cid, ssl->own_cid_len); in mbedtls_ssl_get_own_cid()
8240 memcpy(transform->in_cid, ssl->own_cid, ssl->own_cid_len); in ssl_tls12_populate_transform()
Dssl_tls12_client.c249 memcpy(p, ssl->own_cid, ssl->own_cid_len); in ssl_write_cid_ext()
Dssl_tls12_server.c1726 memcpy(p, ssl->own_cid, ssl->own_cid_len); in ssl_write_cid_ext()