Lines Matching refs:psk_identity_len
3792 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
3910 psk_identity_len ); in mbedtls_ssl_conf_psk_opaque()
6630 mbedtls_platform_zeroize( conf->psk_identity, conf->psk_identity_len ); in mbedtls_ssl_config_free()
6633 conf->psk_identity_len = 0; in mbedtls_ssl_config_free()