Home
last modified time | relevance | path

Searched refs:nhist (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/common/ccid/
H A Datr.c477 uint_t nhist, cbits, ncbits, idx, Ti, prot; in atr_parse() local
512 nhist = ATR_TD_PROT(buf[ATR_T0_IDX]); in atr_parse()
611 if (idx - 1 + nhist + ncksum >= len) { in atr_parse()
615 if (idx + nhist + ncksum != len) { in atr_parse()
619 if (nhist > 0) { in atr_parse()
620 data->atr_nhistoric = nhist; in atr_parse()
621 bcopy(&buf[idx], data->atr_historic, nhist); in atr_parse()
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_principal.c1116 uint32_t nhist; in add_to_history() local
1119 nhist = pol->pw_history_num; in add_to_history()
1121 if (nhist <= 1) in add_to_history()
1127 if (nkeys + 1 < nhist) { in add_to_history()
1149 } else if (nkeys + 1 > nhist) { in add_to_history()
1168 malloc((nhist - 1) * sizeof (osa_pw_hist_ent)); in add_to_history()
1171 for (i = 0; i < nhist - 1; i++) { in add_to_history()
1176 j = (i + nkeys + knext - (nhist - 1)) % nkeys; in add_to_history()
1180 for (i = 0; i < nkeys - (nhist - 1); i++) { in add_to_history()
1190 nkeys = adb->old_key_len = nhist - 1; in add_to_history()
[all …]