Lines Matching defs:ecdh
505 struct crypto_ecdh *ecdh;
511 ecdh = crypto_ecdh_init2(crypto_ec_key_group(own), own);
512 if (!ecdh) {
524 secret_buf = crypto_ecdh_set_peerkey(ecdh, 1, wpabuf_head(peer_pub),
543 crypto_ecdh_deinit(ecdh);
2020 pfs->ecdh = crypto_ecdh_init(pfs->curve->ike_group);
2021 if (!pfs->ecdh)
2024 pub = crypto_ecdh_get_pubkey(pfs->ecdh, 0);
2058 pfs->secret = crypto_ecdh_set_peerkey(pfs->ecdh, 0, peer_ie + 2,
2074 crypto_ecdh_deinit(pfs->ecdh);