Home
last modified time | relevance | path

Searched refs:DH_compute_key (Results 1 – 25 of 29) sorted by relevance

12

/netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/
H A DDH_generate_key.pod5 DH_generate_key, DH_compute_key, DH_compute_key_padded - perform
14 int DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh);
22 DH_compute_key() or DH_compute_key_padded(), these are combined with
31 DH_compute_key() computes the shared secret from the private DH value
47 DH_compute_key() returns the size of the shared secret on success, -1
H A DDH_size.pod22 computed by L<DH_compute_key(3)>.
H A DDH_meth_new.pod100 will be called in response to the application calling DH_compute_key(). The
101 parameters for the function have the same meaning as for DH_compute_key().
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/
H A Ddhtest.c182 || !TEST_true((aout = DH_compute_key(abuf, bpub_key, a)) != -1)) in dh_test()
187 || !TEST_true((bout = DH_compute_key(bbuf, apub_key, b)) != -1)) in dh_test()
192 || !TEST_true((cout = DH_compute_key(cbuf, apub_key, c)) != -1)) in dh_test()
556 if (!TEST_int_ne(DH_compute_key(Z1, pub_key_tmp, dhA), -1)) in rfc5114_test()
560 if (!TEST_int_ne(DH_compute_key(Z2, pub_key_tmp, dhB), -1)) in rfc5114_test()
591 if (DH_compute_key(Z1, bady, dhA) != -1) { in rfc5114_test()
661 || !TEST_true((aout = DH_compute_key(abuf, bpub_key, a)) != -1)) in rfc7919_test()
666 || !TEST_true((bout = DH_compute_key(bbuf, apub_key, b)) != -1)) in rfc7919_test()
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/
H A DDH_generate_key.pod5 DH_generate_key, DH_compute_key, DH_compute_key_padded - perform
18 int DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh);
30 DH_compute_key() or DH_compute_key_padded(), these are combined with
39 DH_compute_key() computes the shared secret from the private DH value
55 DH_compute_key() returns the size of the shared secret on success, -1
H A DDH_size.pod34 computed by L<DH_compute_key(3)>.
/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Ddhtest.c211 || !TEST_true((aout = DH_compute_key(abuf, bpub_key, a)) != -1)) in dh_test()
216 || !TEST_true((bout = DH_compute_key(bbuf, apub_key, b)) != -1)) in dh_test()
221 || !TEST_true((cout = DH_compute_key(cbuf, apub_key, c)) != -1)) in dh_test()
621 if (!TEST_int_ne(DH_compute_key(Z1, pub_key_tmp, dhA), -1)) in rfc5114_test()
625 if (!TEST_int_ne(DH_compute_key(Z2, pub_key_tmp, dhB), -1)) in rfc5114_test()
697 || !TEST_true((aout = DH_compute_key(abuf, bpub_key, a)) != -1)) in rfc7919_test()
702 || !TEST_true((bout = DH_compute_key(bbuf, apub_key, b)) != -1)) in rfc7919_test()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hcrypto/
H A Ddh.h63 #define DH_compute_key hc_DH_compute_key macro
145 int DH_compute_key(unsigned char *,const BIGNUM *,DH *);
H A Dtest_dh.c375 ret = DH_compute_key(sec1, dh2->pub_key, dh1); in check_prime()
380 ret = DH_compute_key(sec2, dh1->pub_key, dh2); in check_prime()
H A Dtest_engine_dso.c90 ssize = DH_compute_key(skey, client->pub_key, server); in dh_test()
93 csize = DH_compute_key(ckey, server->pub_key, client); in dh_test()
H A Ddh.c361 DH_compute_key(unsigned char *shared_key, in DH_compute_key() function
H A DChangeLog517 * dh.c (DH_compute_key): return -1 on bad public key.
637 * dh.c (DH_compute_key): check return status value from
753 * dh.c (DH_compute_key): check public key
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dkexdh.c96 if ((kout = DH_compute_key(kbuf, dh_pub, kex->dh)) < 0 || in kex_dh_compute_key()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/dh/
H A Ddh_key.c32 int DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) in DH_compute_key() function
H A Ddh_pmeth.c441 ret = DH_compute_key(key, dhpub, dh); in pkey_dh_derive()
/netbsd-src/crypto/external/bsd/openssl.old/dist/include/openssl/
H A Ddh.h152 int DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh);
/netbsd-src/crypto/external/bsd/heimdal/dist/doc/doxyout/hcrypto/
H A Dmanpages8 hcrypto/man/man3/DH_compute_key.3
/netbsd-src/crypto/external/bsd/openssl/dist/include/openssl/
H A Ddh.h228 OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key,
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/dh/
H A Ddh_pmeth.c426 ret = DH_compute_key(key, dhpubbn, dh); in pkey_dh_derive()
H A Ddh_key.c114 int DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) in DH_compute_key() function
/netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/exchange/
H A Ddh_exch.c170 ret = DH_compute_key(secret, pub_key, pdhctx->dh); in dh_plain_derive()
/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/
H A Dopenssldh_link.c178 ret = DH_compute_key(r.base, pub_key, dhpriv); in openssldh_computesecret()
/netbsd-src/external/mpl/bind/dist/lib/dns/
H A Dopenssldh_link.c
/netbsd-src/crypto/external/bsd/heimdal/dist/kdc/
H A Dpkinit.c234 dh_gen_keylen = DH_compute_key(dh_gen_key,client_params->u.dh.public_key, client_params->u.dh.key); in generate_dh_keyblock()
/netbsd-src/crypto/dist/ipsec-tools/src/racoon/
H A Dcrypto_openssl.c2408 if ((l = DH_compute_key(v, dh_pub, dh)) == -1)

12