Home
last modified time | relevance | path

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

/third_party/mbedtls/library/
Dssl_cookie.c169 const unsigned char *cli_id, size_t cli_id_len) in ssl_cookie_hmac() argument
177 mbedtls_md_hmac_update(hmac_ctx, cli_id, cli_id_len) != 0 || in ssl_cookie_hmac()
194 const unsigned char *cli_id, size_t cli_id_len) in mbedtls_ssl_cookie_write() argument
205 if (ctx == NULL || cli_id == NULL) { in mbedtls_ssl_cookie_write()
234 status = psa_mac_update(&operation, cli_id, cli_id_len); in mbedtls_ssl_cookie_write()
258 p, end, cli_id, cli_id_len); in mbedtls_ssl_cookie_write()
283 const unsigned char *cli_id, size_t cli_id_len) in mbedtls_ssl_cookie_check() argument
296 if (ctx == NULL || cli_id == NULL) { in mbedtls_ssl_cookie_check()
318 status = psa_mac_update(&operation, cli_id, in mbedtls_ssl_cookie_check()
342 cli_id, cli_id_len) != 0) { in mbedtls_ssl_cookie_check()
Dssl_tls12_server.c60 mbedtls_free(ssl->cli_id); in mbedtls_ssl_set_client_transport_id()
62 if ((ssl->cli_id = mbedtls_calloc(1, ilen)) == NULL) { in mbedtls_ssl_set_client_transport_id()
66 memcpy(ssl->cli_id, info, ilen); in mbedtls_ssl_set_client_transport_id()
1224 ssl->cli_id, ssl->cli_id_len) != 0) { in ssl_parse_client_hello()
2068 ssl->cli_id, ssl->cli_id_len)) != 0) { in ssl_write_hello_verify_request()
Dssl_msg.c3262 const unsigned char *cli_id, size_t cli_id_len, in mbedtls_ssl_check_dtls_clihlo_cookie() argument
3297 MBEDTLS_SSL_DEBUG_BUF(4, "cli_id", cli_id, cli_id_len); in mbedtls_ssl_check_dtls_clihlo_cookie()
3337 cli_id, cli_id_len) == 0) { in mbedtls_ssl_check_dtls_clihlo_cookie()
3376 cli_id, cli_id_len) != 0) { in mbedtls_ssl_check_dtls_clihlo_cookie()
3431 ssl->cli_id, ssl->cli_id_len, in ssl_handle_possible_reconnect()
Dssl_tls.c1264 const unsigned char *cli_id, size_t cli_id_len) in ssl_cookie_write_dummy() argument
1269 ((void) cli_id); in ssl_cookie_write_dummy()
1278 const unsigned char *cli_id, size_t cli_id_len) in ssl_cookie_check_dummy() argument
1283 ((void) cli_id); in ssl_cookie_check_dummy()
1591 mbedtls_free(ssl->cli_id); in mbedtls_ssl_session_reset_int()
1592 ssl->cli_id = NULL; in mbedtls_ssl_session_reset_int()
4930 mbedtls_free(ssl->cli_id); in mbedtls_ssl_free()
Dssl_misc.h2697 const unsigned char *cli_id, size_t cli_id_len,
/third_party/mbedtls/include/mbedtls/
Dssl.h1794 unsigned char *MBEDTLS_PRIVATE(cli_id); /*!< transport-level ID of the client */
/third_party/mbedtls/tests/suites/
Dtest_suite_ssl.function3121 TEST_EQUAL(mbedtls_ssl_check_dtls_clihlo_cookie(&ssl, ssl.cli_id,