Searched refs:key_data_contents (Results 1 - 15 of 15) sorted by relevance

/osnet-11/usr/src/lib/krb5/kdb/
H A Dencrypt_key.c86 if (key_data->key_data_contents[i])
87 free(key_data->key_data_contents[i]);
105 key_data->key_data_contents[0] = ptr;
118 free(key_data->key_data_contents[0]);
128 key_data->key_data_contents[1] =
130 if (key_data->key_data_contents[1] == NULL) {
131 free(key_data->key_data_contents[0]);
134 memcpy(key_data->key_data_contents[1], keysalt->data.data,
H A Ddecrypt_key.c79 ptr = key_data->key_data_contents[0];
125 if (key_data->key_data_contents[0]) {
132 memcpy(keysalt->data.data, key_data->key_data_contents[1],
H A Dkdb_cpw.c90 krb5_db_free(context, data[i].key_data_contents[j]);
206 if( tmp_key_data.key_data_contents[k] )
208 tptr->key_data_contents[k] = krb5_db_alloc(context, NULL, tmp_key_data.key_data_length[k]);
209 if( tptr->key_data_contents[k] == NULL )
217 memcpy( tptr->key_data_contents[k], tmp_key_data.key_data_contents[k], tmp_key_data.key_data_length[k]);
219 memset( tmp_key_data.key_data_contents[k], 0, tmp_key_data.key_data_length[k]);
220 free( tmp_key_data.key_data_contents[k] );
221 tmp_key_data.key_data_contents[k] = NULL;
232 if( tmp_key_data.key_data_contents[
[all...]
H A Dkdb_convert.c510 (void) memcpy(ULOG_ENTRY_KEYVAL(upd, final, j).k_contents.k_contents_val[cnt].utf8str_t_val, ent->key_data[j].key_data_contents[cnt], ent->key_data[j].key_data_length[cnt]);
762 ent->key_data[j].key_data_contents[cnt] = NULL;
778 newptr = realloc(kp->key_data_contents[cnt],
782 kp->key_data_contents[cnt] = newptr;
784 (void) memset(kp->key_data_contents[cnt], 0,
786 (void) memcpy(kp->key_data_contents[cnt],
H A Dkdb5.c125 if (key->key_data_contents[i]) {
126 zap(key->key_data_contents[i], key->key_data_length[i]);
127 free(key->key_data_contents[i]);
1978 new_data->latest_mkey.key_data_contents[0] = (krb5_octet *)
1981 if (new_data->latest_mkey.key_data_contents[0] == NULL) {
1986 memcpy(new_data->latest_mkey.key_data_contents[0], curloc,
2075 memcpy(nextloc, aux_data_entry->latest_mkey.key_data_contents[0],
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dldap_key_seq.c67 FIELDOF_OPTSTRINGL(krb5_key_data, octetstring, key_data_contents[1],
84 FIELDOF_STRINGL(krb5_key_data, octetstring, key_data_contents[0],
228 key->key_data_contents[0] = NULL;
229 key->key_data_contents[1] = NULL;
254 &key->key_data_contents[1]);
284 &key->key_data_contents[0]); checkerr;
294 free (key->key_data_contents[0]);
295 key->key_data_contents[0] = NULL;
296 free (key->key_data_contents[1]);
297 key->key_data_contents[
[all...]
/osnet-11/usr/src/lib/krb5/kadm5/
H A Dmisc_free.c62 if (key->key_data_contents[i]) {
63 memset(key->key_data_contents[i], 0, key->key_data_length[i]);
64 free(key->key_data_contents[i]);
H A Dkadm_rpc_xdr.c306 if (!xdr_bytes(xdrs, (char **) &objp->key_data_contents[0],
311 if (!xdr_bytes(xdrs, (char **) &objp->key_data_contents[1],
/osnet-11/usr/src/lib/krb5/kadm5/srv/
H A Dadb_xdr.c58 if (!xdr_bytes(xdrs, (char **) &objp->key_data_contents[0],
63 if (!xdr_bytes(xdrs, (char **) &objp->key_data_contents[1],
H A Dsvr_principal.c154 to->key_data_contents[i] = malloc(from->key_data_length[i]);
155 if (to->key_data_contents[i] == NULL) {
157 if (to->key_data_contents[i]) {
158 memset(to->key_data_contents[i], 0,
160 free(to->key_data_contents[i]);
165 memcpy(to->key_data_contents[i], from->key_data_contents[i],
202 krb5_db_free(context, data[i].key_data_contents[j]);
1836 if (tmp_key_data.key_data_contents[k]) {
1837 kdb.key_data->key_data_contents[
[all...]
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/
H A Dkdb_xdr.c84 * then (4 + (4 + key_data_length) per key_data_contents) bytes per key_data
221 memcpy(nextloc, entry->key_data[i].key_data_contents[j],length);
423 if ((key_data->key_data_contents[j] = (krb5_octet *)
428 memcpy(key_data->key_data_contents[j], nextloc,
466 if (entry->key_data[i].key_data_contents[j]) {
467 memset(entry->key_data[i].key_data_contents[j],
470 free (entry->key_data[i].key_data_contents[j]);
473 entry->key_data[i].key_data_contents[j] = NULL;
H A Dkdb_db2.c1166 memset(entry.key_data[i].key_data_contents[0], 0,
/osnet-11/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_principal.c111 if (entry->key_data[i].key_data_contents[j]) {
112 memset(entry->key_data[i].key_data_contents[j],
115 free (entry->key_data[i].key_data_contents[j]);
118 entry->key_data[i].key_data_contents[j] = NULL;
H A Dprinc_xdr.c113 if (!xdr_bytes(xdrs, (char **) &objp->key_data_contents[0],
118 if (!xdr_bytes(xdrs, (char **) &objp->key_data_contents[1],
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/include/krb5/
H A Dkdb.h157 krb5_octet * key_data_contents[2]; /* Array of pointers */ member in struct:_krb5_key_data

Completed in 484 milliseconds