Lines Matching refs:ecdh
111 ECDH_DATA *ecdh; in ECDH_set_method() local
113 ecdh = ecdh_check(eckey); in ECDH_set_method()
115 if (ecdh == NULL) in ECDH_set_method()
119 mtmp = ecdh->meth; in ECDH_set_method()
124 if (ecdh->engine) in ECDH_set_method()
126 ENGINE_finish(ecdh->engine); in ECDH_set_method()
127 ecdh->engine = NULL; in ECDH_set_method()
130 ecdh->meth = meth; in ECDH_set_method()
259 ECDH_DATA *ecdh; in ECDH_set_ex_data() local
260 ecdh = ecdh_check(d); in ECDH_set_ex_data()
261 if (ecdh == NULL) in ECDH_set_ex_data()
263 return(CRYPTO_set_ex_data(&ecdh->ex_data,idx,arg)); in ECDH_set_ex_data()
268 ECDH_DATA *ecdh; in ECDH_get_ex_data() local
269 ecdh = ecdh_check(d); in ECDH_get_ex_data()
270 if (ecdh == NULL) in ECDH_get_ex_data()
272 return(CRYPTO_get_ex_data(&ecdh->ex_data,idx)); in ECDH_get_ex_data()