Home
last modified time | relevance | path

Searched refs:key_data_length (Results 1 – 20 of 20) sorted by relevance

/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/
H A Dkdb_xdr.c119 content->length += entry->key_data[i].key_data_length[j];
220 krb5_ui_2 length = entry->key_data[i].key_data_length[j];
426 krb5_kdb_decode_int16(nextloc, key_data->key_data_length[j]);
429 if ((sizeleft -= key_data->key_data_length[j]) < 0) {
433 if (key_data->key_data_length[j]) {
435 malloc(key_data->key_data_length[j])) == NULL) {
440 key_data->key_data_length[j]);
441 nextloc += key_data->key_data_length[j];
478 if (entry->key_data[i].key_data_length[j]) {
482 (unsigned) entry->key_data[i].key_data_length[j]);
[all …]
H A Dkdb_db2.c1264 if (entry.key_data[i].key_data_length[0]) { in krb5_db2_db_delete_principal()
1266 (unsigned) entry.key_data[i].key_data_length[0]); in krb5_db2_db_delete_principal()
/titanic_41/usr/src/lib/krb5/kadm5/srv/
H A Dadb_xdr.c58 if (!xdr_krb5_ui_2(xdrs, (krb5_ui_2 *)&objp->key_data_length[0])) in xdr_krb5_key_data()
60 if (!xdr_krb5_ui_2(xdrs, (krb5_ui_2 *)&objp->key_data_length[1])) in xdr_krb5_key_data()
63 tmp = (unsigned int) objp->key_data_length[0]; in xdr_krb5_key_data()
68 tmp = (unsigned int) objp->key_data_length[1]; in xdr_krb5_key_data()
H A Dsvr_principal.c147 if ( from->key_data_length[i] ) {
148 to->key_data_contents[i] = malloc(from->key_data_length[i]);
153 to->key_data_length[i]);
160 from->key_data_length[i]);
195 if (data[i].key_data_length[j])
1764 kdb.key_data->key_data_length[k] = tmp_key_data.key_data_length[k];
1766 …data->key_data_contents[k] = krb5_db_alloc(handle->context, NULL, tmp_key_data.key_data_length[k]);
1774 …ey_data->key_data_contents[k], tmp_key_data.key_data_contents[k], tmp_key_data.key_data_length[k]);
1776 memset (tmp_key_data.key_data_contents[k], 0, tmp_key_data.key_data_length[k]);
1849 memset (tmp_key_data.key_data_contents[i], 0, tmp_key_data.key_data_length[i]);
[all …]
/titanic_41/usr/src/lib/krb5/kdb/
H A Dkdb_cpw.c93 if (data[i].key_data_length[j]) {
209 tptr->key_data_length[k] = tmp_key_data.key_data_length[k];
212 tptr->key_data_contents[k] = krb5_db_alloc(context, NULL, tmp_key_data.key_data_length[k]);
221 …y( tptr->key_data_contents[k], tmp_key_data.key_data_contents[k], tmp_key_data.key_data_length[k]);
223 memset( tmp_key_data.key_data_contents[k], 0, tmp_key_data.key_data_length[k]);
238 memset( tmp_key_data.key_data_contents[i], 0, tmp_key_data.key_data_length[i]);
507 tptr->key_data_length[k] = tmp_key_data.key_data_length[k];
510 tptr->key_data_contents[k] = krb5_db_alloc(context, NULL, tmp_key_data.key_data_length[k]);
519 …y( tptr->key_data_contents[k], tmp_key_data.key_data_contents[k], tmp_key_data.key_data_length[k]);
521 memset( tmp_key_data.key_data_contents[k], 0, tmp_key_data.key_data_length[k]);
[all …]
H A Ddecrypt_key.c91 cipher.ciphertext.length = key_data->key_data_length[0]-2; in krb5_dbekd_decrypt_key_data()
93 plain.length = key_data->key_data_length[0]-2; in krb5_dbekd_decrypt_key_data()
127 if ((keysalt->data.length = key_data->key_data_length[1])) { in krb5_dbekd_decrypt_key_data()
H A Dencrypt_key.c107 key_data->key_data_length[0] = 2 + len; in krb5_dbekd_encrypt_key_data()
130 if ((key_data->key_data_length[1] = keysalt->data.length) != 0) { in krb5_dbekd_encrypt_key_data()
H A Dkdb_convert.c484 …pd, final, j).k_contents.k_contents_val[cnt].utf8str_t_len = ent->key_data[j].key_data_length[cnt]; in ulog_conv_2logentry()
485 …contents.k_contents_val[cnt].utf8str_t_val = malloc(ent->key_data[j].key_data_length[cnt] * sizeof… in ulog_conv_2logentry()
490 …nt].utf8str_t_val, ent->key_data[j].key_data_contents[cnt], ent->key_data[j].key_data_length[cnt]); in ulog_conv_2logentry()
745 kp->key_data_length[cnt] = (krb5_int16)kv->k_contents.k_contents_val[cnt].utf8str_t_len; in ulog_conv_2dbentry()
747 kp->key_data_length[cnt]); in ulog_conv_2dbentry()
753 kp->key_data_length[cnt]); in ulog_conv_2dbentry()
756 kp->key_data_length[cnt]); in ulog_conv_2dbentry()
/titanic_41/usr/src/cmd/krb5/kadmin/dbutil/
H A Ddump.c383 if (key_data->key_data_length == 0)
401 if (key_data->key_data_length[j]) {
724 (krb5_int32) pkey->key_data_length[0],
725 (krb5_int32) akey->key_data_length[0],
726 (krb5_int32) pkey->key_data_length[1],
727 (krb5_int32) akey->key_data_length[1],
730 for (i=0; i<pkey->key_data_length[0]; i++) {
747 for (i=0; i<pkey->key_data_length[1]; i++) {
752 for (i=0; i<akey->key_data_length[0]; i++) {
757 for (i=0; i<akey->key_data_length[1]; i++) {
[all …]
H A Dovload.c73 key_data->key_data_length[0] = atoi(cp);
81 (krb5_octet *) malloc(key_data->key_data_length[0]+1))) {
85 for(j = 0; j < key_data->key_data_length[0]; j++) {
/titanic_41/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dprinc_xdr.c118 if (!ldap_xdr_krb5_ui_2(xdrs, (krb5_ui_2 *)&objp->key_data_length[0])) in ldap_xdr_krb5_key_data()
120 if (!ldap_xdr_krb5_ui_2(xdrs, (krb5_ui_2 *)&objp->key_data_length[1])) in ldap_xdr_krb5_key_data()
123 tmp = (unsigned int) objp->key_data_length[0]; in ldap_xdr_krb5_key_data()
128 tmp = (unsigned int) objp->key_data_length[1]; in ldap_xdr_krb5_key_data()
H A Dldap_principal.c108 if (entry->key_data[i].key_data_length[j]) {
112 (unsigned) entry->key_data[i].key_data_length[j]);
117 entry->key_data[i].key_data_length[j] = 0;
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dldap_key_seq.c74 key_data.key_data_length[0], in asn1_encode_key()
98 if (key_data.key_data_length[1] > 0) { in asn1_encode_key()
100 key_data.key_data_length[1], in asn1_encode_key()
348 key->key_data_length[1] = keylen; /* XXX range check?? */ in asn1_decode_key()
374 key->key_data_length[0] = ival; /* XXX range check? */ in asn1_decode_key()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Dwpa.c855 reply->key_data_length = BE_16(0); in wpa_supplicant_key_request()
898 uint8_t *end = pos + BE_16(key->key_data_length); in wpa_supplicant_process_1_of_4()
901 pos, BE_16(key->key_data_length)); in wpa_supplicant_process_1_of_4()
958 reply->key_data_length = BE_16(wpa_ie_len); in wpa_supplicant_process_1_of_4()
1124 uint8_t *end = pos + BE_16(key->key_data_length); in wpa_supplicant_process_3_of_4()
1154 ie_len = BE_16(key->key_data_length); in wpa_supplicant_process_3_of_4()
1229 reply->key_data_length = BE_16(0); in wpa_supplicant_process_3_of_4()
1316 keydatalen = BE_16(key->key_data_length); in wpa_supplicant_process_1_of_2()
1510 reply->key_data_length = BE_16(0); in wpa_supplicant_process_1_of_2()
1582 int keydatalen = BE_16(key->key_data_length); in wpa_supplicant_decrypt_key_data()
[all …]
H A Dwpa_impl.h77 uint16_t key_data_length; member
/titanic_41/usr/src/lib/krb5/kadm5/
H A Dmisc_free.c69 memset(key->key_data_contents[i], 0, key->key_data_length[i]);
H A Dkadm_rpc_xdr.c282 tmp = (unsigned int) objp->key_data_length[0]; in xdr_krb5_key_data_nocontents()
287 tmp = (unsigned int) objp->key_data_length[1]; in xdr_krb5_key_data_nocontents()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/include/krb5/
H A Dkdb.h120 krb5_ui_2 key_data_length[2]; Array of lengths
122 krb5_int16 key_data_length[2]; /* Array of lengths */ member
/titanic_41/usr/src/cmd/krb5/krb5kdc/
H A Dkdc_preauth.c1687 if ((padata->contents = malloc(client_key->key_data_length[1])) in return_pw_salt()
1693 client_key->key_data_length[1]); in return_pw_salt()
1694 padata->length = client_key->key_data_length[1]; in return_pw_salt()
H A Dkdc_util.c1489 salt->length = client_key->key_data_length[1]; in get_salt_from_key()