Home
last modified time | relevance | path

Searched refs:num_keys (Results 1 – 24 of 24) sorted by relevance

/netbsd/crypto/external/cpl/trousers/dist/src/tcs/ps/
H A Dps_utils.c125 UINT32 num_keys; in write_key_init() local
145 num_keys = LE_32(num_keys); in write_key_init()
151 num_keys = 1; in write_key_init()
173 num_keys = LE_32(num_keys); in write_key_init()
193 num_keys++; in write_key_init()
201 num_keys = LE_32(num_keys); in write_key_init()
271 UINT32 num_keys; in get_num_keys_in_file() local
286 num_keys = 0; in get_num_keys_in_file()
288 num_keys = LE_32(num_keys); in get_num_keys_in_file()
290 return num_keys; in get_num_keys_in_file()
[all …]
H A Dtcsps.c681 UINT32 head_offset = 0, tail_offset, num_keys; in psfile_remove_key() local
767 rc = read(fd, &num_keys, sizeof(UINT32)); in psfile_remove_key()
768 num_keys = LE_32(num_keys); in psfile_remove_key()
781 num_keys--; in psfile_remove_key()
783 num_keys = LE_32(num_keys); in psfile_remove_key()
784 if ((result = write_data(fd, (void *)&num_keys, sizeof(UINT32)))) { in psfile_remove_key()
/netbsd/crypto/external/bsd/heimdal/dist/lib/kadm5/
H A Dset_keys.c52 size_t num_keys; in _kadm5_set_keys() local
59 &keys, &num_keys); in _kadm5_set_keys()
65 ent->keys.len = num_keys; in _kadm5_set_keys()
348 size_t i, num_keys; in _kadm5_set_keys_randomly() local
352 ks_tuple, n_ks_tuple, &keys, &num_keys, 1); in _kadm5_set_keys_randomly()
356 kblock = malloc(num_keys * sizeof(kblock[0])); in _kadm5_set_keys_randomly()
362 memset(kblock, 0, num_keys * sizeof(kblock[0])); in _kadm5_set_keys_randomly()
365 for (i = 0; i < num_keys; i++) { in _kadm5_set_keys_randomly()
399 for (i = 0; i < num_keys; ++i) in _kadm5_set_keys_randomly()
408 ent->keys.len = num_keys; in _kadm5_set_keys_randomly()
[all …]
H A Dchpass_s.c53 size_t num_keys; in change() local
89 num_keys = ent.entry.keys.len; in change()
98 _kadm5_free_keys(context->context, num_keys, keys); in change()
101 _kadm5_free_keys(context->context, num_keys, keys); in change()
/netbsd/crypto/external/cpl/trousers/dist/src/tspi/ps/
H A Dtspps.c394 UINT32 num_keys; in psfile_change_num_keys() local
407 num_keys = LE_32(num_keys); in psfile_change_num_keys()
410 num_keys++; in psfile_change_num_keys()
412 num_keys--; in psfile_change_num_keys()
420 num_keys = LE_32(num_keys); in psfile_change_num_keys()
781 *size = num_keys; in psfile_get_all_cache_entries()
1067 UINT32 num_keys; in psfile_get_num_keys() local
1082 num_keys = 0; in psfile_get_num_keys()
1086 num_keys = LE_32(num_keys); in psfile_get_num_keys()
1087 return num_keys; in psfile_get_num_keys()
[all …]
/netbsd/external/mpl/bind/dist/lib/dns/
H A Dstats.c372 int num_keys = isc_stats_ncounters(stats->counters) / in dns_dnssecsignstats_increment() local
381 for (int i = 0; i < num_keys; i++) { in dns_dnssecsignstats_increment()
392 for (int i = 0; i < num_keys; i++) { in dns_dnssecsignstats_increment()
404 (num_keys * dnssecsign_block_size * 2)); in dns_dnssecsignstats_increment()
407 int nidx = num_keys * dnssecsign_block_size; in dns_dnssecsignstats_increment()
419 int num_keys = isc_stats_ncounters(stats->counters) / in dns_dnssecsignstats_clear() local
428 for (int i = 0; i < num_keys; i++) { in dns_dnssecsignstats_clear()
552 int i, num_keys; in dnssec_statsdump() local
554 num_keys = isc_stats_ncounters(stats) / dnssecsign_block_size; in dnssec_statsdump()
555 for (i = 0; i < num_keys; i++) { in dnssec_statsdump()
/netbsd/usr.bin/btkey/
H A Ddevice.c45 uint8_t num_keys; member
155 for (i = 0 ; i < ep->num_keys ; i++) { in list_device_ev()
194 if (ep->num_keys != 1 in read_device_ev()
236 cp.num_keys = 1; in write_device()
/netbsd/external/gpl3/gdb/dist/readline/readline/examples/rlfe/
H A Drlfe.c263 int num_keys = 0; variable
350 num_keys = 0; in line_handler()
609 DPRINT1("[tty avail num_keys:%d]\n", num_keys); in main()
633 if (do_canon == 0 && num_keys == 0) in main()
653 if (num_keys == 0) in main()
693 num_keys++; in main()
/netbsd/external/gpl3/gdb.old/dist/readline/readline/examples/rlfe/
H A Drlfe.c263 int num_keys = 0; variable
350 num_keys = 0; in line_handler()
609 DPRINT1("[tty avail num_keys:%d]\n", num_keys); in main()
633 if (do_canon == 0 && num_keys == 0) in main()
653 if (num_keys == 0) in main()
693 num_keys++; in main()
/netbsd/crypto/external/bsd/heimdal/dist/kadmin/
H A Dcpw.c53 int num_keys; in set_random_key() local
56 &keys, &num_keys); in set_random_key()
59 for(i = 0; i < num_keys; i++) in set_random_key()
/netbsd/crypto/external/bsd/heimdal/dist/admin/
H A Dchange.c50 int num_keys; in change_entry() local
101 ret = kadm5_randkey_principal (kadm_handle, principal, &keys, &num_keys); in change_entry()
109 for (i = 0; i < num_keys; ++i) { in change_entry()
/netbsd/crypto/external/bsd/heimdal/dist/lib/hdb/
H A Dkeys.c782 Key **keys, size_t *num_keys) in hdb_generate_key_set_password_with_ks_tuple() argument
788 keys, num_keys, 0); in hdb_generate_key_set_password_with_ks_tuple()
792 for (i = 0; i < (*num_keys); i++) { in hdb_generate_key_set_password_with_ks_tuple()
810 hdb_free_keys (context, *num_keys, *keys); in hdb_generate_key_set_password_with_ks_tuple()
821 Key **keys, size_t *num_keys) in hdb_generate_key_set_password() argument
826 keys, num_keys); in hdb_generate_key_set_password()
H A Dhdb-mitdb.c420 uint16_t u16, num_keys, num_tl; in _hdb_mdb_value2entry() local
493 num_keys = u16; in _hdb_mdb_value2entry()
581 for (i = 0; i < num_keys; i++) { in _hdb_mdb_value2entry()
/netbsd/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Ddeprecated.c112 static int num_keys = sizeof(keys) / sizeof(keys[0]); variable
130 for(i = 0; i < num_keys; i++) { in krb5_keytype_to_string()
137 if(i >= num_keys) { in krb5_keytype_to_string()
164 for(i = 0; i < num_keys; i++) in krb5_string_to_keytype()
/netbsd/crypto/external/bsd/openssh/dist/
H A Dmisc.c1189 u_int num_keys = 0, i; in vdollar_percent_expand() local
1207 for (num_keys = 0; num_keys < EXPAND_MAX_KEYS; num_keys++) { in vdollar_percent_expand()
1208 keys[num_keys].key = va_arg(ap, char *); in vdollar_percent_expand()
1209 if (keys[num_keys].key == NULL) in vdollar_percent_expand()
1211 keys[num_keys].repl = va_arg(ap, char *); in vdollar_percent_expand()
1212 if (keys[num_keys].repl == NULL) { in vdollar_percent_expand()
1214 keys[num_keys].key); in vdollar_percent_expand()
1217 if (num_keys == EXPAND_MAX_KEYS && va_arg(ap, char *) != NULL) in vdollar_percent_expand()
1219 if (num_keys == 0) in vdollar_percent_expand()
1272 for (i = 0; i < num_keys; i++) { in vdollar_percent_expand()
[all …]
/netbsd/external/bsd/unbound/dist/daemon/
H A Dremote.c1645 size_t num_keys; member
1668 inf->num_keys++; in infra_del_host()
1699 inf.num_keys = 0; in do_flush_infra()
1761 inf->num_keys++; in zone_del_kcache()
1786 inf.num_keys = 0; in do_flush_zone()
1802 (unsigned long)inf.num_msgs, (unsigned long)inf.num_keys); in do_flush_zone()
1840 inf->num_keys++; in bogus_del_kcache()
1855 inf.num_keys = 0; in do_flush_bogus()
1869 (unsigned long)inf.num_msgs, (unsigned long)inf.num_keys); in do_flush_bogus()
1915 inf->num_keys++; in negative_del_kcache()
[all …]
/netbsd/crypto/external/cpl/trousers/dist/src/tcs/
H A Dtcs_caps.c179 &p->num_keys))) in get_tpm_metrics()
/netbsd/external/bsd/unbound/dist/smallapp/
H A Dunbound-anchor.c1204 int num_keys; member
1511 data->num_keys++; in xml_append_ds()
1633 data.num_keys); in xml_parse()
1652 if(data.num_keys == 0) { in xml_parse()
/netbsd/external/mpl/bind/dist/bin/delv/
H A Ddelv.c123 static int num_keys = 0; variable
760 num_keys++; in key_fromconfig()
884 if (num_keys == 0) { in setup_dnsseckeys()
/netbsd/external/mit/xorg/lib/libxcb/files/
H A Dxinput.h174 uint16_t num_keys; member
250 uint16_t num_keys; member
1528 uint8_t num_keys; member
1591 uint8_t num_keys; member
2727 uint16_t num_keys; member
2833 uint16_t num_keys; member
3484 uint8_t num_keys; member
H A Dxinput.c420 xcb_parts[xcb_parts_idx].iov_base = (char *) &_aux->key.num_keys; in xcb_input_input_info_info_serialize()
531 _aux->key.num_keys = *(uint16_t *)xcb_tmp; in xcb_input_input_info_info_unpack()
5376 _aux->key.num_keys = *(uint8_t *)xcb_tmp; in xcb_input_input_state_data_unpack()
9965 xcb_block_len += _aux->num_keys * sizeof(uint32_t); in xcb_input_key_class_sizeof()
9989 return R->num_keys; in xcb_input_key_class_keys_length()
9996 i.data = ((uint32_t *) (R + 1)) + (R->num_keys); in xcb_input_key_class_keys_end()
10107 return S->key.num_keys; in xcb_input_device_class_data_key_keys_length()
10115 i.data = S->key.keys + S->key.num_keys; in xcb_input_device_class_data_key_keys_end()
10207 xcb_block_len += _aux->key.num_keys * sizeof(uint32_t); in xcb_input_device_class_data_serialize()
10408 _aux->key.num_keys = *(uint16_t *)xcb_tmp; in xcb_input_device_class_data_unpack()
[all …]
/netbsd/crypto/external/cpl/trousers/dist/src/include/
H A Dtcs_utils.h42 UINT32 num_keys; member
/netbsd/sys/netbt/
H A Dhci.h2042 uint8_t num_keys; /* # of keys */ member
/netbsd/sys/dev/pci/
H A Dif_iwmreg.h6219 uint8_t num_keys; member