/titanic_41/usr/src/lib/krb5/kdb/ |
H A D | kdb_default.c | 52 krb5_dbe_def_search_enctype(kcontext, dbentp, start, ktype, stype, kvno, kdatap) in krb5_dbe_def_search_enctype() argument 58 krb5_int32 kvno; 67 if (kvno == -1 && stype == -1 && ktype == -1) 68 kvno = 0; 70 if (kvno == 0) { 73 if (kvno < dbentp->key_data[i].key_data_kvno) { 74 kvno = dbentp->key_data[i].key_data_kvno; 112 if (kvno >= 0) { 113 if (kvno == dbentp->key_data[i].key_data_kvno) { 116 maxkvno = kvno; [all …]
|
H A D | kdb_cpw.c | 70 int i, kvno; local 72 for (kvno = i = 0; i < count; i++) { 73 if (kvno < data[i].key_data_kvno) { 74 kvno = data[i].key_data_kvno; 77 return(kvno); 102 add_key_rnd(context, master_key, ks_tuple, ks_tuple_count, db_entry, kvno) in add_key_rnd() argument 108 int kvno; 194 &key, NULL, kvno, 264 int kvno; local 268 kvno = get_key_data_kvno(context, db_entry->n_key_data, db_entry->key_data); [all …]
|
H A D | keytab.c | 118 krb5_ktkdb_get_entry(in_context, id, principal, kvno, enctype, entry) in krb5_ktkdb_get_entry() argument 122 krb5_kvno kvno; 177 -1, kvno, &key_data);
|
H A D | kdb5.h | 159 int *kvno, 171 krb5_int32 kvno,
|
H A D | kdb5.c | 1313 int kvno; in krb5_db_fetch_mkey() local 1367 &kvno, in krb5_db_fetch_mkey() 1475 krb5_int32 kvno, krb5_key_data ** kdatap) in krb5_dbe_find_enctype() argument 1479 kvno, kdatap); in krb5_dbe_find_enctype() 1488 krb5_int32 kvno, krb5_key_data ** kdatap) in krb5_dbe_search_enctype() argument 1511 kvno, kdatap); in krb5_dbe_search_enctype()
|
/titanic_41/usr/src/cmd/krb5/kadmin/cli/ |
H A D | keytab.c | 386 new_entry.vno = princ_rec.kvno; in add_principal() 399 princ_str, princ_rec.kvno, in add_principal() 432 krb5_kvno kvno; in remove_principal() local 445 kvno = 0; in remove_principal() 448 kvno = 0; in remove_principal() 451 kvno = 0; in remove_principal() 454 kvno = atoi(kvno_str); in remove_principal() 458 code = krb5_kt_get_entry(context, keytab, princ, kvno, 0, &entry); in remove_principal() 475 whoami, princ_str, kvno, keytab_str); in remove_principal() 485 kvno = entry.vno; in remove_principal() [all …]
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/ |
H A D | krb5_decode.c | 213 { krb5_kvno kvno; in decode_krb5_authenticator() local 214 get_field(kvno,0,asn1_decode_kvno); in decode_krb5_authenticator() 215 if(kvno != KVNO) clean_return(KRB5KDC_ERR_BAD_PVNO); } in decode_krb5_authenticator() 258 { krb5_kvno kvno; in decode_krb5_ticket() local 259 get_field(kvno,0,asn1_decode_kvno); in decode_krb5_ticket() 260 if(kvno != KVNO) clean_return(KRB5KDC_ERR_BAD_PVNO); in decode_krb5_ticket() 390 { krb5_kvno kvno; in decode_krb5_ap_req() local 391 get_field(kvno,0,asn1_decode_kvno); in decode_krb5_ap_req() 392 if(kvno != KVNO) clean_return(KRB5KDC_ERR_BAD_PVNO); } in decode_krb5_ap_req() 423 { krb5_kvno kvno; in decode_krb5_ap_rep() local [all …]
|
H A D | ldap_key_seq.c | 406 int kvno, maj, min; in asn1_decode_sequence_of_keys() local 430 kvno = lval; /* XXX range check? */ in asn1_decode_sequence_of_keys() 453 (*out)[i - 1].key_data_kvno = kvno; in asn1_decode_sequence_of_keys()
|
H A D | asn1_k_decode.c | 489 opt_field(val->kvno,1,asn1_decode_kvno,0); in asn1_decode_encrypted_data() 612 { krb5_kvno kvno; in asn1_decode_kdc_req() local 613 get_field(kvno,1,asn1_decode_kvno); in asn1_decode_kdc_req() 614 if(kvno != KVNO) return KRB5KDC_ERR_BAD_PVNO; } in asn1_decode_kdc_req() 662 val->authorization_data.kvno = 0; in asn1_decode_kdc_req_body() 1121 fld.kvno = 0;\
|
/titanic_41/usr/src/cmd/krb5/kadmin/ktutil/ |
H A D | ktutil_funcs.c | 100 krb5_error_code ktutil_add(context, list, princ_str, kvno, in ktutil_add() argument 105 krb5_kvno kvno; 228 lp->entry->vno = kvno; 387 unsigned char kvno; /* key version number */ local 412 fread(&kvno, 1, 1, fp) > 0 && 417 entry->vno = kvno; 540 unsigned char kvno; local 541 kvno = (unsigned char) lp->entry->vno; 550 fwrite((char *)&kvno, 1, 1, fp);
|
H A D | ktutil.c | 205 krb5_kvno kvno = 0; local 214 kvno = (krb5_kvno) atoi(argv[++i]); 231 if (argc != 8 || !(princ && kvno && enctype) || (use_pass+use_key != 1)) { 237 retval = ktutil_add(kcontext, &ktlist, princ, kvno, enctype, use_pass);
|
/titanic_41/usr/src/cmd/krb5/kadmin/kclient/ |
H A D | ksetpw.c | 41 krb5_enctype enctype, krb5_kvno kvno, const char *pw); 57 krb5_kvno kvno = 1; in main() local 146 kvno = (krb5_kvno) atoi(optarg); in main() 248 kt_add_entry(ctx, kt, victim, salt, enctypes[i], kvno, newpw); in main() 330 const krb5_principal sprinc, krb5_enctype enctype, krb5_kvno kvno, in kt_add_entry() argument 370 entry->vno = kvno; in kt_add_entry()
|
/titanic_41/usr/src/lib/krb5/kadm5/srv/ |
H A D | svr_principal.c | 393 (mask & KADM5_KVNO)?entry->kvno:1, in kadm5_create_principal_3() 663 kdb.key_data[i].key_data_kvno = entry->kvno; in kadm5_modify_principal() 845 for (entry->kvno = 0, i=0; i<kdb.n_key_data; i++) in kadm5_get_principal() 846 if (kdb.key_data[i].key_data_kvno > entry->kvno) in kadm5_get_principal() 847 entry->kvno = kdb.key_data[i].key_data_kvno; in kadm5_get_principal() 931 newv1->kvno = entry->kvno; in kadm5_get_principal() 1711 int i, k, kvno, ret, have_pol = 0; 1737 for (kvno = 0, i=0; i<kdb.n_key_data; i++) 1738 if (kdb.key_data[i].key_data_kvno > kvno) 1739 kvno = kdb.key_data[i].key_data_kvno; [all …]
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/ |
H A D | kt_solaris.c | 70 const krb5_principal svc_princ, krb5_enctype enctype, krb5_kvno kvno, in kt_add_entry() argument 92 entry.vno = kvno; in kt_add_entry() 159 krb5_kvno kvno, uint_t flags, char *password) in krb5_kt_add_ad_entries() argument 241 kvno, password); in krb5_kt_add_ad_entries()
|
H A D | kt_srvtab.c | 187 …ontext context, krb5_keytab id, krb5_const_principal principal, krb5_kvno kvno, krb5_enctype encty… in krb5_ktsrvtab_get_entry() argument 215 if (kvno == IGNORE_VNO) { in krb5_ktsrvtab_get_entry() 221 if (ent.vno == kvno) { in krb5_ktsrvtab_get_entry()
|
/titanic_41/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_ksetpwd.c | 305 krb5_principal *princs, int count, char *fname, krb5_kvno kvno, in smb_krb5_kt_populate() argument 335 kvno, &salt, passwd) != 0) { in smb_krb5_kt_populate() 394 krb5_enctype enctype, krb5_kvno kvno, const krb5_data *salt, in smb_krb5_kt_addkey() argument 432 entry->vno = kvno; in smb_krb5_kt_addkey()
|
H A D | smbns_ads.c | 2129 int kvno = 1; in smb_ads_lookup_computer_attr_kvno() local 2134 kvno = atoi(avpair.avp_val); in smb_ads_lookup_computer_attr_kvno() 2138 return (kvno); in smb_ads_lookup_computer_attr_kvno() 2172 krb5_kvno kvno; in smb_ads_join() local 2255 kvno = smb_ads_lookup_computer_attr_kvno(ah, dn); in smb_ads_join() 2295 tmpfile, kvno, machine_passwd, encptr, num) != 0) { in smb_ads_join()
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/include/krb5/ |
H A D | kdb.h | 318 krb5_int32 kvno, 327 krb5_int32 kvno, 448 krb5_int32 kvno, 463 int *kvno,
|
/titanic_41/usr/src/cmd/ssh/libssh/common/ |
H A D | radix.c | 67 buffer_put_short(&b, creds->kvno); in creds_to_radix() 147 creds->kvno = buffer_get_short(&b); in radix_to_creds()
|
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | kdb_compat.h | 70 krb5_kvno kvno; member
|
/titanic_41/usr/src/lib/krb5/kadm5/ |
H A D | admin.h | 226 krb5_kvno kvno; member 251 krb5_kvno kvno; member 521 kvno, krb5_keyblock *keyblock, 682 krb5_kvno kvno; member
|
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/ |
H A D | encrypt.c | 192 output->kvno = 0; in krb5_c_encrypt()
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | rd_req_dec.c | 84 req->ticket->enc_part.kvno, in krb5_rd_req_decrypt_tkt_part() 110 req->ticket->enc_part.kvno, in krb5_rd_req_decrypt_tkt_part()
|
H A D | mk_priv.c | 50 privmsg.enc_part.kvno = 0; /* XXX allow user-set? */ in krb5_mk_priv_basic()
|
/titanic_41/usr/src/cmd/krb5/krb5kdc/ |
H A D | do_tgs_req.c | 600 ticket_reply.enc_part.kvno = 0; in process_tgs_req() 636 ticket_reply.enc_part.kvno = server_key->key_data_kvno; in process_tgs_req() 643 reply.enc_part.kvno = 0; /* We are using the session key */ in process_tgs_req()
|