Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 528) sorted by relevance

12345678910>>...22

/onnv-gate/usr/src/cmd/ssh/sshd/
H A Dauth2.c91 Authmethod *method);
92 static void authmethod_count_attempt(Authmethod *method);
96 static int userauth_method_can_run(Authmethod *method);
159 char *user, *service, *method, *style = NULL; in input_userauth_request() local
167 method = packet_get_string(NULL); in input_userauth_request()
169 service, method); in input_userauth_request()
174 m = authmethod_lookup(method); in input_userauth_request()
230 authctxt->method = m; in input_userauth_request()
234 debug2("input_userauth_request: try method %s", method); in input_userauth_request()
261 auth_log(authctxt, 0, method, " ssh2"); in input_userauth_request()
[all …]
H A Dauth2-chall.c166 if (authctxt->method->method_data != NULL) { in auth2_challenge()
168 authctxt->method->abandoned = 0; in auth2_challenge()
170 authctxt->method->method_data = (void *) kbdint_alloc(devs); in auth2_challenge()
180 if (authctxt->method->method_data != NULL) { in auth2_challenge_stop()
181 kbdint_free((KbdintAuthctxt *) authctxt->method->method_data); in auth2_challenge_stop()
182 authctxt->method->method_data = NULL; in auth2_challenge_stop()
190 authctxt->method->abandoned = 1; in auth2_challenge_abandon()
191 authctxt->method->postponed = 0; in auth2_challenge_abandon()
192 authctxt->method->authenticated = 0; in auth2_challenge_abandon()
193 authctxt->method->abandons++; in auth2_challenge_abandon()
[all …]
H A Dauth2-gss.c60 if (authctxt == NULL || authctxt->method == NULL) in userauth_gssapi_keyex()
75 buffer_put_cstring(&mic_data, authctxt->method->name); in userauth_gssapi_keyex()
106 userauth_gssapi_abandon(Authctxt *authctxt, Authmethod *method) in userauth_gssapi_abandon() argument
108 ssh_gssapi_delete_ctx((Gssctxt **)&method->method_data); in userauth_gssapi_abandon()
172 ssh_gssapi_build_ctx((Gssctxt **)&authctxt->method->method_data, in userauth_gssapi()
189 authctxt->method->postponed = 1; in userauth_gssapi()
201 if (authctxt == NULL || authctxt->method == NULL || in input_gssapi_token()
202 (authctxt->method->method_data == NULL)) { in input_gssapi_token()
207 gssctxt = authctxt->method->method_data; in input_gssapi_token()
222 authctxt->method->postponed = 0; in input_gssapi_token()
[all …]
H A Dauth2-pubkey.c68 if (!authctxt || !authctxt->method) in userauth_pubkey()
104 if (authctxt->method->method_data) { in userauth_pubkey()
114 prev_key = authctxt->method->method_data; in userauth_pubkey()
119 authctxt->method->abandons++; in userauth_pubkey()
120 authctxt->method->attempts++; in userauth_pubkey()
124 authctxt->method->method_data = NULL; in userauth_pubkey()
160 authctxt->method->postponed = 0; in userauth_pubkey()
181 authctxt->method->postponed = 1; in userauth_pubkey()
186 authctxt->method->method_data = (void *) key; in userauth_pubkey()
216 authctxt->method->authenticated = 1; in userauth_pubkey()
[all …]
H A Dauth2-pam.c60 if (authctxt->method == NULL) in auth2_pam()
66 authctxt->method->method_data = NULL; /* freed in the conv func */ in auth2_pam()
172 authctxt->method->authenticated = 1; in do_pam_kbdint()
190 authctxt->method->abandoned = 1; in do_pam_kbdint()
200 if (authctxt->method->abandons) in do_pam_kbdint()
201 authctxt->method->abandons--; in do_pam_kbdint()
202 if (authctxt->method->attempts) in do_pam_kbdint()
203 authctxt->method->attempts--; in do_pam_kbdint()
226 if (!authctxt || !authctxt->method) { in do_pam_conv_kbd_int()
278 authctxt->method->method_data = (void *) conv_ctxt; in do_pam_conv_kbd_int()
[all …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dmethod.t23 sub Pack::method { shift; join(",", "method", @_) }
26 is(Pack->method("a","b","c"), "method,a,b,c");
28 is(method Pack ("a","b","c"), "method,a,b,c");
29 is((method Pack "a","b","c"), "method,a,b,c");
31 is(Pack->method(), "method");
33 is(method Pack (), "method");
34 is(Pack->method, "method");
36 is(method Pack, "method");
38 is($obj->method("a","b","c"), "method,a,b,c");
40 is((method $obj ("a","b","c")), "method,a,b,c");
[all …]
/onnv-gate/usr/src/common/openssl/crypto/x509v3/
H A Dv3_prn.c113 X509V3_EXT_METHOD *method; in X509V3_EXT_print() local
117 if(!(method = X509V3_EXT_get(ext))) in X509V3_EXT_print()
120 if(method->it) ext_str = ASN1_item_d2i(NULL, &p, ext->value->length, ASN1_ITEM_ptr(method->it)); in X509V3_EXT_print()
121 else ext_str = method->d2i(NULL, &p, ext->value->length); in X509V3_EXT_print()
125 if(method->i2s) { in X509V3_EXT_print()
126 if(!(value = method->i2s(method, ext_str))) { in X509V3_EXT_print()
146 } else if(method->i2v) { in X509V3_EXT_print()
147 if(!(nval = method->i2v(method, ext_str, NULL))) { in X509V3_EXT_print()
152 method->ext_flags & X509V3_EXT_MULTILINE); in X509V3_EXT_print()
153 } else if(method->i2r) { in X509V3_EXT_print()
[all …]
H A Dv3_ocsp.c71 static int i2r_ocsp_crlid(X509V3_EXT_METHOD *method, void *nonce, BIO *out, int indent);
72 static int i2r_ocsp_acutoff(X509V3_EXT_METHOD *method, void *nonce, BIO *out, int indent);
73 static int i2r_object(X509V3_EXT_METHOD *method, void *obj, BIO *out, int indent);
79 static int i2r_ocsp_nonce(X509V3_EXT_METHOD *method, void *nonce, BIO *out, int indent);
81 static int i2r_ocsp_nocheck(X509V3_EXT_METHOD *method, void *nocheck, BIO *out, int indent);
82 static void *s2i_ocsp_nocheck(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, const char *str);
83 static int i2r_ocsp_serviceloc(X509V3_EXT_METHOD *method, void *in, BIO *bp, int ind);
151 static int i2r_ocsp_crlid(X509V3_EXT_METHOD *method, void *in, BIO *bp, int ind) in i2r_ocsp_crlid() argument
177 static int i2r_ocsp_acutoff(X509V3_EXT_METHOD *method, void *cutoff, BIO *bp, int ind) in i2r_ocsp_acutoff() argument
185 static int i2r_object(X509V3_EXT_METHOD *method, void *oid, BIO *bp, int ind) in i2r_object() argument
[all …]
H A Dv3_conf.c75 static X509_EXTENSION *do_ext_i2d(X509V3_EXT_METHOD *method, int ext_nid,
118 X509V3_EXT_METHOD *method; in do_ext_nconf() local
127 if (!(method = X509V3_EXT_get_nid(ext_nid))) in do_ext_nconf()
133 if (method->v2i) in do_ext_nconf()
143 ext_struc = method->v2i(method, ctx, nval); in do_ext_nconf()
148 else if(method->s2i) in do_ext_nconf()
150 if(!(ext_struc = method->s2i(method, ctx, value))) return NULL; in do_ext_nconf()
152 else if(method->r2i) in do_ext_nconf()
159 if(!(ext_struc = method->r2i(method, ctx, value))) return NULL; in do_ext_nconf()
168 ext = do_ext_i2d(method, ext_nid, crit, ext_struc); in do_ext_nconf()
[all …]
H A Dv3_info.c66 static STACK_OF(CONF_VALUE) *i2v_AUTHORITY_INFO_ACCESS(X509V3_EXT_METHOD *method,
69 static AUTHORITY_INFO_ACCESS *v2i_AUTHORITY_INFO_ACCESS(X509V3_EXT_METHOD *method,
91 ASN1_SIMPLE(ACCESS_DESCRIPTION, method, ASN1_OBJECT),
103 static STACK_OF(CONF_VALUE) *i2v_AUTHORITY_INFO_ACCESS(X509V3_EXT_METHOD *method,
113 ret = i2v_GENERAL_NAME(method, desc->location, ret);
116 i2t_ASN1_OBJECT(objtmp, sizeof objtmp, desc->method);
135 static AUTHORITY_INFO_ACCESS *v2i_AUTHORITY_INFO_ACCESS(X509V3_EXT_METHOD *method, in v2i_AUTHORITY_INFO_ACCESS() argument
162 if(!v2i_GENERAL_NAME_ex(acc->location, method, ctx, &ctmp, 0)) in v2i_AUTHORITY_INFO_ACCESS()
170 acc->method = OBJ_txt2obj(objtmp, 0); in v2i_AUTHORITY_INFO_ACCESS()
171 if(!acc->method) { in v2i_AUTHORITY_INFO_ACCESS()
[all …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/NEXT/t/
H A Dnext.t15 sub A::method { return ( 3, $_[0]->NEXT::method() ) }
29 sub D::method { return ( 2, $_[0]->NEXT::method() ) }
32 sub D::oops { $_[0]->NEXT::method() }
37 sub E::method { return ( 4, $_[0]->NEXT::method(), $_[0]->NEXT::method() ) }
43 sub F::method { return ( 5 ) }
48 sub G::method { return ( 6 ) }
59 @vals = $obj->method();
63 @vals = $obj->method();
78 local *C::AUTOLOAD = sub { $_[0]->NEXT::method() };
86 *C::method = sub{ $_[0]->NEXT::AUTOLOAD() };
[all …]
/onnv-gate/usr/src/common/openssl/crypto/bio/
H A Dbio_lib.c66 BIO *BIO_new(BIO_METHOD *method) in BIO_new() argument
76 if (!BIO_set(ret,method)) in BIO_new()
84 int BIO_set(BIO *bio, BIO_METHOD *method) in BIO_set() argument
86 bio->method=method; in BIO_set()
101 if (method->create != NULL) in BIO_set()
102 if (!method->create(bio)) in BIO_set()
135 if ((a->method == NULL) || (a->method->destroy == NULL)) return(1); in BIO_free()
136 ret=a->method->destroy(a); in BIO_free()
149 if ((b == NULL) || (b->method == NULL) || (b->method->bread == NULL)) in BIO_read()
166 i=b->method->bread(b,out,outl); in BIO_read()
[all …]
H A Dbio_cb.c84 BIO_snprintf(p,p_maxlen,"Free - %s\n",bio->method->name); in BIO_debug_callback()
87 if (bio->method->type & BIO_TYPE_DESCRIPTOR) in BIO_debug_callback()
89 bio->num,argi,bio->method->name,bio->num); in BIO_debug_callback()
92 bio->num,argi,bio->method->name); in BIO_debug_callback()
95 if (bio->method->type & BIO_TYPE_DESCRIPTOR) in BIO_debug_callback()
97 bio->num,argi,bio->method->name,bio->num); in BIO_debug_callback()
100 bio->num,argi,bio->method->name); in BIO_debug_callback()
103 BIO_snprintf(p,p_maxlen,"puts() - %s\n",bio->method->name); in BIO_debug_callback()
106 BIO_snprintf(p,p_maxlen,"gets(%d) - %s\n",argi,bio->method->name); in BIO_debug_callback()
109 BIO_snprintf(p,p_maxlen,"ctrl(%d) - %s\n",argi,bio->method->name); in BIO_debug_callback()
/onnv-gate/usr/src/lib/efcode/packages/
H A Dpopulate.c134 char *method, *path; in builtin_driver_method_hook() local
148 method = pop_a_string(env, NULL); in builtin_driver_method_hook()
154 if ((path = search_for_fcode_file(env, method)) != NULL) { in builtin_driver_method_hook()
156 method, path); in builtin_driver_method_hook()
167 fc_ptr2cell(method), &len); in builtin_driver_method_hook()
171 func_name, method); in builtin_driver_method_hook()
172 push_a_string(env, method); in builtin_driver_method_hook()
177 func_name, method, (int)len); in builtin_driver_method_hook()
181 dropin_name = STRDUP(method); in builtin_driver_method_hook()
239 char *method, *path, *buf; in exec_builtin_driver() local
[all …]
/onnv-gate/usr/src/common/openssl/crypto/x509/
H A Dx509_lu.c65 X509_LOOKUP *X509_LOOKUP_new(X509_LOOKUP_METHOD *method) in X509_LOOKUP_new() argument
74 ret->method=method; in X509_LOOKUP_new()
77 if ((method->new_item != NULL) && !method->new_item(ret)) in X509_LOOKUP_new()
88 if ( (ctx->method != NULL) && in X509_LOOKUP_free()
89 (ctx->method->free != NULL)) in X509_LOOKUP_free()
90 ctx->method->free(ctx); in X509_LOOKUP_free()
96 if (ctx->method == NULL) return 0; in X509_LOOKUP_init()
97 if (ctx->method->init != NULL) in X509_LOOKUP_init()
98 return ctx->method->init(ctx); in X509_LOOKUP_init()
105 if (ctx->method == NULL) return 0; in X509_LOOKUP_shutdown()
[all …]
/onnv-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Denv.c38 valid_env_var(const char *var, const char *instance, const char *method) in valid_env_var() argument
43 if (method == NULL) in valid_env_var()
46 "method %s of instance %s.\n"), var, method, instance); in valid_env_var()
49 if (method == NULL) in valid_env_var()
53 var, method, instance); in valid_env_var()
61 find_dup(const char *var, char **env, const char *instance, const char *method) in find_dup() argument
78 "for method %s of instance %s.\n"), *p, method, instance); in find_dup()
100 const char *method) in set_smf_env() argument
133 *np = uu_msprintf("SMF_METHOD=%s", method); in set_smf_env()
156 if (!valid_env_var(*p, instance->fmri, method)) in set_smf_env()
[all …]
/onnv-gate/usr/src/lib/libsum/common/
H A Dsum-lmd.c124 md4_open(const Method_t* method, const char* name) in md4_open() argument
130 lmd->method = (Method_t*)method; in md4_open()
164 md5_open(const Method_t* method, const char* name) in md5_open() argument
170 lmd->method = (Method_t*)method; in md5_open()
205 sha1_open(const Method_t* method, const char* name) in sha1_open() argument
211 lmd->method = (Method_t*)method; in sha1_open()
245 sha256_open(const Method_t* method, const char* name) in sha256_open() argument
251 lmd->method = (Method_t*)method; in sha256_open()
279 sha384_open(const Method_t* method, const char* name) in sha384_open() argument
285 lmd->method = (Method_t*)method; in sha384_open()
[all …]
/onnv-gate/usr/src/lib/print/libhttp-core/common/
H A Dhttp-support.c67 char *method, /* O - Method [32] (http, https, etc.) */ in httpSeparate() argument
73 httpSeparate2(uri, method, 32, username, HTTP_MAX_URI, host, HTTP_MAX_URI, in httpSeparate()
85 char *method, /* O - Method (http, https, etc.) */ in httpSeparate2() argument
104 if (uri == NULL || method == NULL || username == NULL || host == NULL || in httpSeparate2()
118 strlcpy(method, "ipp", methodlen); in httpSeparate2()
160 strlcpy(method, "http", methodlen); in httpSeparate2()
165 strlcpy(method, host, methodlen); in httpSeparate2()
210 if (strcasecmp(method, "http") == 0) in httpSeparate2()
212 else if (strcasecmp(method, "https") == 0) in httpSeparate2()
214 else if (strcasecmp(method, "ipp") == 0) in httpSeparate2()
[all …]
/onnv-gate/usr/src/common/crypto/padding/
H A Dpkcs1.c64 pkcs1_encode(int method, uint8_t *databuf, size_t datalen, uint8_t *padbuf, in pkcs1_encode() argument
78 padbuf[1] = (method == PKCS1_ENCRYPT) ? 0x02 : 0x01; in pkcs1_encode()
80 if (method == PKCS1_ENCRYPT) { in pkcs1_encode()
87 } else if (method == PKCS1_SIGN) { in pkcs1_encode()
118 pkcs1_decode(int method, uint8_t *padbuf, size_t *plen) in pkcs1_decode() argument
120 int rv = ((method == PKCS1_DECRYPT) ? CKR_ENCRYPTED_DATA_INVALID : in pkcs1_decode()
125 if (padbuf[0] != 0x00 || padbuf[1] != (method == PKCS1_DECRYPT ? in pkcs1_decode()
140 } else if (method == PKCS1_VERIFY && padbuf[i] != 0xFF) { in pkcs1_decode()
/onnv-gate/usr/src/common/openssl/crypto/ui/
H A Dui_lib.c76 UI *UI_new_method(const UI_METHOD *method) in UI_new_method() argument
86 if (method == NULL) in UI_new_method()
89 ret->meth=method; in UI_new_method()
640 int UI_method_set_opener(UI_METHOD *method, int (*opener)(UI *ui)) in UI_method_set_opener() argument
642 if (method) in UI_method_set_opener()
644 method->ui_open_session = opener; in UI_method_set_opener()
651 int UI_method_set_writer(UI_METHOD *method, int (*writer)(UI *ui, UI_STRING *uis)) in UI_method_set_writer() argument
653 if (method) in UI_method_set_writer()
655 method->ui_write_string = writer; in UI_method_set_writer()
662 int UI_method_set_flusher(UI_METHOD *method, int (*flusher)(UI *ui)) in UI_method_set_flusher() argument
[all …]
H A Dui.h84 UI *UI_new_method(const UI_METHOD *method);
308 int UI_method_set_opener(UI_METHOD *method, int (*opener)(UI *ui));
309 int UI_method_set_writer(UI_METHOD *method, int (*writer)(UI *ui, UI_STRING *uis));
310 int UI_method_set_flusher(UI_METHOD *method, int (*flusher)(UI *ui));
311 int UI_method_set_reader(UI_METHOD *method, int (*reader)(UI *ui, UI_STRING *uis));
312 int UI_method_set_closer(UI_METHOD *method, int (*closer)(UI *ui));
313 int (*UI_method_get_opener(UI_METHOD *method))(UI*);
314 int (*UI_method_get_writer(UI_METHOD *method))(UI*,UI_STRING*);
315 int (*UI_method_get_flusher(UI_METHOD *method))(UI*);
316 int (*UI_method_get_reader(UI_METHOD *method))(UI*,UI_STRING*);
[all …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/B/
H A DB.pm117 my($op, $method, $level) = @_;
121 $op->$method($level);
126 walkoptree_slow($kid, $method, $level + 1);
132 walkoptree_slow($op->pmreplroot, $method, $level + 1);
166 my ($op, $method, $level) = @_;
177 $op->$method($level);
183 walkoptree_exec($op->other, $method, $level + 1);
189 walkoptree_exec($pmreplstart, $method, $level + 1);
194 walkoptree_exec($op->other->pmreplstart, $method, $level + 1);
199 walkoptree_exec($op->redoop, $method, $level + 1);
[all …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Pod/Perldoc/
H A DGetOptsOO.pm53 my $method = "opt_${first}_with";
54 if( $target->can($method) ) { # it's argumental
63 DEBUG > 3 and print " $method => $rest\n";
64 $target->$method( $rest );
69 if( $target->can( $method = "opt_$first" ) ) {
70 DEBUG > 3 and print " $method is true ($truth)\n";
71 $target->$method( $truth );
/onnv-gate/usr/src/common/openssl/doc/ssl/
H A DSSL_CTX_set_ssl_version.pod6 - choose a new TLS/SSL method
12 int SSL_CTX_set_ssl_version(SSL_CTX *ctx, SSL_METHOD *method);
13 int SSL_set_ssl_method(SSL *s, SSL_METHOD *method);
18 SSL_CTX_set_ssl_version() sets a new default TLS/SSL B<method> for SSL objects
23 SSL_set_ssl_method() sets a new TLS/SSL B<method> for a particular B<ssl>
26 SSL_get_ssl_method() returns a function pointer to the TLS/SSL method
31 The available B<method> choices are described in
35 an SSL object, the method of the SSL object is reset to the method currently
/onnv-gate/usr/src/cmd/ssh/ssh/
H A Dsshconnect2.c212 Authmethod *method; member
349 authctxt.method = authmethod_lookup("none"); in ssh_userauth2()
354 if (authctxt.method == NULL) in ssh_userauth2()
369 debug("Authentication succeeded (%s)", authctxt.method->name); in ssh_userauth2()
374 if (authctxt->method != NULL && in userauth()
375 authctxt->method->cleanup != NULL) in userauth()
376 authctxt->method->cleanup(authctxt); in userauth()
386 Authmethod *method = authmethod_get(authlist); in userauth() local
387 if (method == NULL) in userauth()
389 authctxt->method = method; in userauth()
[all …]

12345678910>>...22