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

1 2 3 4 5 6 7

  /onnv/onnv-gate/usr/src/cmd/fs.d/nfs/etc/
nfssec.conf 44 dh 3 - - - # AUTH_DH
  /onnv/onnv-gate/usr/src/common/openssl/crypto/dh/
dh_key.c 1 /* crypto/dh/dh_key.c */
63 #include <openssl/dh.h>
65 static int generate_key(DH *dh);
66 static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh);
67 static int dh_bn_mod_exp(const DH *dh, BIGNUM *r,
71 static int dh_init(DH *dh);
    [all...]
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);
dh_check.c 1 /* crypto/dh/dh_check.c */
62 #include <openssl/dh.h>
73 int DH_check(const DH *dh, int *ret)
86 if (BN_is_word(dh->g,DH_GENERATOR_2))
88 l=BN_mod_word(dh->p,24);
92 else if (BN_is_word(dh->g,DH_GENERATOR_3))
94 l=BN_mod_word(dh->p,12);
98 else if (BN_is_word(dh->g,DH_GENERATOR_5))
100 l=BN_mod_word(dh->p,10)
    [all...]
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);
dh.h 1 /* crypto/dh/dh.h */
65 #error DH is disabled.
81 #define DH_FLAG_NO_EXP_CONSTTIME 0x02 /* new with 0.9.7h; the built-in DH
94 /* typedef struct dh_st DH; */
101 int (*generate_key)(DH *dh);
102 int (*compute_key)(unsigned char *key,const BIGNUM *pub_key,DH *dh);
103 int (*bn_mod_exp)(const DH *dh, BIGNUM *r, const BIGNUM *a
    [all...]
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);
  /onnv/onnv-gate/usr/src/lib/libc/amd64/gen/
memccpy.s 37 movb (%rsi),%dh
38 movb %dh,(%rdi) / move byte
39 cmpb %dh,%dl / is it the byte sought?
44 movb 1(%rsi),%dh
45 movb %dh,1(%rdi) / move byte
46 cmpb %dh,%dl / is it the byte sought?
51 movb 2(%rsi),%dh
52 movb %dh,2(%rdi) / move byte
53 cmpb %dh,%dl / is it the byte sought?
58 movb 3(%rsi),%dh
    [all...]
  /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/IO/lib/IO/
Dir.pm 31 my $dh = gensym;
33 IO::Dir::open($dh, $_[0])
36 bless $dh, $class;
40 my ($dh) = @_;
41 closedir($dh);
45 @_ == 2 or croak 'usage: $dh->open(DIRNAME)';
46 my ($dh, $dirname) = @_;
48 unless opendir($dh, $dirname);
52 ${*$dh}{io_dir_path} = $dirname;
57 @_ == 1 or croak 'usage: $dh->close()'
    [all...]
  /onnv/onnv-gate/usr/src/cmd/gss/etc/
dummy_nfssec.conf 46 dh 3 - - - # AUTH_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/cmd/perl/5.8.4/distrib/lib/
DirHandle.pm 51 my $dh = gensym;
53 DirHandle::open($dh, $_[0])
56 bless $dh, $class;
60 my ($dh) = @_;
61 closedir($dh);
65 @_ == 2 or croak 'usage: $dh->open(DIRNAME)';
66 my ($dh, $dirname) = @_;
67 opendir($dh, $dirname);
71 @_ == 1 or croak 'usage: $dh->close()';
72 my ($dh) = @_
    [all...]
  /onnv/onnv-gate/usr/src/cmd/ssh/libssh/common/
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...]
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...]
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...]
  /onnv/onnv-gate/usr/src/common/openssl/apps/
dhparam.c 122 #include <openssl/dh.h>
139 * -dsaparam - read or generate DSA parameters, convert to DH
155 DH *dh=NULL; local
252 BIO_printf(bio_err," -dsaparam read or generate DSA parameters, convert to DH\n");
254 BIO_printf(bio_err," -check check the DH parameters\n");
255 BIO_printf(bio_err," -text print a text form of the DH parameters\n");
291 /* DH parameters */
322 dh = DSA_dup_DH(dsa);
324 if (dh == NULL
    [all...]
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.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/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/perl/contrib/Sun/Solaris/PerlGcc/
Makefile.PL 57 my $dh;
58 opendir($dh, $p) || die("Can't read directory $_: $!\n");
60 grep(-d "$p/$_" && $_ =~ /^\d[\d.]+\d$/, readdir($dh))))[-1];
61 closedir($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/cmd/cmd-inet/usr.lib/wpad/
l2_packet.c 33 retval = dlpi_bind(l2->dh, DLPI_ANY_SAP, NULL);
40 retval = dlpi_promiscon(l2->dh, DL_PROMISC_SAP);
48 retval = dlpi_get_physaddr(l2->dh, DL_CURR_PHYS_ADDR, paddr, &paddrlen);
79 retval = dlpi_send(l2->dh, NULL, 0, buf, buflen, NULL);
98 retval = dlpi_recv(l2->dh, NULL, NULL, buf, &buflen, 0, NULL);
132 retval = dlpi_open(l2->ifname, &l2->dh, DLPI_RAW);
142 dlpi_close(l2->dh);
147 (void) eloop_register_read_sock(dlpi_fd(l2->dh), l2_packet_receive, l2,
159 eloop_unregister_read_sock(dlpi_fd(l2->dh));
160 dlpi_close(l2->dh);
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/fs/nfs/
nfs4_idmap.c 339 door_handle_t dh; local
368 dh = nig->nfsidmap_daemon_dh;
369 if (dh)
370 door_ki_hold(dh);
373 if (dh == NULL || nig->nfsidmap_pid == curproc->p_pid ||
375 if (dh)
376 door_ki_rele(dh);
390 door_ki_rele(dh);
408 error = door_ki_upcall_limited(dh, &door_args, NULL, SIZE_MAX, 0);
467 door_ki_rele(dh);
552 door_handle_t dh; local
718 door_handle_t dh; local
932 door_handle_t dh; local
    [all...]

Completed in 1320 milliseconds

1 2 3 4 5 6 7