HomeSort by: relevance | last modified time | path
    Searched defs:dh_pub (Results 1 - 3 of 3) sorted by relevancy

  /src/crypto/external/bsd/openssh/dist/
kexdh.c 73 kex_dh_compute_key(struct kex *kex, BIGNUM *dh_pub, struct sshbuf *out)
81 fprintf(stderr, "dh_pub= ");
82 BN_print_fp(stderr, dh_pub);
84 debug("bits %d", BN_num_bits(dh_pub));
89 if (!dh_pub_is_valid(kex->dh, dh_pub)) {
99 if ((kout = DH_compute_key(kbuf, dh_pub, kex->dh)) < 0 ||
179 BIGNUM *dh_pub = NULL; local
189 (r = sshbuf_get_bignum2(buf, &dh_pub)) != 0)
192 if ((r = kex_dh_compute_key(kex, dh_pub, buf)) != 0)
197 BN_free(dh_pub);
    [all...]
kexecdh.c 144 EC_POINT *dh_pub = NULL; local
157 if ((dh_pub = EC_POINT_new(group)) == NULL) {
161 if ((r = sshbuf_get_ec(buf, dh_pub, group)) != 0) {
168 sshkey_dump_ec_point(group, dh_pub);
170 if (sshkey_ec_validate_public(group, dh_pub) != 0) {
180 if (ECDH_compute_key(kbuf, klen, dh_pub, key, NULL) != (int)klen ||
193 EC_POINT_clear_free(dh_pub);
  /src/crypto/dist/ipsec-tools/src/racoon/
crypto_openssl.c 2248 BIGNUM *dh_pub = NULL; local
2256 if (eay_v2bn(&dh_pub, pub2) < 0)
2288 if ((l = DH_compute_key(v, dh_pub, dh)) == -1)
2295 BN_free(dh_pub);

Completed in 23 milliseconds