Home
last modified time | relevance | path

Searched refs:psk_identity_len (Results 1 – 4 of 4) sorted by relevance

/third_party/mbedtls/include/mbedtls/
Dssl.h1406 size_t MBEDTLS_PRIVATE(psk_identity_len);/*!< The length of PSK identity.
3004 const unsigned char *psk_identity, size_t psk_identity_len );
3047 size_t psk_identity_len );
/third_party/mbedtls/library/
Dssl_tls.c3792 conf->psk_identity_len = 0; in ssl_conf_remove_psk()
3802 size_t psk_identity_len ) in ssl_conf_set_psk_identity() argument
3806 ( psk_identity_len >> 16 ) != 0 || in ssl_conf_set_psk_identity()
3807 psk_identity_len > MBEDTLS_SSL_OUT_CONTENT_LEN ) in ssl_conf_set_psk_identity()
3812 conf->psk_identity = mbedtls_calloc( 1, psk_identity_len ); in ssl_conf_set_psk_identity()
3816 conf->psk_identity_len = psk_identity_len; in ssl_conf_set_psk_identity()
3817 memcpy( conf->psk_identity, psk_identity, conf->psk_identity_len ); in ssl_conf_set_psk_identity()
3824 const unsigned char *psk_identity, size_t psk_identity_len ) in mbedtls_ssl_conf_psk() argument
3846 ret = ssl_conf_set_psk_identity( conf, psk_identity, psk_identity_len ); in mbedtls_ssl_conf_psk()
3895 size_t psk_identity_len ) in mbedtls_ssl_conf_psk_opaque() argument
[all …]
Dssl_cli.c59 conf->psk_identity_len == 0 ) in ssl_conf_has_static_psk()
79 conf->psk_identity_len == 0 ) in ssl_conf_has_static_raw_psk()
3704 content_len = ssl->conf->psk_identity_len; in ssl_write_client_key_exchange()
3718 ssl->conf->psk_identity_len ); in ssl_write_client_key_exchange()
3719 header_len += ssl->conf->psk_identity_len; in ssl_write_client_key_exchange()
Dssl_srv.c155 if( conf->psk_identity_len == 0 || conf->psk_identity == NULL ) in ssl_conf_has_psk_or_cb()
3660 if( n != ssl->conf->psk_identity_len || in ssl_parse_client_psk_identity()
3835 p += ssl->conf->psk_identity_len + 2; in ssl_parse_client_key_exchange()