Searched defs:retval (Results 1 - 25 of 837) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dktdefault.c37 krb5_error_code retval; local
39 if ((retval = krb5_kt_default_name(context, defname, sizeof(defname))))
40 return retval;
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dgen_subkey.c36 krb5_error_code retval; local
48 if ((retval = krb5_c_random_add_entropy(context, KRB5_C_RANDSOURCE_TRUSTEDPARTY, &seed)))
49 return(retval);
58 if ((retval = krb5_c_make_random_key(context, key->enctype, *subkey))) {
60 return(retval);
H A Dcopy_creds.c40 krb5_error_code retval; local
47 retval = krb5_copy_principal(context, incred->client, &tempcred->client);
48 if (retval)
50 retval = krb5_copy_principal(context, incred->server, &tempcred->server);
51 if (retval)
53 retval = krb5_copy_keyblock_contents(context, &incred->keyblock,
55 if (retval)
57 retval = krb5_copy_addresses(context, incred->addresses, &tempcred->addresses);
58 if (retval)
60 retval
[all...]
H A Dgen_seqnum.c47 krb5_error_code retval; local
57 if ((retval = krb5_c_random_add_entropy(context, KRB5_C_RANDSOURCE_TRUSTEDPARTY, &seed)))
58 return(retval);
63 retval = krb5_c_random_make_octets(context, &seed);
64 if (retval)
65 return retval;
H A Dmk_error.c45 krb5_error_code retval; local
48 if ((retval = encode_krb5_error(dec_err, &new_enc_err)))
49 return(retval);
H A Dvalid_times.c42 krb5_error_code retval; local
44 if ((retval = krb5_timeofday(context, &currenttime)))
45 return retval;
H A Dcopy_tick.c35 krb5_error_code retval; local
41 retval = krb5_copy_keyblock(context, partfrom->session,
43 if (retval) {
45 return retval;
47 retval = krb5_copy_principal(context, partfrom->client, &tempto->client);
48 if (retval) {
51 return retval;
70 retval = krb5_copy_addresses(context, partfrom->caddrs, &tempto->caddrs);
71 if (retval) {
76 return retval;
97 krb5_error_code retval; local
[all...]
H A Ddecode_kdc.c48 krb5_error_code retval; local
54 retval = decode_krb5_as_rep(enc_rep, &local_dec_rep);
62 retval = decode_krb5_tgs_rep(enc_rep, &local_dec_rep);
67 if (retval)
68 return retval;
70 if ((retval = krb5_kdc_rep_decrypt_proc(context, key, &usage,
75 return(retval);
H A Ddecrypt_tk.c48 krb5_error_code retval; local
58 if ((retval = krb5_c_decrypt(context, srv_key,
62 return retval;
69 retval = decode_krb5_enc_tkt_part(&scratch, &dec_tkt_part);
70 if (!retval) {
74 return retval;
H A Dencrypt_tk.c49 krb5_error_code retval; local
53 if ((retval = encode_krb5_enc_tkt_part(dec_tkt_part, &scratch))) {
54 return retval;
61 retval = krb5_encrypt_helper(context, srv_key,
67 return(retval);
H A Dkdc_rep_dc.c42 krb5_error_code retval; local
62 if ((retval = krb5_c_decrypt(context, key, usage, 0, &dec_rep->enc_part,
65 return(retval);
72 retval = decode_krb5_enc_kdc_rep_part(&scratch, &local_encpart);
74 if (retval)
75 return retval;
H A Dmk_rep.c45 krb5_error_code retval; local
55 if ((retval = krb5_generate_seq_number(context, auth_context->keyblock,
57 return(retval);
63 retval = krb5int_generate_and_save_subkey (context, auth_context,
65 if (retval)
66 return retval;
73 if ((retval = encode_krb5_ap_rep_enc_part(&repl, &scratch)))
74 return retval;
76 if ((retval = krb5_encrypt_helper(context, auth_context->keyblock,
81 if (!(retval
[all...]
/illumos-gate/usr/src/lib/extendedFILE/common/
H A DextendedFILE.c55 int retval; local
76 retval = str2sig(ptr, &signal);
77 if (retval == -1) {
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Drealm_dom.c53 krb5_error_code retval; local
56 retval = profile_get_string(context->profile, "realms", realm,
58 if (!retval && temp_domain)
62 retval = ENOMEM;
68 return retval;
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_conv.c28 krb5_error_code retval; local
31 if ((retval = krb5_unparse_name(context, auth->ticket->server, &rep->server)))
32 return retval; /* shouldn't happen */
33 if ((retval = krb5_unparse_name(context, auth->authenticator->client,
36 return retval; /* shouldn't happen. */
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypalias.c62 int retval; local
65 retval = yp_getalias(name, result, NAME_MAX);
66 if (retval == -1) {
74 } else if ((retval) && (int)strlen(result) > NAME_MAX) {
91 int retval; local
94 retval = yp_getalias(name, result, MAXALIASLEN);
96 if (retval == -1) {
104 } else if ((retval) && (int)strlen(result) > MAXALIASLEN) {
/illumos-gate/usr/src/cmd/oamuser/group/
H A Dgroupdel.c55 int retval = 0; local
64 switch (retval = del_group(group)) {
73 return (retval);
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/
H A Dss_wrapper.c65 krb5_error_code retval; local
80 &kadmin_cmds, &retval);
81 if (retval) {
82 ss_perror(sci_idx, retval, gettext("creating invocation"));
96 retval = ss_listen(sci_idx);
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_srq_util.c58 DAT_RETURN retval; local
81 retval = dapls_cb_create(&srq_ptr->recv_buffer, srq_ptr,
83 if (retval != DAT_SUCCESS) {
85 "failed %d\n", retval);
/illumos-gate/usr/src/uts/common/gssapi/
H A Dgssdmod.c46 int retval; local
52 if ((retval = mod_install(&modlinkage)) != 0) {
57 return (retval);
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dcopy_athctr.c42 krb5_error_code retval; local
53 retval = krb5_copy_principal(context, authfrom->client, &tempto->client);
54 if (retval) {
56 return retval;
60 (retval = krb5_copy_checksum(context, authfrom->checksum, &tempto->checksum))) {
63 return retval;
67 retval = krb5_copy_keyblock(context, authfrom->subkey, &tempto->subkey);
68 if (retval) {
73 return retval;
78 retval
[all...]
/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dsecmod.c54 int retval = 0; local
59 if ((retval = mod_install(&modlinkage)) != 0) {
68 return (retval);
/illumos-gate/usr/src/uts/common/rpc/sec_gss/
H A Drpcsec_gssmod.c46 int retval = 0; local
55 if ((retval = mod_install(&modlinkage)) != 0) {
60 return (retval);
/illumos-gate/usr/src/uts/common/syscall/
H A Dnice.c55 int err, retval; local
62 err = CL_DONICE(t, CRED(), niceness, &retval);
70 return (retval);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/crc32/
H A Dcrc.c218 krb5_error_code retval; local
220 retval = 0;
234 retval = KRB5KRB_AP_ERR_BAD_INTEGRITY;
237 retval = KRB5KRB_AP_ERR_BAD_INTEGRITY;
240 retval = KRB5KRB_AP_ERR_INAPP_CKSUM;
241 return(retval);

Completed in 85 milliseconds

1234567891011>>