Home
last modified time | relevance | path

Searched refs:key_data_contents (Results 1 – 18 of 18) sorted by relevance

/titanic_41/usr/src/lib/krb5/kdb/
H A Dencrypt_key.c87 if (key_data->key_data_contents[i]) in krb5_dbekd_encrypt_key_data()
88 krb5_xfree(key_data->key_data_contents[i]); in krb5_dbekd_encrypt_key_data()
108 key_data->key_data_contents[0] = ptr; in krb5_dbekd_encrypt_key_data()
121 krb5_xfree(key_data->key_data_contents[0]); in krb5_dbekd_encrypt_key_data()
131 key_data->key_data_contents[1] = in krb5_dbekd_encrypt_key_data()
133 if (key_data->key_data_contents[1] == NULL) { in krb5_dbekd_encrypt_key_data()
134 krb5_xfree(key_data->key_data_contents[0]); in krb5_dbekd_encrypt_key_data()
137 memcpy(key_data->key_data_contents[1], keysalt->data.data, in krb5_dbekd_encrypt_key_data()
H A Dkdb_cpw.c94 krb5_db_free(context, data[i].key_data_contents[j]);
210 if( tmp_key_data.key_data_contents[k] )
212 tptr->key_data_contents[k] = krb5_db_alloc(context, NULL, tmp_key_data.key_data_length[k]);
213 if( tptr->key_data_contents[k] == NULL )
221 …memcpy( tptr->key_data_contents[k], tmp_key_data.key_data_contents[k], tmp_key_data.key_data_lengt…
223 memset( tmp_key_data.key_data_contents[k], 0, tmp_key_data.key_data_length[k]);
224 free( tmp_key_data.key_data_contents[k] );
225 tmp_key_data.key_data_contents[k] = NULL;
236 if( tmp_key_data.key_data_contents[i] )
238 memset( tmp_key_data.key_data_contents[i], 0, tmp_key_data.key_data_length[i]);
[all …]
H A Ddecrypt_key.c84 ptr = key_data->key_data_contents[0]; in krb5_dbekd_decrypt_key_data()
129 if (key_data->key_data_contents[0]) { in krb5_dbekd_decrypt_key_data()
136 memcpy(keysalt->data.data, key_data->key_data_contents[1], in krb5_dbekd_decrypt_key_data()
H A Dkdb_convert.c490 …, j).k_contents.k_contents_val[cnt].utf8str_t_val, ent->key_data[j].key_data_contents[cnt], ent->k… in ulog_conv_2logentry()
730 ent->key_data[j].key_data_contents[cnt] = NULL; in ulog_conv_2dbentry()
746 newptr = realloc(kp->key_data_contents[cnt], in ulog_conv_2dbentry()
750 kp->key_data_contents[cnt] = newptr; in ulog_conv_2dbentry()
752 (void) memset(kp->key_data_contents[cnt], 0, in ulog_conv_2dbentry()
754 (void) memcpy(kp->key_data_contents[cnt], in ulog_conv_2dbentry()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dldap_key_seq.c75 key_data.key_data_contents[0], in asn1_encode_key()
101 key_data.key_data_contents[1], in asn1_encode_key()
319 key->key_data_contents[0] = NULL; in asn1_decode_key()
320 key->key_data_contents[1] = NULL; in asn1_decode_key()
345 &key->key_data_contents[1]); checkerr; in asn1_decode_key()
373 &key->key_data_contents[0]); checkerr; in asn1_decode_key()
383 if (key->key_data_contents[0] != NULL) { in asn1_decode_key()
384 free (key->key_data_contents[0]); in asn1_decode_key()
385 key->key_data_contents[0] = NULL; in asn1_decode_key()
387 if (key->key_data_contents[1] != NULL) { in asn1_decode_key()
[all …]
/titanic_41/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_principal.c148 to->key_data_contents[i] = malloc(from->key_data_length[i]);
149 if (to->key_data_contents[i] == NULL) {
151 if (to->key_data_contents[i]) {
152 memset(to->key_data_contents[i], 0,
154 free(to->key_data_contents[i]);
159 memcpy(to->key_data_contents[i], from->key_data_contents[i],
196 krb5_db_free(context, data[i].key_data_contents[j]);
1765 if (tmp_key_data.key_data_contents[k]) {
1766 …kdb.key_data->key_data_contents[k] = krb5_db_alloc(handle->context, NULL, tmp_key_data.key_data_le…
1767 if (kdb.key_data->key_data_contents[k] == NULL) {
[all …]
H A Dadb_xdr.c64 if (!xdr_bytes(xdrs, (char **) &objp->key_data_contents[0], in xdr_krb5_key_data()
69 if (!xdr_bytes(xdrs, (char **) &objp->key_data_contents[1], in xdr_krb5_key_data()
/titanic_41/usr/src/lib/krb5/kadm5/
H A Dmisc_free.c68 if (key->key_data_contents[i]) {
69 memset(key->key_data_contents[i], 0, key->key_data_length[i]);
70 free(key->key_data_contents[i]);
H A Dkadm_rpc_xdr.c283 if (!xdr_bytes(xdrs, (char **) &objp->key_data_contents[0], in xdr_krb5_key_data_nocontents()
288 if (!xdr_bytes(xdrs, (char **) &objp->key_data_contents[1], in xdr_krb5_key_data_nocontents()
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/
H A Dkdb_xdr.c228 memcpy(nextloc, entry->key_data[i].key_data_contents[j],length);
434 if ((key_data->key_data_contents[j] = (krb5_octet *)
439 memcpy(key_data->key_data_contents[j], nextloc,
479 if (entry->key_data[i].key_data_contents[j]) {
480 memset(entry->key_data[i].key_data_contents[j],
483 free (entry->key_data[i].key_data_contents[j]);
486 entry->key_data[i].key_data_contents[j] = NULL;
H A Dkdb_db2.c1265 memset((char *) entry.key_data[i].key_data_contents[0], 0, in krb5_db2_db_delete_principal()
/titanic_41/usr/src/cmd/krb5/kadmin/dbutil/
H A Ddump.c402 free(key_data->key_data_contents[j]);
731 fprintf(arg->ofile, "%02x", pkey->key_data_contents[0][i]);
748 fprintf(arg->ofile, "%02x", pkey->key_data_contents[1][i]);
753 fprintf(arg->ofile, "%02x", akey->key_data_contents[0][i]);
758 fprintf(arg->ofile, "%02x", akey->key_data_contents[1][i]);
918 kdata->key_data_contents[i][j]);
1074 key_data_contents
1232 key_data->key_data_contents[0][c]); in print_key_data()
1829 (pkey->key_data_contents[0] =
1832 (akey->key_data_contents[0] =
[all …]
H A Dovload.c80 if(!(key_data->key_data_contents[0] =
91 key_data->key_data_contents[0][j] = tmp;
/titanic_41/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_principal.c109 if (entry->key_data[i].key_data_contents[j]) {
110 memset(entry->key_data[i].key_data_contents[j],
113 free (entry->key_data[i].key_data_contents[j]);
116 entry->key_data[i].key_data_contents[j] = NULL;
H A Dprinc_xdr.c124 if (!xdr_bytes(xdrs, (char **) &objp->key_data_contents[0], in ldap_xdr_krb5_key_data()
129 if (!xdr_bytes(xdrs, (char **) &objp->key_data_contents[1], in ldap_xdr_krb5_key_data()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/include/krb5/
H A Dkdb.h123 krb5_octet * key_data_contents[2]; /* Array of pointers */ member
/titanic_41/usr/src/cmd/krb5/krb5kdc/
H A Dkdc_util.c1492 memcpy(salt->data, client_key->key_data_contents[1], salt->length); in get_salt_from_key()
H A Dkdc_preauth.c1692 memcpy(padata->contents, client_key->key_data_contents[1], in return_pw_salt()