Home
last modified time | relevance | path

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

/mbedtls-3.5.0/library/
Dssl_misc.h796 mbedtls_svc_key_id_t psk_opaque; /*!< Opaque PSK from the callback */ member
1508 if (!mbedtls_svc_key_id_is_null(ssl->handshake->psk_opaque)) { in mbedtls_ssl_get_opaque_psk()
1509 return ssl->handshake->psk_opaque; in mbedtls_ssl_get_opaque_psk()
1512 if (!mbedtls_svc_key_id_is_null(ssl->conf->psk_opaque)) { in mbedtls_ssl_get_opaque_psk()
1513 return ssl->conf->psk_opaque; in mbedtls_ssl_get_opaque_psk()
Dssl_tls13_keys.c1827 if (mbedtls_svc_key_id_is_null(ssl->handshake->psk_opaque)) { in mbedtls_ssl_tls13_export_handshake_psk()
1831 status = psa_get_key_attributes(ssl->handshake->psk_opaque, &key_attributes); in mbedtls_ssl_tls13_export_handshake_psk()
1842 status = psa_export_key(ssl->handshake->psk_opaque, in mbedtls_ssl_tls13_export_handshake_psk()
Dssl_tls.c2108 if (!mbedtls_svc_key_id_is_null(conf->psk_opaque)) { in mbedtls_ssl_conf_has_static_psk()
2124 if (!mbedtls_svc_key_id_is_null(conf->psk_opaque)) { in ssl_conf_remove_psk()
2127 conf->psk_opaque = MBEDTLS_SVC_KEY_ID_INIT; in ssl_conf_remove_psk()
2214 if (!mbedtls_svc_key_id_is_null(ssl->handshake->psk_opaque)) { in ssl_remove_psk()
2218 psa_destroy_key(ssl->handshake->psk_opaque); in ssl_remove_psk()
2221 ssl->handshake->psk_opaque = MBEDTLS_SVC_KEY_ID_INIT; in ssl_remove_psk()
2313 conf->psk_opaque = psk; in mbedtls_ssl_conf_psk_opaque()
2334 ssl->handshake->psk_opaque = psk; in mbedtls_ssl_set_hs_psk_opaque()
4173 if (!mbedtls_svc_key_id_is_null(ssl->handshake->psk_opaque)) { in mbedtls_ssl_handshake_free()
4177 psa_destroy_key(ssl->handshake->psk_opaque); in mbedtls_ssl_handshake_free()
[all …]
Dssl_tls13_server.c697 not_using_psk = (mbedtls_svc_key_id_is_null(ssl->handshake->psk_opaque)); in ssl_tls13_write_server_pre_shared_key_ext()
Dssl_tls12_server.c97 if (!mbedtls_svc_key_id_is_null(conf->psk_opaque)) { in ssl_conf_has_psk_or_cb()
/mbedtls-3.5.0/programs/ssl/
Dssl_client2.c493 int psk_opaque; member
918 opt.psk_opaque = DFL_PSK_OPAQUE; in main()
1081 opt.psk_opaque = atoi(q); in main()
1413 if (opt.psk_opaque != 0) { in main()
1464 if (opt.psk_opaque != 0) { in main()
1964 if (opt.psk_opaque != 0) { in main()
3085 if (opt.psk_opaque != 0) { in main()
Dssl_server2.c634 int psk_opaque; member
1698 opt.psk_opaque = DFL_PSK_OPAQUE; in main()
1890 opt.psk_opaque = atoi(q); in main()
2278 if (opt.psk_opaque != 0) { in main()
2339 if (opt.psk_opaque != 0 || opt.psk_list_opaque != 0) { in main()
3158 if (opt.psk_opaque != 0) { in main()
4226 if (opt.psk_opaque != 0) { in main()
/mbedtls-3.5.0/include/mbedtls/
Dssl.h1505 … mbedtls_svc_key_id_t MBEDTLS_PRIVATE(psk_opaque); /*!< PSA key slot holding opaque PSK. This field