Home
last modified time | relevance | path

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

/net-tools-3.4.0/mbedtls-2.4.0/include/mbedtls/
Dssl.h674 size_t psk_identity_len;/*!< length of identity */ member
1643 const unsigned char *psk_identity, size_t psk_identity_len );
/net-tools-3.4.0/mbedtls-2.4.0/library/
Dssl_tls.c5824 const unsigned char *psk_identity, size_t psk_identity_len ) in mbedtls_ssl_conf_psk() argument
5833 if( ( psk_identity_len >> 16 ) != 0 || in mbedtls_ssl_conf_psk()
5834 psk_identity_len > MBEDTLS_SSL_MAX_CONTENT_LEN ) in mbedtls_ssl_conf_psk()
5848 ( conf->psk_identity = mbedtls_calloc( 1, psk_identity_len ) ) == NULL ) in mbedtls_ssl_conf_psk()
5858 conf->psk_identity_len = psk_identity_len; in mbedtls_ssl_conf_psk()
5861 memcpy( conf->psk_identity, psk_identity, conf->psk_identity_len ); in mbedtls_ssl_conf_psk()
7336 mbedtls_zeroize( conf->psk_identity, conf->psk_identity_len ); in mbedtls_ssl_config_free()
7340 conf->psk_identity_len = 0; in mbedtls_ssl_config_free()
Dssl_cli.c2832 n = ssl->conf->psk_identity_len;
2844 memcpy( ssl->out_msg + i, ssl->conf->psk_identity, ssl->conf->psk_identity_len );
2845 i += ssl->conf->psk_identity_len;
Dssl_srv.c772 ssl->conf->psk_identity_len == 0 || ssl->conf->psk_len == 0 ) ) in ssl_ciphersuite_match()
3217 ssl->conf->psk_identity_len == 0 || ssl->conf->psk_len == 0 ) )
3250 if( n != ssl->conf->psk_identity_len ||