Home
last modified time | relevance | path

Searched refs:cid_len (Results 1 – 8 of 8) sorted by relevance

/mbedtls-development/programs/ssl/
A Dssl_context_info.c891 uint8_t cid_len; in print_deserialized_ssl_context() local
894 cid_len = *ssl++; in print_deserialized_ssl_context()
898 if( cid_len > 0 ) in print_deserialized_ssl_context()
900 CHECK_SSL_END( cid_len ); in print_deserialized_ssl_context()
901 print_hex( ssl, cid_len, 20, "\t" ); in print_deserialized_ssl_context()
902 ssl += cid_len; in print_deserialized_ssl_context()
910 cid_len = *ssl++; in print_deserialized_ssl_context()
914 if( cid_len > 0 ) in print_deserialized_ssl_context()
916 CHECK_SSL_END( cid_len ); in print_deserialized_ssl_context()
917 print_hex( ssl, cid_len, 20, "\t" ); in print_deserialized_ssl_context()
[all …]
A Dssl_client2.c668 size_t cid_len = 0; in main() local
1426 opt.cid_val, &cid_len ) != 0 ) in main()
1735 cid_len != cid_renego_len ) in main()
1742 ret = mbedtls_ssl_conf_cid( &conf, cid_len, in main()
2012 cid, cid_len ) ) != 0 ) in main()
A Dssl_server2.c1355 size_t cid_len = 0; in main() local
2149 opt.cid_val, &cid_len ) != 0 ) in main()
2607 cid_len != cid_renego_len ) in main()
2614 ret = mbedtls_ssl_conf_cid( &conf, cid_len, in main()
3034 cid, cid_len ) ) != 0 ) in main()
/mbedtls-development/library/
A Dssl_msg.c449 if( rec->cid_len != 0 ) in ssl_extract_add_data_from_record()
451 memcpy( cur, rec->cid, rec->cid_len ); in ssl_extract_add_data_from_record()
452 cur += rec->cid_len; in ssl_extract_add_data_from_record()
454 *cur = rec->cid_len; in ssl_extract_add_data_from_record()
560 || rec->cid_len != 0 in mbedtls_ssl_encrypt_buf()
619 rec->cid_len = transform->out_cid_len; in mbedtls_ssl_encrypt_buf()
623 if( rec->cid_len != 0 ) in mbedtls_ssl_encrypt_buf()
1711 if( rec->cid_len != 0 ) in mbedtls_ssl_decrypt_buf()
2592 rec.cid_len = 0; in mbedtls_ssl_write_record()
3365 rec->cid_len = 0; in ssl_parse_record_header()
[all …]
A Dssl_misc.h985 uint8_t cid_len; /* Length of the CID (0 if not present) */ member
A Dssl_tls.c73 conf->cid_len = len; in mbedtls_ssl_conf_cid()
94 if( own_cid_len != ssl->conf->cid_len ) in mbedtls_ssl_set_cid()
98 (unsigned) ssl->conf->cid_len ) ); in mbedtls_ssl_set_cid()
/mbedtls-development/include/mbedtls/
A Dssl.h1279 size_t MBEDTLS_PRIVATE(cid_len); /*!< The length of CIDs for incoming DTLS records. */
/mbedtls-development/tests/suites/
A Dtest_suite_ssl.function3223 rec.cid_len = 0;
3248 if( rec.cid_len != 0 )
3363 rec.cid_len = 0;
3412 if( rec.cid_len != 0 )
3540 rec.cid_len = 0;
4020 rec.cid_len = 0;

Completed in 45 milliseconds