Searched refs:dh_server (Results 1 – 1 of 1) sorted by relevance
2418 DH *dh = NULL, *dh_server = NULL; in server_process_dh() local2425 dh_server = DH_new(); in server_process_dh()2426 if (dh_server == NULL) in server_process_dh()2428 dh_server->p = BN_dup(dh->p); in server_process_dh()2429 dh_server->g = BN_dup(dh->g); in server_process_dh()2430 dh_server->q = BN_dup(dh->q); in server_process_dh()2442 if (!DH_generate_key(dh_server)) in server_process_dh()2446 *server_key_len = DH_size(dh_server); in server_process_dh()2449 DH_compute_key(*server_key, dh->pub_key, dh_server); in server_process_dh()2452 print_dh(dh_server, "client&server's DH params\n"); in server_process_dh()[all …]