Home
last modified time | relevance | path

Searched refs:psk (Results 1 – 13 of 13) sorted by relevance

/optee_os/out/arm/export-ta_arm32/host_include/mbedtls/
A Dssl_internal.h472 unsigned char *psk; /*!< PSK from the callback */ member
1037 const unsigned char **psk, size_t *psk_len ) in mbedtls_ssl_get_psk() argument
1039 if( ssl->handshake->psk != NULL && ssl->handshake->psk_len > 0 ) in mbedtls_ssl_get_psk()
1041 *psk = ssl->handshake->psk; in mbedtls_ssl_get_psk()
1045 else if( ssl->conf->psk != NULL && ssl->conf->psk_len > 0 ) in mbedtls_ssl_get_psk()
1047 *psk = ssl->conf->psk; in mbedtls_ssl_get_psk()
1053 *psk = NULL; in mbedtls_ssl_get_psk()
A Dssl.h1079 unsigned char *psk; /*!< The raw pre-shared key. This field should member
2782 const unsigned char *psk, size_t psk_len,
2823 psa_key_id_t psk,
2845 const unsigned char *psk, size_t psk_len );
2869 psa_key_id_t psk );
/optee_os/out/arm/export-ta_arm32/include/mbedtls/
A Dssl_internal.h472 unsigned char *psk; /*!< PSK from the callback */ member
1037 const unsigned char **psk, size_t *psk_len ) in mbedtls_ssl_get_psk() argument
1039 if( ssl->handshake->psk != NULL && ssl->handshake->psk_len > 0 ) in mbedtls_ssl_get_psk()
1041 *psk = ssl->handshake->psk; in mbedtls_ssl_get_psk()
1045 else if( ssl->conf->psk != NULL && ssl->conf->psk_len > 0 ) in mbedtls_ssl_get_psk()
1047 *psk = ssl->conf->psk; in mbedtls_ssl_get_psk()
1053 *psk = NULL; in mbedtls_ssl_get_psk()
A Dssl.h1079 unsigned char *psk; /*!< The raw pre-shared key. This field should member
2782 const unsigned char *psk, size_t psk_len,
2823 psa_key_id_t psk,
2845 const unsigned char *psk, size_t psk_len );
2869 psa_key_id_t psk );
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
A Dssl_internal.h472 unsigned char *psk; /*!< PSK from the callback */ member
1037 const unsigned char **psk, size_t *psk_len ) in mbedtls_ssl_get_psk() argument
1039 if( ssl->handshake->psk != NULL && ssl->handshake->psk_len > 0 ) in mbedtls_ssl_get_psk()
1041 *psk = ssl->handshake->psk; in mbedtls_ssl_get_psk()
1045 else if( ssl->conf->psk != NULL && ssl->conf->psk_len > 0 ) in mbedtls_ssl_get_psk()
1047 *psk = ssl->conf->psk; in mbedtls_ssl_get_psk()
1053 *psk = NULL; in mbedtls_ssl_get_psk()
A Dssl.h1079 unsigned char *psk; /*!< The raw pre-shared key. This field should member
2782 const unsigned char *psk, size_t psk_len,
2823 psa_key_id_t psk,
2845 const unsigned char *psk, size_t psk_len );
2869 psa_key_id_t psk );
/optee_os/out/arm/export-ta_arm64/include/mbedtls/
A Dssl_internal.h472 unsigned char *psk; /*!< PSK from the callback */ member
1037 const unsigned char **psk, size_t *psk_len ) in mbedtls_ssl_get_psk() argument
1039 if( ssl->handshake->psk != NULL && ssl->handshake->psk_len > 0 ) in mbedtls_ssl_get_psk()
1041 *psk = ssl->handshake->psk; in mbedtls_ssl_get_psk()
1045 else if( ssl->conf->psk != NULL && ssl->conf->psk_len > 0 ) in mbedtls_ssl_get_psk()
1047 *psk = ssl->conf->psk; in mbedtls_ssl_get_psk()
1053 *psk = NULL; in mbedtls_ssl_get_psk()
A Dssl.h1079 unsigned char *psk; /*!< The raw pre-shared key. This field should member
2782 const unsigned char *psk, size_t psk_len,
2823 psa_key_id_t psk,
2845 const unsigned char *psk, size_t psk_len );
2869 psa_key_id_t psk );
/optee_os/out/arm/export-ta_arm64/host_include/mbedtls/
A Dssl_internal.h472 unsigned char *psk; /*!< PSK from the callback */ member
1037 const unsigned char **psk, size_t *psk_len ) in mbedtls_ssl_get_psk() argument
1039 if( ssl->handshake->psk != NULL && ssl->handshake->psk_len > 0 ) in mbedtls_ssl_get_psk()
1041 *psk = ssl->handshake->psk; in mbedtls_ssl_get_psk()
1045 else if( ssl->conf->psk != NULL && ssl->conf->psk_len > 0 ) in mbedtls_ssl_get_psk()
1047 *psk = ssl->conf->psk; in mbedtls_ssl_get_psk()
1053 *psk = NULL; in mbedtls_ssl_get_psk()
A Dssl.h1079 unsigned char *psk; /*!< The raw pre-shared key. This field should member
2782 const unsigned char *psk, size_t psk_len,
2823 psa_key_id_t psk,
2845 const unsigned char *psk, size_t psk_len );
2869 psa_key_id_t psk );
/optee_os/lib/libmbedtls/mbedtls/library/
A Dssl_tls.c1583 psa_key_id_t psk; in ssl_compute_master() local
2038 memcpy( p, psk, psk_len ); in mbedtls_ssl_psk_derive_premaster()
4384 if( conf->psk != NULL ) in ssl_conf_remove_psk()
4389 conf->psk = NULL; in ssl_conf_remove_psk()
4437 if( psk == NULL ) in mbedtls_ssl_conf_psk()
4447 memcpy( conf->psk, psk, conf->psk_len ); in mbedtls_ssl_conf_psk()
4490 memcpy( ssl->handshake->psk, psk, ssl->handshake->psk_len ); in mbedtls_ssl_set_hs_psk()
4508 conf->psk_opaque = psk; in mbedtls_ssl_conf_psk_opaque()
6029 if( handshake->psk != NULL ) in mbedtls_ssl_handshake_free()
7071 if( conf->psk != NULL ) in mbedtls_ssl_config_free()
[all …]
A Dssl_cli.c62 if( conf->psk != NULL && conf->psk_len != 0 ) in ssl_conf_has_static_psk()
82 if( conf->psk != NULL && conf->psk_len != 0 ) in ssl_conf_has_static_raw_psk()
A Dssl_srv.c156 if( conf->psk != NULL && conf->psk_len != 0 ) in ssl_conf_has_psk_or_cb()

Completed in 97 milliseconds