Searched refs:kvno (Results 1 - 25 of 50) sorted by relevance

12

/freebsd-12-stable/crypto/heimdal/kdc/
H A Dhprop.h63 int kvno; member in struct:v4_principal
H A Dmisc.c50 unsigned kvno = 0; local
53 kvno = *kvno_ptr;
98 kvno,
H A Dmit_dump.c61 %d\t%d\t (key data version, kvno)
354 int kvno; local
356 kvno = getint(&p);
361 * one kvno per principal, we only want the highest set. Assume
365 if (kvno > high_kvno && high_kvno != -1)
366 errx(1, "line %d: high kvno keys given after low kvno keys",
368 else if (kvno < high_kvno) {
380 ent.entry.kvno = kvno;
[all...]
/freebsd-12-stable/crypto/heimdal/admin/
H A Dchange.c40 krb5_principal principal, krb5_kvno kvno,
112 new_entry.vno = kvno + 1;
130 krb5_kvno kvno; member in struct:change_set
163 if (changeset[i].kvno < entry.vno)
164 changeset[i].kvno = entry.vno;
212 changeset[j].kvno = entry.vno;
230 printf("Changing %s kvno %d\n",
231 client_name, changeset[i].kvno);
236 changeset[i].principal, changeset[i].kvno,
39 change_entry(krb5_keytab keytab, krb5_principal principal, krb5_kvno kvno, const char *realm, const char *admin_server, int server_port) argument
H A Dget.c193 princ.kvno = 1;
220 entry.vno = princ.kvno;
/freebsd-12-stable/crypto/heimdal/lib/krb5/
H A Dkeytab.c69 * based installation. They store a truncted kvno, so when the knvo
565 int kvno)
574 if (kvno)
575 snprintf(kvno_str, sizeof(kvno_str), "(kvno %d)", kvno);
581 "principal, kvno, keytab file, enctype"),
593 * Retrieve the keytab entry for `principal, kvno, enctype' into `entry'
599 * @param kvno key version to match, 0 matches all key version numbers.
612 krb5_kvno kvno,
621 return (*id->get)(context, id, principal, kvno, enctyp
560 _krb5_kt_principal_not_found(krb5_context context, krb5_error_code ret, krb5_keytab id, krb5_const_principal principal, krb5_enctype enctype, int kvno) argument
609 krb5_kt_get_entry(krb5_context context, krb5_keytab id, krb5_const_principal principal, krb5_kvno kvno, krb5_enctype enctype, krb5_keytab_entry *entry) argument
[all...]
H A Dkeytab_keyfile.c44 * <int32_t numkeys> {[<int32_t kvno> <char[8] deskey>] * numkeys}
244 int32_t kvno; local
258 ret = krb5_ret_int32(cursor->sp, &kvno);
264 entry->vno = kvno;
381 int32_t kvno; local
385 ret = krb5_ret_int32(sp, &kvno);
388 N_("Failed getting kvno from keyfile", ""));
398 if (kvno == entry->vno) {
433 N_("keytab keyfile failed store kvno", ""));
H A Dbuild_ap_req.c64 ap.authenticator.kvno = NULL;
H A Dkrb5-v4compat.h87 int kvno; /* Key version number */ member in struct:credentials
H A Drd_req.c786 int kvno; local
794 if (ap_req->ticket.enc_part.kvno)
795 kvno = *ap_req->ticket.enc_part.kvno;
797 kvno = 0;
802 kvno,
965 int done = 0, kvno = 0; local
969 if (ap_req.ticket.enc_part.kvno)
970 kvno = *ap_req.ticket.enc_part.kvno;
[all...]
H A Dmk_rep.c92 ap.enc_part.kvno = NULL;
H A Dmk_priv.c107 s.enc_part.kvno = NULL;
/freebsd-12-stable/crypto/heimdal/lib/hdb/
H A Dhdb-keytab.c121 unsigned flags, krb5_kvno kvno, hdb_entry_ex * entry)
128 /* Preserve previous behaviour if no kvno specified */
129 kvno = 0;
151 ret = krb5_kt_get_entry(context, k->keytab, principal, kvno, 0, &ktentry);
120 hkt_fetch_kvno(krb5_context context, HDB * db, krb5_const_principal principal, unsigned flags, krb5_kvno kvno, hdb_entry_ex * entry) argument
H A Dkeytab.c168 * find the keytab entry in `id' for `principal, kvno, enctype' and return
176 krb5_kvno kvno,
217 kvno, &ent);
225 if(kvno && (krb5_kvno)ent.entry.kvno != kvno) {
237 entry->vno = ent.entry.kvno;
256 * find the keytab entry in `id' for `principal, kvno, enctype' and return
369 entry->vno = c->hdb_entry.entry.kvno;
173 hdb_get_entry(krb5_context context, krb5_keytab id, krb5_const_principal principal, krb5_kvno kvno, krb5_enctype enctype, krb5_keytab_entry *entry) argument
H A Dhdb-mitdb.c74 16: kvno
201 mdb_value2entry(krb5_context context, krb5_data *data, krb5_kvno kvno, hdb_entry *entry) argument
318 * 16: kvno
325 * keys for this kvno, the second meaning there's keys and salt[s?].
339 * entry->kvno == 0.
341 if ((entry->kvno < u16) && (kvno == 0 || kvno == u16)) {
343 entry->kvno = u16;
345 * Found a higher kvno tha
683 mdb_fetch_kvno(krb5_context context, HDB *db, krb5_const_principal principal, unsigned flags, krb5_kvno kvno, hdb_entry_ex *entry) argument
[all...]
/freebsd-12-stable/crypto/heimdal/lib/kadm5/
H A Dadmin.h143 krb5_kvno kvno; member in struct:_kadm5_principal_ent_t
230 kvno, krb5_keyblock *keyblock,
H A Dchpass_s.c97 ent.entry.kvno++;
176 ent.entry.kvno++;
H A Drandkey_s.c68 ent.entry.kvno++;
H A Dcreate_s.c125 ent.entry.kvno = 1;
167 ent.entry.kvno = 1;
H A Dent_setup.c182 ent->entry.kvno = princ->kvno;
H A Dad.c996 entry->kvno = atoi(vals[0]);
998 entry->kvno = 0;
1077 char *kvno[2] = { NULL, NULL }; local
1169 entry->kvno = 0;
1171 asprintf(&kvno[0], "%d", entry->kvno);
1175 a->mod_values = kvno;
1216 if (kvno[0])
1217 free(kvno[0]);
H A Dget_s.c143 out->kvno = ent.entry.kvno;
187 kd->key_data_kvno = ent.entry.kvno;
/freebsd-12-stable/crypto/heimdal/kuser/
H A Dkcc.c77 kvno(struct kvno_options *opt, int argc, char **argv) function
92 "kinit", "klist", "kswitch", "kgetcred", "kvno", "kdeltkt",
/freebsd-12-stable/crypto/heimdal/lib/kafs/
H A Dafskrb5.c50 int kvno, ret; local
64 kvno = KAFS_RXKAD_2B_KVNO;
86 kvno = KAFS_RXKAD_K5_KVNO;
101 kt->ct.AuthHandle = kvno;
/freebsd-12-stable/crypto/heimdal/kadmin/
H A Dext.c89 keys[i].vno = princ.kvno + 1; /* XXX get entry again */

Completed in 201 milliseconds

12