Home
last modified time | relevance | path

Searched refs:tmpdata (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dbld_pr_ext.c43 char *tmpdata; in krb5_build_principal_ext() local
68 tmpdata = malloc(rlen+1); in krb5_build_principal_ext()
69 if (!tmpdata) { in krb5_build_principal_ext()
75 krb5_princ_set_realm_data(context, princ_ret, tmpdata); in krb5_build_principal_ext()
76 memcpy(tmpdata, realm, rlen); in krb5_build_principal_ext()
77 tmpdata[rlen] = 0; in krb5_build_principal_ext()
H A Dbld_princ.c40 char *tmpdata; in krb5_build_principal_va() local
51 tmpdata = malloc(rlen); in krb5_build_principal_va()
52 if (!tmpdata) { in krb5_build_principal_va()
56 krb5_princ_set_realm_data(context, princ, tmpdata); in krb5_build_principal_va()
57 memcpy(tmpdata, realm, rlen); in krb5_build_principal_va()
74 krb5_xfree(tmpdata); in krb5_build_principal_va()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dparse.c88 char *tmpdata; in k5_parse_name() local
256 tmpdata = MALLOC(realmsize + 1); in k5_parse_name()
257 if (tmpdata == 0) { in k5_parse_name()
266 krb5_princ_set_realm_data(context, principal, tmpdata); in k5_parse_name()
/titanic_41/usr/src/cmd/krb5/krb5kdc/
H A Dkdc_preauth.c1745 krb5_enc_data tmpdata; in return_sam_data() local
1747 tmpdata.enctype = ENCTYPE_UNKNOWN; in return_sam_data()
1748 tmpdata.ciphertext = sr->sam_track_id; in return_sam_data()
1750 scratch.length = tmpdata.ciphertext.length; in return_sam_data()
1757 &tmpdata, &scratch))) { in return_sam_data()
2005 krb5_enc_data tmpdata; in get_sam_edata() local
2012 if ((tmpdata.ciphertext.data = (char *) malloc(enclen)) == NULL) { in get_sam_edata()
2016 tmpdata.ciphertext.length = enclen; in get_sam_edata()
2019 /* XXX */ 0, 0, scratch, &tmpdata))) in get_sam_edata()
2022 sc.sam_track_id = tmpdata.ciphertext; in get_sam_edata()
[all …]
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_file.c1250 char *tmpdata; in krb5_ktfileint_internal_read_entry() local
1326 tmpdata = malloc(u_princ_size+1); in krb5_ktfileint_internal_read_entry()
1327 if (!tmpdata) { in krb5_ktfileint_internal_read_entry()
1331 if (fread(tmpdata, 1, u_princ_size, KTFILEP(id)) != (size_t) princ_size) { in krb5_ktfileint_internal_read_entry()
1332 free(tmpdata); in krb5_ktfileint_internal_read_entry()
1336 tmpdata[princ_size] = 0; /* Some things might be expecting null */ in krb5_ktfileint_internal_read_entry()
1339 krb5_princ_set_realm_data(context, ret_entry->principal, tmpdata); in krb5_ktfileint_internal_read_entry()
/titanic_41/usr/src/cmd/prtfru/
H A Dprtfru.c1002 uchar_t tmpdata[128]; in print_element() local
1011 (void) memcpy(tmpdata, data, def->payloadLen); in print_element()
1016 print_element(tmpdata, new_def, in print_element()