HomeSort by relevance Sort by last modified time
    Searched defs:dh (Results 1 - 25 of 79) sorted by null

1 2 3 4

  /onnv/onnv-gate/usr/src/common/openssl/crypto/dh/
p1024.c 1 /* crypto/dh/p1024.c */
62 #include <openssl/dh.h>
85 DH *dh; local
87 dh=DH_new();
88 dh->p=BN_bin2bn(data,sizeof(data),NULL);
89 dh->g=BN_new();
90 BN_set_word(dh->g,2);
91 PEM_write_DHparams(stdout,dh);
p192.c 1 /* crypto/dh/p192.c */
62 #include <openssl/dh.h>
73 DH *dh; local
75 dh=DH_new();
76 dh->p=BN_bin2bn(data,sizeof(data),NULL);
77 dh->g=BN_new();
78 BN_set_word(dh->g,3);
79 PEM_write_DHparams(stdout,dh);
p512.c 1 /* crypto/dh/p512.c */
62 #include <openssl/dh.h>
78 DH *dh; local
80 dh=DH_new();
81 dh->p=BN_bin2bn(data,sizeof(data),NULL);
82 dh->g=BN_new();
83 BN_set_word(dh->g,2);
84 PEM_write_DHparams(stdout,dh);
  /onnv/onnv-gate/usr/src/uts/sun4v/io/
drctl_impl.c 72 door_handle_t dh = drctl_dh; local
76 if (dh)
77 door_ki_hold(dh);
99 up_err = door_ki_upcall_limited(dh, &door_args, NULL, SIZE_MAX, 0);
132 door_ki_rele(dh);
151 door_ki_rele(dh);
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/
l2_packet.h 27 dlpi_handle_t dh; /* dlpi handle for EAPOL frames */ member in struct:l2_packet_data
  /onnv/onnv-gate/usr/src/cmd/ssh/libssh/common/
kexdhc.c 40 #include "dh.h"
47 DH *dh; local
53 /* generate and send 'e', client DH public key */
54 dh = dh_new_group1();
55 dh_gen_key(dh, kex->we_need * 8);
57 packet_put_bignum2(dh->pub_key);
62 DHparams_print_fp(stderr, dh);
64 BN_print_fp(stderr, dh->pub_key);
83 /* DH paramter f, server public DH key *
    [all...]
kexdhs.c 40 #include "dh.h"
47 DH *dh; local
53 /* generate server DH public key */
54 dh = dh_new_group1();
55 dh_gen_key(dh, kex->we_need * 8);
80 DHparams_print_fp(stderr, dh);
82 BN_print_fp(stderr, dh->pub_key);
85 if (!dh_pub_is_valid(dh, dh_client_pub))
86 packet_disconnect("bad client public DH value")
    [all...]
kexgexc.c 40 #include "dh.h"
53 DH *dh; local
97 dh = dh_new_group(g, p);
98 dh_gen_key(dh, kex->we_need * 8);
101 DHparams_print_fp(stderr, dh);
103 BN_print_fp(stderr, dh->pub_key);
108 /* generate and send 'e', client DH public key */
110 packet_put_bignum2(dh->pub_key);
128 /* DH paramter f, server public DH key *
    [all...]
kexgexs.c 40 #include "dh.h"
49 DH *dh; local
87 dh = choose_dh(min, nbits, max);
88 if (dh == NULL)
89 packet_disconnect("Protocol error: no matching DH grp found");
93 packet_put_bignum2(dh->p);
94 packet_put_bignum2(dh->g);
101 dh_gen_key(dh, kex->we_need * 8);
120 DHparams_print_fp(stderr, dh);
    [all...]
dh.c 26 RCSID("$OpenBSD: dh.c,v 1.22 2002/06/27 08:49:44 markus Exp $");
31 #include <openssl/dh.h>
37 #include "dh.h"
104 DH *
172 dh_pub_is_valid(DH *dh, BIGNUM *dh_pub)
179 log("invalid public DH value: negativ");
185 debug("bits set: %d/%d", bits_set, BN_num_bits(dh->p));
188 if (bits_set > 1 && (BN_cmp(dh_pub, dh->p) == -1))
190 log("invalid public DH value (%d/%d)", bits_set, BN_num_bits(dh->p))
227 DH *dh; local
248 DH *dh; local
    [all...]
kexgsss.c 45 #include "dh.h"
65 DH *dh; local
167 dh = dh_new_group1();
168 dh_gen_key(dh, kex->we_need * 8);
170 if (!dh_pub_is_valid(dh, dh_client_pub))
171 packet_disconnect("bad client public DH value");
173 klen = DH_size(dh);
175 kout = DH_compute_key(kbuf, dh_client_pub, dh);
190 dh->pub_key
    [all...]
kexgssc.c 45 #include "dh.h"
65 DH *dh; local
87 /* Step 1 - e is dh->pub_key */
88 dh = dh_new_group1();
89 dh_gen_key(dh, kex->we_need * 8);
145 packet_put_bignum2(dh->pub_key);
261 if (!dh_pub_is_valid(dh, dh_server_pub))
262 packet_disconnect("bad server public DH value");
265 klen = DH_size(dh);
    [all...]
  /onnv/onnv-gate/usr/src/lib/fm/topo/modules/common/pcibus/
did_hash.c 47 did_hash_t *dh = did_hash_create(hdl); local
49 if (dh != NULL) {
50 topo_mod_setspecific(hdl, (void *) dh);
60 did_hash_t *dh = (did_hash_t *)topo_mod_getspecific(mod); local
63 if (dh == NULL)
65 did_hash_destroy(dh);
  /onnv/onnv-gate/usr/src/lib/libdtrace/common/
drti.c 96 dof_helper_t dh; local
133 dh.dofhp_dof = (uintptr_t)dof;
134 dh.dofhp_addr = elf->e_type == ET_DYN ? lmp->l_addr : 0;
137 (void) snprintf(dh.dofhp_mod, sizeof (dh.dofhp_mod),
140 (void) snprintf(dh.dofhp_mod, sizeof (dh.dofhp_mod),
165 if ((gen = ioctl(fd, DTRACEHIOC_ADDDOF, &dh)) == -1)
  /onnv/onnv-gate/usr/src/lib/libuuid/common/
etheraddr.c 125 dlpi_handle_t dh; local
128 if (dlpi_open(linkname, &dh, 0) != DLPI_SUCCESS)
132 retval = dlpi_get_physaddr(dh, DL_CURR_PHYS_ADDR,
135 dlpi_close(dh);
  /onnv/onnv-gate/usr/src/uts/common/syscall/
sidsys.c 49 door_handle_t dh; local
53 dh = idmap_get_door(zone);
55 if (dh == NULL)
58 if ((err = door_ki_info(dh, &di)) != 0) {
59 door_ki_rele(dh);
63 door_ki_rele(dh);
90 door_handle_t dh; local
97 dh = door_ki_lookup(did);
99 if (dh == NULL)
102 if ((err = idmap_reg_dh(crgetzone(cr), dh)) != 0
111 door_handle_t dh = door_ki_lookup(did); local
    [all...]
  /onnv/onnv-gate/usr/src/lib/libparted/common/libparted/fs/ext2/
parted_io.c 107 struct ext2_dev_handle *dh; local
110 if ((dh = ped_malloc(sizeof(struct ext2_dev_handle))) == NULL)
116 dh->ops = &ops;
117 dh->cookie = monster;
121 return dh;
124 ped_free(dh);
  /onnv/onnv-gate/usr/src/common/openssl/apps/
gendh.c 77 #include <openssl/dh.h>
95 DH *dh=NULL; local
203 BIO_printf(bio_err,"Generating DH parameters, %d bit long safe prime, generator %d\n",num,g);
206 if(((dh = DH_new()) == NULL) || !DH_generate_parameters_ex(dh, num, g, &cb))
211 if (!PEM_write_bio_DHparams(out,dh))
218 if (dh != NULL) DH_free(dh);
dh.c 1 /* apps/dh.c */
70 #include <openssl/dh.h>
94 DH *dh=NULL; local
179 BIO_printf(bio_err," -check check the DH parameters\n");
180 BIO_printf(bio_err," -text print a text form of the DH parameters\n");
233 dh=d2i_DHparams_bio(in,NULL);
235 dh=PEM_read_bio_DHparams(in,NULL,NULL,NULL);
241 if (dh == NULL)
243 BIO_printf(bio_err,"unable to load DH parameters\n")
    [all...]
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.lib/in.dhcpd/tests/
mkdstore.c 70 dsvc_handle_t dh; /* data handle */ variable
127 err = open_dd(&dh, &datastore, DSVC_DHCPNETWORK, network,
134 err = open_dd(&dh, &datastore, DSVC_DHCPNETWORK, network,
145 err = lookup_dd(dh, B_FALSE, query, -1,
148 free_dd_list(dh, dncp);
174 (void) add_dd_entry(dh, &dn);
181 (void) close_dd(&dh);
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/
syncinit.c 114 dlpi_handle_t dh; local
140 retval = dlpi_open(cnambuf, &dh, DLPI_EXCL|DLPI_SERIAL);
150 fd = dlpi_fd(dh);
syncstat.c 66 dlpi_handle_t dh; local
121 if ((retval = dlpi_open(sername, &dh, DLPI_SERIAL)) != DLPI_SUCCESS) {
130 fd = dlpi_fd(dh);
  /onnv/onnv-gate/usr/src/lib/libdhcpagent/common/
dhcp_stable.c 136 dlpi_handle_t dh = NULL; local
145 if (dlpi_open(physintf, &dh, 0) == DLPI_SUCCESS &&
146 dlpi_info(dh, &dlinfo, 0) == DLPI_SUCCESS &&
153 dlpi_close(dh);
163 dlpi_close(dh);
166 if (dh != NULL)
167 dlpi_close(dh);
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
revarp.c 67 dlpi_handle_t dh; local
96 dh = rarp_open(linkname, &physaddrlen, my_macaddr, my_broadcast);
97 if (dh == NULL) {
107 dlpi_close(dh);
131 dlpi_close(dh);
151 retval = dlpi_send(dh, my_broadcast, physaddrlen, req,
162 retval = rarp_recv(dh, ans, ifrarplen, physaddrlen,
189 dlpi_close(dh);
206 dlpi_handle_t dh; local
211 if ((retval = dlpi_open(linkname, &dh, 0)) != DLPI_SUCCESS)
335 dlpi_handle_t dh; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/iscsi/iscsitgtd/
util_ifname.c 332 dlpi_handle_t dh; local
334 if (dlpi_open(ifname, &dh, 0) != DLPI_SUCCESS)
337 retval = dlpi_get_physaddr(dh, DL_CURR_PHYS_ADDR, addrp, addrlenp);
339 dlpi_close(dh);

Completed in 6388 milliseconds

1 2 3 4