Home
last modified time | relevance | path

Searched refs:dh_params (Results 1 – 5 of 5) sorted by relevance

/openbmc/qemu/crypto/
H A Dtlscreds.c34 gnutls_dh_params_t *dh_params, in qcrypto_tls_creds_get_dh_params_file() argument
42 ret = gnutls_dh_params_init(dh_params); in qcrypto_tls_creds_get_dh_params_file()
48 ret = gnutls_dh_params_generate2(*dh_params, DH_BITS); in qcrypto_tls_creds_get_dh_params_file()
50 gnutls_dh_params_deinit(*dh_params); in qcrypto_tls_creds_get_dh_params_file()
51 *dh_params = NULL; in qcrypto_tls_creds_get_dh_params_file()
72 ret = gnutls_dh_params_init(dh_params); in qcrypto_tls_creds_get_dh_params_file()
79 ret = gnutls_dh_params_import_pkcs3(*dh_params, in qcrypto_tls_creds_get_dh_params_file()
84 gnutls_dh_params_deinit(*dh_params); in qcrypto_tls_creds_get_dh_params_file()
85 *dh_params = NULL; in qcrypto_tls_creds_get_dh_params_file()
H A Dtlscredsanon.c60 &creds->parent_obj.dh_params, in qcrypto_tls_creds_anon_load()
66 creds->parent_obj.dh_params); in qcrypto_tls_creds_anon_load()
94 if (creds->parent_obj.dh_params) { in qcrypto_tls_creds_anon_unload()
95 gnutls_dh_params_deinit(creds->parent_obj.dh_params); in qcrypto_tls_creds_anon_unload()
96 creds->parent_obj.dh_params = NULL; in qcrypto_tls_creds_anon_unload()
H A Dtlscredspsk.c107 &creds->parent_obj.dh_params, in qcrypto_tls_creds_psk_load()
119 creds->parent_obj.dh_params); in qcrypto_tls_creds_psk_load()
173 if (creds->parent_obj.dh_params) { in qcrypto_tls_creds_psk_unload()
174 gnutls_dh_params_deinit(creds->parent_obj.dh_params); in qcrypto_tls_creds_psk_unload()
175 creds->parent_obj.dh_params = NULL; in qcrypto_tls_creds_psk_unload()
H A Dtlscredspriv.h35 gnutls_dh_params_t dh_params; member
81 gnutls_dh_params_t *dh_params,
H A Dtlscredsx509.c635 &creds->parent_obj.dh_params, in qcrypto_tls_creds_x509_load()
640 creds->parent_obj.dh_params); in qcrypto_tls_creds_x509_load()
661 if (creds->parent_obj.dh_params) { in qcrypto_tls_creds_x509_unload()
662 gnutls_dh_params_deinit(creds->parent_obj.dh_params); in qcrypto_tls_creds_x509_unload()
663 creds->parent_obj.dh_params = NULL; in qcrypto_tls_creds_x509_unload()
776 gnutls_dh_params_t creds_dh_params = x509_creds->parent_obj.dh_params; in qcrypto_tls_creds_x509_reload()
779 x509_creds->parent_obj.dh_params = NULL; in qcrypto_tls_creds_x509_reload()
784 x509_creds->parent_obj.dh_params = creds_dh_params; in qcrypto_tls_creds_x509_reload()