Searched defs:kret (Results 1 - 25 of 38) sorted by relevance

12

/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/os/
H A Dtimeofday.c58 krb5_error_code kret; local
60 if (kret = krb5_crypto_us_timeofday(&tval,
62 return kret;
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dexport_sec_context.c40 krb5_error_code kret; local
52 kret = (OM_uint32) G_VALIDATE_FAILED;
59 kret = krb5_gss_ser_init(context);
60 if (kret)
65 if ((kret = kg_ctx_size(context, (krb5_pointer) ctx,
71 kret = ENOMEM;
78 if ((kret = kg_ctx_externalize(context,
96 if (kret != 0 && context != 0)
97 save_error_info((OM_uint32)kret, context);
103 *minor_status = (OM_uint32) kret;
[all...]
H A Dexport_name.c59 int kret = krb5_unparse_name(context, princ, &s_name); local
62 if (minor_status && kret == 0) {
H A Dadd_cred.c181 int kret = krb5_unparse_name(context, dname, &s_name); local
184 if (kret == 0 && kret1 == 0) {
H A Dlucid_context.c75 krb5_error_code kret = 0; local
98 kret = make_external_lucid_ctx_v1((krb5_pointer)ctx,
102 kret = (OM_uint32) KG_LUCID_VERSION;
106 if (kret)
111 kret = G_VALIDATE_FAILED;
124 *minor_status = (OM_uint32) kret;
140 krb5_error_code kret = 0; local
150 kret = EINVAL;
156 kret = G_VALIDATE_FAILED;
168 kret
[all...]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dimport_sec_context.c90 krb5_error_code kret = 0; local
99 kret = KGSS_INIT_CONTEXT(&context);
100 if (kret) {
101 *minor_status = kret;
105 kret = krb5_gss_ser_init(context);
106 if (kret) {
107 *minor_status = kret;
120 kret = kg_ctx_internalize(context, (krb5_pointer *) &ctx, &ibp, &blen);
131 if (kret) {
132 *minor_status = (OM_uint32) kret;
[all...]
H A Dser_sctx.c150 krb5_error_code kret; local
154 kret = EINVAL;
161 kret = 0;
166 return(kret);
236 krb5_error_code kret; local
239 kret = EINVAL;
244 kret = 0;
247 return(kret);
259 krb5_error_code kret; local
295 kret
375 krb5_error_code kret; local
531 krb5_error_code kret; local
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dser_cc.c66 krb5_error_code kret;
70 kret = EINVAL;
88 kret = 0;
91 return(kret);
101 krb5_error_code kret;
113 kret = EINVAL;
115 kret = ENOMEM;
145 kret = 0;
152 return(kret);
162 krb5_error_code kret;
65 krb5_error_code kret; local
99 krb5_error_code kret; local
159 krb5_error_code kret; local
[all...]
H A Dcc_retr.c211 krb5_error_code kret; local
225 kret = krb5_cc_get_flags(context, id, &oflags);
226 if (kret != KRB5_OK)
227 return kret;
230 kret = krb5_cc_start_seq_get(context, id, &cursor);
231 if (kret != KRB5_OK) {
234 return kret;
237 while ((kret = krb5_cc_next_cred(context, id, &cursor, &fetchcreds)) == KRB5_OK) {
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Dser_rc.c71 krb5_error_code kret;
75 kret = EINVAL;
94 kret = 0;
97 return(kret);
107 krb5_error_code kret;
119 kret = EINVAL;
122 kret = ENOMEM;
152 kret = 0;
159 return(kret);
169 krb5_error_code kret;
70 krb5_error_code kret; local
105 krb5_error_code kret; local
166 krb5_error_code kret; local
[all...]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dser_adata.c64 krb5_error_code kret;
75 kret = EINVAL;
84 kret = 0;
86 return(kret);
96 krb5_error_code kret;
105 kret = EINVAL;
109 kret = ENOMEM;
130 kret = 0;
135 return(kret);
146 krb5_error_code kret;
63 krb5_error_code kret; local
94 krb5_error_code kret; local
143 krb5_error_code kret; local
[all...]
H A Dser_addr.c64 krb5_error_code kret;
75 kret = EINVAL;
84 kret = 0;
86 return(kret);
96 krb5_error_code kret;
105 kret = EINVAL;
109 kret = ENOMEM;
131 kret = 0;
136 return(kret);
148 krb5_error_code kret;
63 krb5_error_code kret; local
94 krb5_error_code kret; local
145 krb5_error_code kret; local
[all...]
H A Dser_auth.c63 krb5_error_code kret;
76 kret = EINVAL;
84 kret = krb5_size_opaque(kcontext,
89 kret = 0;
92 if (!kret && authenticator->checksum)
93 kret = krb5_size_opaque(kcontext,
99 if (!kret && authenticator->subkey)
100 kret = krb5_size_opaque(kcontext,
106 if (!kret && authenticator->authorization_data) {
109 for (i=0; !kret
62 krb5_error_code kret; local
128 krb5_error_code kret; local
232 krb5_error_code kret; local
[all...]
H A Dser_cksum.c64 krb5_error_code kret;
75 kret = EINVAL;
84 kret = 0;
86 return(kret);
96 krb5_error_code kret;
105 kret = EINVAL;
109 kret = ENOMEM;
131 kret = 0;
136 return(kret);
147 krb5_error_code kret;
63 krb5_error_code kret; local
94 krb5_error_code kret; local
144 krb5_error_code kret; local
[all...]
H A Dser_key.c61 krb5_error_code kret;
72 kret = EINVAL;
82 kret = 0;
84 return(kret);
94 krb5_error_code kret;
103 kret = EINVAL;
107 kret = ENOMEM;
129 kret = 0;
134 return(kret);
146 krb5_error_code kret;
60 krb5_error_code kret; local
92 krb5_error_code kret; local
143 krb5_error_code kret; local
[all...]
H A Dser_princ.c69 krb5_error_code kret;
80 kret = EINVAL;
84 !(kret = krb5_unparse_name(kcontext, principal, &fname))) {
89 return(kret);
99 krb5_error_code kret;
109 kret = EINVAL;
113 kret = ENOMEM;
116 if (!(kret = krb5_unparse_name(kcontext, principal, &fname))) {
132 return(kret);
142 krb5_error_code kret;
68 krb5_error_code kret; local
97 krb5_error_code kret; local
139 krb5_error_code kret; local
[all...]
H A Dser_actx.c81 krb5_error_code kret;
96 kret = EINVAL;
100 kret = 0;
104 kret = krb5_c_block_size(kcontext, auth_context->keyblock->enctype,
113 if (!kret && auth_context->remote_addr) {
114 kret = krb5_size_opaque(kcontext,
118 if (!kret)
123 if (!kret && auth_context->remote_port) {
124 kret = krb5_size_opaque(kcontext,
128 if (!kret)
80 krb5_error_code kret; local
200 krb5_error_code kret; local
363 krb5_error_code kret; local
560 krb5_error_code kret; local
[all...]
H A Dser_ctx.c103 krb5_error_code kret;
130 kret = EINVAL;
141 kret = krb5_size_opaque(kcontext,
147 if (!kret && context->db_context)
148 kret = krb5_size_opaque(kcontext,
154 if (!kret && context->profile)
155 kret = krb5_size_opaque(kcontext,
160 if (!kret)
162 return(kret);
172 krb5_error_code kret;
102 krb5_error_code kret; local
170 krb5_error_code kret; local
341 krb5_error_code kret; local
545 krb5_error_code kret; local
583 krb5_error_code kret; local
637 krb5_error_code kret; local
[all...]
H A Dserialize.c72 krb5_error_code kret;
75 kret = 0;
97 kret = ENOMEM;
101 return(kret);
112 krb5_error_code kret;
115 kret = ENOENT;
118 kret = (shandle->sizer) ? (*shandle->sizer)(kcontext, arg, sizep) : 0;
119 return(kret);
129 krb5_error_code kret;
132 kret
70 krb5_error_code kret; local
109 krb5_error_code kret; local
125 krb5_error_code kret; local
142 krb5_error_code kret; local
177 krb5_error_code kret; local
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dktbase.c209 krb5_error_code kret; local
213 kret = EINVAL;
219 kret = (*shandle->sizer)(kcontext, arg, sizep);
220 return(kret);
226 krb5_error_code kret; local
230 kret = EINVAL;
236 kret = (*shandle->externalizer)(kcontext, arg, buffer, lenremain);
237 return(kret);
243 krb5_error_code kret; local
246 kret
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Drd_req_dec.c104 int kret = krb5_unparse_name(context, princ, &s_name); local
105 if (kret == 0) {
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dkuserok.c378 OM_uint32 kret; local
388 kret = krb5_gss_init_context(&ctxt);
389 if (kret) {
390 *minor = kret;
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dclient_principal.c593 kadm5_ret_t kret; local
599 kret = kadm5_randkey_principal_3(server_handle, princ, FALSE,
607 if (kret == KADM5_RPC_ERROR) {
608 kret = kadm5_randkey_principal_old(server_handle, princ,
611 return (kret);
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/
H A Dkdb5_create.c422 krb5_error_code kret; local
429 kret = 0;
439 kret = krb5_c_random_seed(context, &pwd);
440 if (kret)
441 return kret;
443 if (!(kret = krb5_dbe_create_key_data(iargs->ctx, iargs->dbentp))) {
445 if (!(kret = krb5_c_make_random_key(context, ksent->ks_enctype,
447 kret = krb5_dbekd_encrypt_key_data(context,
457 return(kret);
/illumos-gate/usr/src/cmd/krb5/kadmin/server/
H A Dipropd_svc.c117 int kret; local
168 kret = ulog_get_entries(handle->context, *arg, &ret);
185 obuf, client_name, kret);
189 ((kret == 0) ? "success" : error_message(kret)),

Completed in 1522 milliseconds

12