Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/lib/krb5/kdb/
H A Dkdb_default.c50 krb5_dbe_def_search_enctype(kcontext, dbentp, start, ktype, stype, kvno, kdatap) in krb5_dbe_def_search_enctype() argument
56 krb5_int32 kvno;
65 if (kvno == -1 && stype == -1 && ktype == -1)
66 kvno = 0;
68 if (kvno == 0) {
71 if (kvno < dbentp->key_data[i].key_data_kvno) {
72 kvno = dbentp->key_data[i].key_data_kvno;
110 if (kvno >= 0) {
111 if (kvno == dbentp->key_data[i].key_data_kvno) {
114 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.c143 krb5_ktkdb_get_entry(in_context, id, principal, kvno, enctype, entry) in krb5_ktkdb_get_entry() argument
147 krb5_kvno kvno;
202 -1, kvno, &key_data);
H A Dkdb5.h157 int *kvno,
169 krb5_int32 kvno,
H A Dkdb5.c1312 int kvno; in krb5_db_fetch_mkey() local
1366 &kvno, in krb5_db_fetch_mkey()
1474 krb5_int32 kvno, krb5_key_data ** kdatap) in krb5_dbe_find_enctype() argument
1478 kvno, kdatap); in krb5_dbe_find_enctype()
1487 krb5_int32 kvno, krb5_key_data ** kdatap) in krb5_dbe_search_enctype() argument
1510 kvno, kdatap); in krb5_dbe_search_enctype()
/illumos-gate/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 …]
/illumos-gate/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.c404 int kvno, maj, min; in asn1_decode_sequence_of_keys() local
428 kvno = lval; /* XXX range check? */ in asn1_decode_sequence_of_keys()
451 (*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;\
/illumos-gate/usr/src/cmd/krb5/kadmin/ktutil/
H A Dktutil_funcs.c97 krb5_error_code ktutil_add(context, list, princ_str, kvno, in ktutil_add() argument
102 krb5_kvno kvno;
225 lp->entry->vno = kvno;
384 unsigned char kvno; /* key version number */ local
409 fread(&kvno, 1, 1, fp) > 0 &&
414 entry->vno = kvno;
537 unsigned char kvno; local
538 kvno = (unsigned char) lp->entry->vno;
547 fwrite((char *)&kvno, 1, 1, fp);
H A Dktutil.c203 krb5_kvno kvno = 0; local
212 kvno = (krb5_kvno) atoi(argv[++i]);
229 if (argc != 8 || !(princ && kvno && enctype) || (use_pass+use_key != 1)) {
235 retval = ktutil_add(kcontext, &ktlist, princ, kvno, enctype, use_pass);
/illumos-gate/usr/src/cmd/krb5/kadmin/kclient/
H A Dksetpw.c42 krb5_enctype enctype, krb5_kvno kvno, const char *pw);
58 krb5_kvno kvno = 1; in main() local
147 kvno = (krb5_kvno) atoi(optarg); in main()
252 kt_add_entry(ctx, kt, victim, salt, enctypes[i], kvno, newpw); in main()
334 const krb5_principal sprinc, krb5_enctype enctype, krb5_kvno kvno, in kt_add_entry() argument
375 entry->vno = kvno; in kt_add_entry()
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_principal.c386 (mask & KADM5_KVNO)?entry->kvno:1, in kadm5_create_principal_3()
656 kdb.key_data[i].key_data_kvno = entry->kvno; in kadm5_modify_principal()
838 for (entry->kvno = 0, i=0; i<kdb.n_key_data; i++) in kadm5_get_principal()
839 if (kdb.key_data[i].key_data_kvno > entry->kvno) in kadm5_get_principal()
840 entry->kvno = kdb.key_data[i].key_data_kvno; in kadm5_get_principal()
924 newv1->kvno = entry->kvno; in kadm5_get_principal()
1704 int i, k, kvno, ret, have_pol = 0;
1730 for (kvno = 0, i=0; i<kdb.n_key_data; i++)
1731 if (kdb.key_data[i].key_data_kvno > kvno)
1732 kvno = kdb.key_data[i].key_data_kvno;
[all …]
/illumos-gate/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()
/illumos-gate/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,
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_ksetpwd.c319 krb5_principal *princs, int count, char *fname, krb5_kvno kvno, in smb_krb5_kt_populate() argument
349 kvno, &salt, passwd) != 0) { in smb_krb5_kt_populate()
408 krb5_enctype enctype, krb5_kvno kvno, const krb5_data *salt, in smb_krb5_kt_addkey() argument
446 entry->vno = kvno; in smb_krb5_kt_addkey()
H A Dsmbns_ads.c1734 int kvno = 1; in smb_ads_lookup_computer_attr_kvno() local
1740 kvno = atoi(avpair.avp_val); in smb_ads_lookup_computer_attr_kvno()
1744 return (kvno); in smb_ads_lookup_computer_attr_kvno()
1779 krb5_kvno kvno; in smb_ads_join() local
1867 kvno = smb_ads_lookup_computer_attr_kvno(ah, dn); in smb_ads_join()
1903 tmpfile, kvno, machine_passwd, encptr, num) != 0) { in smb_ads_join()
/illumos-gate/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
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/
H A Dkdb_compat.h68 krb5_kvno kvno; member
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dencrypt.c192 output->kvno = 0; in krb5_c_encrypt()
/illumos-gate/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()
/illumos-gate/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()
H A Ddo_as_req.c361 ticket_reply.enc_part.kvno = server_key->key_data_kvno; in process_as_req()
439 reply.enc_part.kvno = client_key->key_data_kvno; in process_as_req()

12