Home
last modified time | relevance | path

Searched refs:ecdh (Results 1 – 25 of 56) sorted by relevance

123

/NextBSD/crypto/openssl/crypto/ecdh/
HDech_lib.c110 ECDH_DATA *ecdh; in ECDH_set_method() local
112 ecdh = ecdh_check(eckey); in ECDH_set_method()
114 if (ecdh == NULL) in ECDH_set_method()
118 mtmp = ecdh->meth; in ECDH_set_method()
123 if (ecdh->engine) { in ECDH_set_method()
124 ENGINE_finish(ecdh->engine); in ECDH_set_method()
125 ecdh->engine = NULL; in ECDH_set_method()
128 ecdh->meth = meth; in ECDH_set_method()
251 ECDH_DATA *ecdh; in ECDH_set_ex_data() local
252 ecdh = ecdh_check(d); in ECDH_set_ex_data()
[all …]
HDech_ossl.c82 EC_KEY *ecdh,
109 EC_KEY *ecdh, in ecdh_compute_key() argument
134 priv_key = EC_KEY_get0_private_key(ecdh); in ecdh_compute_key()
140 group = EC_KEY_get0_group(ecdh); in ecdh_compute_key()
142 if (EC_KEY_get_flags(ecdh) & EC_FLAG_COFACTOR_ECDH) { in ecdh_compute_key()
HDech_key.c77 ECDH_DATA *ecdh = ecdh_check(eckey); in ECDH_compute_key() local
78 if (ecdh == NULL) in ECDH_compute_key()
80 return ecdh->meth->compute_key(out, outlen, pub_key, eckey, KDF); in ECDH_compute_key()
HDMakefile5 DIR= ecdh
26 EXHEADER= ecdh.h
82 ech_err.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
90 ech_kdf.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
98 ech_key.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
106 ech_lib.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
120 ech_ossl.o: ../../include/openssl/ecdh.h ../../include/openssl/err.h
HDech_locl.h68 EC_KEY *ecdh, void *(*KDF) (const void *in,
/NextBSD/crypto/openssl/crypto/engine/
HDMakefile92 eng_all.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
106 eng_cnf.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
119 eng_cryptodev.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
134 eng_ctrl.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
148 eng_dyn.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
161 eng_err.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
175 eng_fat.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
188 eng_init.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
201 eng_lib.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
215 eng_list.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
[all …]
/NextBSD/crypto/openssl/crypto/x509v3/
HDMakefile93 pcy_cache.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
108 pcy_data.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
122 pcy_lib.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
136 pcy_map.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
149 pcy_node.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
163 pcy_tree.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
177 v3_addr.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
191 v3_akey.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
205 v3_akeya.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
219 v3_alt.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
[all …]
/NextBSD/crypto/openssl/crypto/x509/
HDMakefile92 by_dir.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
104 by_file.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
119 x509_att.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
133 x509_cmp.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
146 x509_d2.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
159 x509_def.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
172 x509_err.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
185 x509_ext.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
199 x509_lu.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
212 x509_obj.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
[all …]
/NextBSD/crypto/openssl/crypto/pkcs12/
HDMakefile88 p12_add.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
102 p12_asn.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
115 p12_attr.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
129 p12_crpt.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
143 p12_crt.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
156 p12_decr.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
170 p12_init.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
185 p12_key.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
198 p12_kiss.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
212 p12_mutl.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
[all …]
/NextBSD/crypto/openssl/crypto/pem/
HDMakefile86 pem_all.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
100 pem_err.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
114 pem_info.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
129 pem_lib.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
146 pem_oth.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
160 pem_pk8.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
176 pem_pkey.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
192 pem_seal.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
207 pem_sign.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
222 pem_x509.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
[all …]
/NextBSD/contrib/netbsd-tests/crypto/libcrypto/
HDt_pubkey.sh70 atf_test_case ecdh
107 atf_add_test_case ecdh
/NextBSD/crypto/openssl/crypto/cms/
HDMakefile89 cms_asn1.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
104 cms_att.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
120 cms_cd.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
136 cms_dd.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
152 cms_enc.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
168 cms_env.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
183 cms_err.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
198 cms_ess.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
212 cms_io.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
228 cms_kari.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
[all …]
/NextBSD/crypto/openssl/crypto/ocsp/
HDMakefile86 ocsp_asn.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
100 ocsp_cl.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
115 ocsp_err.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
130 ocsp_ext.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
145 ocsp_ht.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
159 ocsp_lib.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
174 ocsp_prn.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
190 ocsp_srv.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
205 ocsp_vfy.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
/NextBSD/crypto/openssl/apps/
HDMakefile178 app_rand.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
194 apps.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
210 asn1pars.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
227 ca.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
243 ciphers.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
264 cms.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
279 crl.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
294 crl2p7.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
310 dgst.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
327 dh.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
[all …]
/NextBSD/crypto/openssl/crypto/ts/
HDMakefile95 ts_asn1.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
111 ts_conf.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
127 ts_err.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
143 ts_lib.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
158 ts_req_print.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
175 ts_req_utils.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
192 ts_rsp_print.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
209 ts_rsp_sign.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
226 ts_rsp_utils.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
243 ts_rsp_verify.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
[all …]
/NextBSD/crypto/heimdal/kdc/
HDpkinit.c60 } ecdh; member
186 if (cp->u.ecdh.key) in _kdc_pk_free_client_param()
187 EC_KEY_free(cp->u.ecdh.key); in _kdc_pk_free_client_param()
188 if (cp->u.ecdh.public_key) in _kdc_pk_free_client_param()
189 EC_KEY_free(cp->u.ecdh.public_key); in _kdc_pk_free_client_param()
256 if (client_params->u.ecdh.public_key == NULL) { in generate_dh_keyblock()
262 client_params->u.ecdh.key = EC_KEY_new(); in generate_dh_keyblock()
263 if (client_params->u.ecdh.key == NULL) { in generate_dh_keyblock()
267 EC_KEY_set_group(client_params->u.ecdh.key, in generate_dh_keyblock()
268 EC_KEY_get0_group(client_params->u.ecdh.public_key)); in generate_dh_keyblock()
[all …]
/NextBSD/crypto/openssl/ssl/
HDssl_conf.c293 EC_KEY *ecdh; in cmd_ECDHParameters() local
300 ecdh = EC_KEY_new_by_curve_name(nid); in cmd_ECDHParameters()
301 if (!ecdh) in cmd_ECDHParameters()
304 rv = SSL_CTX_set_tmp_ecdh(cctx->ctx, ecdh); in cmd_ECDHParameters()
306 rv = SSL_set_tmp_ecdh(cctx->ssl, ecdh); in cmd_ECDHParameters()
307 EC_KEY_free(ecdh); in cmd_ECDHParameters()
HDMakefile113 bio_ssl.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
131 d1_both.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
152 d1_clnt.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
173 d1_lib.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
193 d1_meth.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
213 d1_pkt.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
233 d1_srtp.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
254 d1_srvr.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
275 kssl.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
294 s23_clnt.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
[all …]
HDs3_lib.c3008 if (s->s3->tmp.ecdh != NULL) in ssl3_free()
3009 EC_KEY_free(s->s3->tmp.ecdh); in ssl3_free()
3062 if (s->s3->tmp.ecdh != NULL) { in ssl3_clear()
3063 EC_KEY_free(s->s3->tmp.ecdh); in ssl3_clear()
3064 s->s3->tmp.ecdh = NULL; in ssl3_clear()
3232 EC_KEY *ecdh = NULL; in ssl3_ctrl() local
3242 ecdh = (EC_KEY *)parg; in ssl3_ctrl()
3244 if (!EC_KEY_generate_key(ecdh)) { in ssl3_ctrl()
3245 EC_KEY_free(ecdh); in ssl3_ctrl()
3252 s->cert->ecdh_tmp = ecdh; in ssl3_ctrl()
[all …]
HDs3_srvr.c1600 EC_KEY *ecdh = NULL, *ecdhp; in ssl3_send_server_key_exchange() local
1728 if (s->s3->tmp.ecdh != NULL) { in ssl3_send_server_key_exchange()
1740 ecdh = ecdhp; in ssl3_send_server_key_exchange()
1741 else if ((ecdh = EC_KEY_dup(ecdhp)) == NULL) { in ssl3_send_server_key_exchange()
1746 s->s3->tmp.ecdh = ecdh; in ssl3_send_server_key_exchange()
1747 if ((EC_KEY_get0_public_key(ecdh) == NULL) || in ssl3_send_server_key_exchange()
1748 (EC_KEY_get0_private_key(ecdh) == NULL) || in ssl3_send_server_key_exchange()
1750 if (!EC_KEY_generate_key(ecdh)) { in ssl3_send_server_key_exchange()
1757 if (((group = EC_KEY_get0_group(ecdh)) == NULL) || in ssl3_send_server_key_exchange()
1758 (EC_KEY_get0_public_key(ecdh) == NULL) || in ssl3_send_server_key_exchange()
[all …]
/NextBSD/crypto/openssl/engines/
HDMakefile174 e_4758cca.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
191 e_aep.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
207 e_atalla.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
221 e_capi.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
234 e_chil.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
252 e_cswift.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
266 e_gmp.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
281 e_nuron.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
295 e_padlock.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
310 e_sureware.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
[all …]
/NextBSD/crypto/openssl/engines/ccgost/
HDMakefile96 gost2001.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
112 gost2001_keyx.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
131 gost94_keyx.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
148 gost_ameth.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
163 gost_asn1.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
178 gost_crypt.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
193 gost_ctl.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
208 gost_eng.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
224 gost_md.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
247 gost_pmeth.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
[all …]
/NextBSD/crypto/openssl/crypto/pkcs7/
HDMakefile96 pk7_asn1.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
108 pk7_attr.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
123 pk7_doit.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
136 pk7_lib.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
149 pk7_mime.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
164 pk7_smime.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
/NextBSD/crypto/openssl/crypto/asn1/
HDMakefile147 a_digest.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
240 a_sign.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
253 a_strex.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
309 a_verify.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
323 ameth_lib.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
345 asn1_gen.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
376 asn_mime.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
390 asn_moid.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
424 d2i_pr.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
478 i2d_pr.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
[all …]
/NextBSD/crypto/openssl/crypto/evp/
HDMakefile143 c_all.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
156 c_allc.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
169 c_alld.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
182 digest.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
388 evp_cnf.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
401 evp_enc.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
423 evp_key.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
445 evp_pbe.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
458 evp_pkey.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
492 m_ecdsa.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
[all …]

123