Home
last modified time | relevance | path

Searched refs:key_data_ver (Results 1 – 19 of 19) sorted by relevance

/illumos-gate/usr/src/lib/krb5/kdb/
H A Dencrypt_key.c86 for (i = 0; i < key_data->key_data_ver; i++) in krb5_dbekd_encrypt_key_data()
90 key_data->key_data_ver = 1; in krb5_dbekd_encrypt_key_data()
128 key_data->key_data_ver++; in krb5_dbekd_encrypt_key_data()
H A Dkdb_cpw.c92 for (j = 0; j < data[i].key_data_ver; j++) {
203 tptr->key_data_ver = tmp_key_data.key_data_ver;
206 for( k = 0; k < tmp_key_data.key_data_ver; k++ )
234 for( i = 0; i < tmp_key_data.key_data_ver; i++ )
501 tptr->key_data_ver = tmp_key_data.key_data_ver;
504 for( k = 0; k < tmp_key_data.key_data_ver; k++ )
528 for( i = 0; i < tmp_key_data.key_data_ver; i++ )
H A Dkdb_convert.c465 ULOG_ENTRY_KEYVAL(upd, final, j).k_ver = ent->key_data[j].key_data_ver; in ulog_conv_2logentry()
467 ULOG_ENTRY_KEYVAL(upd, final, j).k_enctype.k_enctype_len = ent->key_data[j].key_data_ver; in ulog_conv_2logentry()
468 ULOG_ENTRY_KEYVAL(upd, final, j).k_contents.k_contents_len = ent->key_data[j].key_data_ver; in ulog_conv_2logentry()
470 …YVAL(upd, final, j).k_enctype.k_enctype_val = malloc(ent->key_data[j].key_data_ver * sizeof(int32_… in ulog_conv_2logentry()
476 …AL(upd, final, j).k_contents.k_contents_val = malloc(ent->key_data[j].key_data_ver * sizeof(utf8st… in ulog_conv_2logentry()
482 for (cnt = 0; cnt < ent->key_data[j].key_data_ver; cnt++) { in ulog_conv_2logentry()
736 kp->key_data_ver = (krb5_int16)kv->k_ver; in ulog_conv_2dbentry()
738 if (kp->key_data_ver > 2) { in ulog_conv_2dbentry()
742 for (cnt = 0; cnt < kp->key_data_ver; cnt++) { in ulog_conv_2dbentry()
H A Ddecrypt_key.c125 if (key_data->key_data_ver == 2) { in krb5_dbekd_decrypt_key_data()
H A Dkdb_default.c84 if (dbentp->key_data[i].key_data_ver > 1) {
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/
H A Dkdb_xdr.c116 for (j = 0; j < entry->key_data[i].key_data_ver; j++) {
211 krb5_kdb_encode_int16(entry->key_data[i].key_data_ver, nextloc);
216 for (j = 0; j < entry->key_data[i].key_data_ver; j++) {
410 krb5_kdb_decode_int16(nextloc, key_data->key_data_ver);
416 if (key_data->key_data_ver <= KRB5_KDB_V1_KEY_DATA_ARRAY) {
417 for (j = 0; j < key_data->key_data_ver; j++) {
475 for (j = 0; j < entry->key_data[i].key_data_ver; j++) {
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dldap_key_seq.c93 if (key_data.key_data_ver > 1) { in asn1_encode_key()
332 key->key_data_ver = 2; in asn1_decode_key()
350 key->key_data_ver = 1; in asn1_decode_key()
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dadb_xdr.c49 if (!xdr_krb5_int16(xdrs, &objp->key_data_ver)) in xdr_krb5_key_data()
H A Dsvr_principal.c138 idx = (from->key_data_ver == 1 ? 1 : 2);
188 for (j = 0; j < data[i].key_data_ver; j++)
722 if ((kdb.key_data[i].key_data_ver == 1) || in kadm5_rename_principal()
1755 for (k = 0; k < tmp_key_data.key_data_ver; k++) {
1840 for (i = 0; i < tmp_key_data.key_data_ver; i++) {
1971 for (k = 0; k < tmp_key_data.key_data_ver; k++) { in kadm5_setkey_principal_3()
1978 for (i1 = k; i1 < tmp_key_data.key_data_ver; i1++) { in kadm5_setkey_principal_3()
/illumos-gate/usr/src/lib/krb5/kadm5/
H A Dmisc_free.c66 idx = (key->key_data_ver == 1 ? 1 : 2);
H A Dkadm_rpc_xdr.c261 if (!xdr_krb5_int16(xdrs, &objp->key_data_ver)) { in xdr_krb5_key_data_nocontents()
270 if (objp->key_data_ver > 1) { in xdr_krb5_key_data_nocontents()
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/
H A Ddump.c398 for (j = 0; j < key_data->key_data_ver; j++) {
907 (int) kdata->key_data_ver,
909 for (i=0; i<kdata->key_data_ver; i++) {
1058 (int) kdata->key_data_ver,
1060 for (i=0; i<kdata->key_data_ver; i++) {
2011 pkey->key_data_ver = (pkey->key_data_type[1] || pkey->key_data_length[1]) ?
2013 akey->key_data_ver = (akey->key_data_type[1] || akey->key_data_length[1]) ?
2276 kdatap->key_data_ver = (krb5_int16) t1;
H A Dovload.c57 key_data->key_data_ver = 1;
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dprinc_xdr.c104 if (!ldap_xdr_krb5_int16(xdrs, &objp->key_data_ver)) in ldap_xdr_krb5_key_data()
H A Dldap_principal.c107 for (j = 0; j < entry->key_data[i].key_data_ver; j++) {
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/krb5/
H A Dkdb.h111 krb5_int16 key_data_ver; /* Version */ member
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/
H A Dkadmin.c1583 if (key_data->key_data_ver > 1) {
1613 dprinc.key_data[i].key_data_ver,
/illumos-gate/usr/src/cmd/krb5/krb5kdc/
H A Dkdc_preauth.c1352 if (etype_info2 && client_key->key_data_ver > 1 && in _make_etype_info_entry()
1638 if (client_key->key_data_ver == 1 || in return_pw_salt()
H A Dkdc_util.c1462 if (client_key->key_data_ver == 1) in get_salt_from_key()