Searched refs:psk_identity_len (Results 1 – 4 of 4) sorted by relevance
674 size_t psk_identity_len;/*!< length of identity */ member1643 const unsigned char *psk_identity, size_t psk_identity_len );
5824 const unsigned char *psk_identity, size_t psk_identity_len ) in mbedtls_ssl_conf_psk() argument5833 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()
2832 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;
772 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 ||