Home
last modified time | relevance | path

Searched refs:kvno (Results 1 – 25 of 45) sorted by relevance

12

/titanic_41/usr/src/lib/krb5/kdb/
H A Dkdb_default.c52 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 Dkdb_cpw.c70 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 Dkeytab.c118 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 Dkdb5.h159 int *kvno,
171 krb5_int32 kvno,
H A Dkdb5.c1313 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 Dkeytab.c386 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 Dkrb5_decode.c213 { 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 Dldap_key_seq.c406 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 Dasn1_k_decode.c489 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 Dktutil_funcs.c100 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 Dktutil.c205 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 Dksetpw.c41 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 Dsvr_principal.c393 (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 Dkt_solaris.c70 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 Dkt_srvtab.c187 …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 Dsmbns_ksetpwd.c305 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 Dsmbns_ads.c2129 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 Dkdb.h318 krb5_int32 kvno,
327 krb5_int32 kvno,
448 krb5_int32 kvno,
463 int *kvno,
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Dradix.c67 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 Dkdb_compat.h70 krb5_kvno kvno; member
/titanic_41/usr/src/lib/krb5/kadm5/
H A Dadmin.h226 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 Dencrypt.c192 output->kvno = 0; in krb5_c_encrypt()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Drd_req_dec.c84 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 Dmk_priv.c50 privmsg.enc_part.kvno = 0; /* XXX allow user-set? */ in krb5_mk_priv_basic()
/titanic_41/usr/src/cmd/krb5/krb5kdc/
H A Ddo_tgs_req.c600 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()

12