Searched refs:context (Results 1 - 25 of 640) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Ddef_realm.c88 krb5_get_default_realm(krb5_context context, char **lrealm) argument
93 if (!context || (context->magic != KV5M_CONTEXT))
96 if (!context->default_realm) {
101 context->default_realm = 0;
102 if (context->profile != 0) {
103 retval = profile_get_string(context->profile, KRB5_CONF_LIBDEFAULTS,
108 context->default_realm = strdup(realm);
109 if (!context->default_realm) {
120 if (context
178 krb5_set_default_realm(krb5_context context, const char *lrealm) argument
202 krb5_free_default_realm(krb5_context context, char *lrealm) argument
[all...]
H A Dunlck_file.c34 krb5_unlock_file(krb5_context context, int fd) argument
36 return krb5_lock_file(context, fd, KRB5_LOCKMODE_UNLOCK);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dktfr_entry.c35 krb5_free_keytab_entry_contents (krb5_context context, krb5_keytab_entry *entry) argument
40 krb5_free_principal(context, entry->principal);
46 krb5_free_keyblock_contents(context, &entry->key);
52 krb5_kt_free_entry (krb5_context context, krb5_keytab_entry *entry) argument
54 return krb5_free_keytab_entry_contents (context, entry);
H A Dktadd.c36 krb5_kt_add_entry (krb5_context context, krb5_keytab id, krb5_keytab_entry *entry) argument
39 return (*id->ops->add)(context, id, entry);
H A Dktremove.c35 krb5_kt_remove_entry (krb5_context context, krb5_keytab id, krb5_keytab_entry *entry) argument
38 return (*id->ops->remove)(context, id, entry);
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/
H A Dkdb_xdr.h8 krb5_encode_princ_dbkey(krb5_context context, krb5_data *key,
12 krb5_decode_princ_contents(krb5_context context, krb5_data *content,
16 krb5_dbe_free_contents(krb5_context context, krb5_db_entry *entry);
19 krb5_encode_princ_contents(krb5_context context, krb5_data *content,
23 krb5_free_princ_dbkey(krb5_context context, krb5_data *key);
26 krb5_free_princ_contents(krb5_context context, krb5_data *contents);
/osnet-11/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dkdb_xdr.h8 krb5_encode_princ_dbkey(krb5_context context,
13 krb5_decode_princ_contents(krb5_context context,
18 krb5_dbe_free_contents(krb5_context context,
22 krb5_encode_princ_contents(krb5_context context,
28 krb5_free_princ_dbkey(krb5_context context,
32 krb5_free_princ_contents(krb5_context context,
/osnet-11/usr/src/lib/libcmd/common/
H A Dchown.c35 b_chown(int argc, char** argv, void* context) argument
38 return b_chgrp(argc, argv, context);
H A Dln.c32 b_ln(int argc, register char** argv, void* context) argument
34 return b_cp(argc, argv, context);
H A Dmd5sum.c32 b_md5sum(int argc, register char** argv, void* context) argument
34 return b_cksum(argc, argv, context);
H A Dmv.c32 b_mv(int argc, register char** argv, void* context) argument
34 return b_cp(argc, argv, context);
H A Dsum.c32 b_sum(int argc, register char** argv, void* context) argument
34 return b_cksum(argc, argv, context);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dallow_weak.c34 krb5_allow_weak_crypto(krb5_context context, krb5_boolean enable) argument
36 context->allow_weak_crypto = (enable != FALSE);
H A Dcp_key_cnt.c37 krb5_copy_keyblock_contents(krb5_context context, const krb5_keyblock *from, krb5_keyblock *to) argument
39 return krb5int_c_copy_keyblock_contents(context, from, to);
H A Dmk_req.c54 krb5_mk_req(krb5_context context, krb5_auth_context *auth_context, argument
63 retval = krb5_sname_to_principal(context, hostname, service,
70 if ((retval = krb5_copy_principal(context, server, &creds.server)))
73 if ((retval = krb5_cc_get_principal(context, ccache, &creds.client)))
76 if ((retval = krb5_get_credentials(context, 0,
80 retval = krb5_mk_req_extended(context, auth_context, ap_req_options,
83 krb5_free_creds(context, credsp);
86 krb5_free_cred_contents(context, &creds);
89 krb5_free_principal(context, server);
H A Dpr_to_salt.c41 principal2salt_internal(krb5_context context, argument
55 nelem = krb5_princ_size(context, pr);
58 size += krb5_princ_realm(context, pr)->length;
61 size += krb5_princ_component(context, pr, i)->length;
68 offset = krb5_princ_realm(context, pr)->length;
69 memcpy(ret->data, krb5_princ_realm(context, pr)->data, offset);
73 memcpy(&ret->data[offset], krb5_princ_component(context, pr, i)->data,
74 krb5_princ_component(context, pr, i)->length);
75 offset += krb5_princ_component(context, pr, i)->length;
81 krb5_principal2salt(krb5_context context, argument
88 krb5_principal2salt_norealm(krb5_context context, register krb5_const_principal pr, krb5_data *ret) argument
[all...]
H A Dgen_save_subkey.c39 krb5int_generate_and_save_subkey(krb5_context context, argument
66 krb5_c_random_add_entropy(context, KRB5_C_RANDSOURCE_TIMING, &d);
70 retval = krb5_generate_subkey_extended(context, keyblock, enctype, &kb);
73 retval = krb5_auth_con_setsendsubkey(context, auth_context, kb);
76 retval = krb5_auth_con_setrecvsubkey(context, auth_context, kb);
82 (void) krb5_auth_con_setsendsubkey(context, auth_context, NULL);
83 (void) krb5_auth_con_setrecvsubkey(context, auth_context, NULL);
85 krb5_free_keyblock(context, kb);
H A Dinit_keyblock.c37 krb5_init_keyblock(krb5_context context, krb5_enctype enctype, argument
40 return krb5int_c_init_keyblock (context, enctype, length, out);
H A Dset_realm.c35 krb5_set_principal_realm(krb5_context context, krb5_principal principal, const char *realm) argument
48 (void) free(krb5_princ_realm(context,principal)->data);
50 krb5_princ_realm(context, principal)->length = length;
51 krb5_princ_realm(context, principal)->data = newrealm;
H A Dvalid_times.c39 krb5_validate_times(krb5_context context, krb5_ticket_times *times) argument
44 if ((retval = krb5_timeofday(context, &currenttime)))
53 if (starttime - currenttime > context->clockskew)
56 if ((currenttime - times->endtime) > context->clockskew)
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drcfns.c36 krb5_rc_initialize (krb5_context context, krb5_rcache id, krb5_deltat span) argument
38 return krb5_x(id->ops->init,(context, id, span));
42 krb5_rc_recover_or_initialize (krb5_context context, krb5_rcache id, argument
45 return krb5_x(id->ops->recover_or_init,(context, id, span));
49 krb5_rc_recover (krb5_context context, krb5_rcache id) argument
51 return krb5_x((id)->ops->recover,(context, id));
55 krb5_rc_destroy (krb5_context context, krb5_rcache id) argument
57 return krb5_x((id)->ops->destroy,(context, id));
61 krb5_rc_close (krb5_context context, krb5_rcache id) argument
63 return krb5_x((id)->ops->close,(context, i
67 krb5_rc_store(krb5_context context, krb5_rcache id, krb5_donot_replay *dontreplay) argument
74 krb5_rc_expunge(krb5_context context, krb5_rcache id) argument
80 krb5_rc_get_lifespan(krb5_context context, krb5_rcache id, krb5_deltat *spanp) argument
87 krb5_rc_get_name(krb5_context context, krb5_rcache id) argument
93 krb5_rc_resolve(krb5_context context, krb5_rcache id, char *name) argument
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Drel_name.c31 krb5_context context; local
34 code = krb5_gss_init_context(&context);
42 krb5_free_context(context);
46 kg_release_name(context, KG_INIT_NAME_INTERN,
48 krb5_free_context(context);
/osnet-11/usr/src/lib/libldap4/sec/
H A Dcram_md5.c22 MD5_CTX context; local
49 (void) MD5Init(&context);
50 (void) MD5Update(&context, k_ipad, 64);
51 (void) MD5Update(&context, text, text_len);
52 (void) MD5Final(digest, &context);
55 (void) MD5Init(&context);
56 (void) MD5Update(&context, k_opad, 64);
57 (void) MD5Update(&context, digest, 16);
59 (void) MD5Final(digest, &context);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcccopy.c5 krb5_cc_copy_creds(krb5_context context, krb5_ccache incc, krb5_ccache outcc) argument
13 if ((code = krb5_cc_set_flags(context, incc, flags)))
19 if ((code = krb5_cc_set_flags(context, outcc, flags)))
23 if ((code = krb5_cc_start_seq_get(context, incc, &cur)))
26 while (!(code = krb5_cc_next_cred(context, incc, &cur, &creds))) {
27 code = krb5_cc_store_cred(context, outcc, &creds);
28 krb5_free_cred_contents(context, &creds);
36 code = krb5_cc_end_seq_get(context, incc, &cur);
48 krb5_cc_end_seq_get(context, incc, &cur);
51 krb5_cc_set_flags(context, inc
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dwantarray.t4 sub context { subroutine
13 context('V',1);
14 $a = context('S',2);
15 @a = context('A',3);
16 scalar context('S',4);
17 $a = scalar context('S',5);
18 ($a) = context('A',6);
19 ($a) = scalar context('S',7);

Completed in 79 milliseconds

1234567891011>>