Home
last modified time | relevance | path

Searched refs:psk_opaque (Results 1 – 7 of 7) sorted by relevance

/third_party/mbedtls/library/
Dssl_misc.h633 psa_key_id_t psk_opaque; /*!< Opaque PSK from the callback */ member
1254 if( ! mbedtls_svc_key_id_is_null( ssl->handshake->psk_opaque ) ) in mbedtls_ssl_get_opaque_psk()
1255 return( ssl->handshake->psk_opaque ); in mbedtls_ssl_get_opaque_psk()
1257 if( ! mbedtls_svc_key_id_is_null( ssl->conf->psk_opaque ) ) in mbedtls_ssl_get_opaque_psk()
1258 return( ssl->conf->psk_opaque ); in mbedtls_ssl_get_opaque_psk()
Dssl_tls.c599 if( ! mbedtls_svc_key_id_is_null( ssl->handshake->psk_opaque ) ) in ssl_use_opaque_psk()
605 if( ! mbedtls_svc_key_id_is_null( ssl->conf->psk_opaque ) ) in ssl_use_opaque_psk()
3752 if( !mbedtls_svc_key_id_is_null( conf->psk_opaque ) ) in ssl_conf_psk_is_configured()
3766 if( ! mbedtls_svc_key_id_is_null( conf->psk_opaque ) ) in ssl_conf_remove_psk()
3770 conf->psk_opaque = MBEDTLS_SVC_KEY_ID_INIT; in ssl_conf_remove_psk()
3856 if( ! mbedtls_svc_key_id_is_null( ssl->handshake->psk_opaque ) ) in ssl_remove_psk()
3858 ssl->handshake->psk_opaque = MBEDTLS_SVC_KEY_ID_INIT; in ssl_remove_psk()
3906 conf->psk_opaque = psk; in mbedtls_ssl_conf_psk_opaque()
3925 ssl->handshake->psk_opaque = psk; in mbedtls_ssl_set_hs_psk_opaque()
Dssl_srv.c162 if( ! mbedtls_svc_key_id_is_null( conf->psk_opaque ) ) in ssl_conf_has_psk_or_cb()
177 if( ! mbedtls_svc_key_id_is_null( ssl->handshake->psk_opaque ) ) in ssl_use_opaque_psk()
183 if( ! mbedtls_svc_key_id_is_null( ssl->conf->psk_opaque ) ) in ssl_use_opaque_psk()
Dssl_cli.c68 if( ! mbedtls_svc_key_id_is_null( conf->psk_opaque ) ) in ssl_conf_has_static_psk()
/third_party/mbedtls/programs/ssl/
Dssl_client2.c463 int psk_opaque; member
833 opt.psk_opaque = DFL_PSK_OPAQUE; in main()
989 opt.psk_opaque = atoi( q ); in main()
1346 if( opt.psk_opaque != 0 ) in main()
1402 if( opt.psk_opaque != 0 ) in main()
1914 if( opt.psk_opaque != 0 ) in main()
3053 if( opt.psk_opaque != 0 ) in main()
Dssl_server2.c586 int psk_opaque; member
1513 opt.psk_opaque = DFL_PSK_OPAQUE; in main()
1691 opt.psk_opaque = atoi( q ); in main()
2056 if( opt.psk_opaque != 0 ) in main()
2125 if( opt.psk_opaque != 0 || opt.psk_list_opaque != 0 ) in main()
2921 if( opt.psk_opaque != 0 ) in main()
4010 if( opt.psk_opaque != 0 ) in main()
/third_party/mbedtls/include/mbedtls/
Dssl.h1383 psa_key_id_t MBEDTLS_PRIVATE(psk_opaque); /*!< PSA key slot holding opaque PSK. This field