Home
last modified time | relevance | path

Searched refs:idx (Results 1 – 11 of 11) sorted by relevance

/openssh-portable/
H A Dxmss_fast.c180 unsigned int idx = index; in treehash_setup() local
203 lastnode = idx+(1<<height); in treehash_setup()
212 for (; idx < lastnode; idx++) { in treehash_setup()
394 if (idx == 1 << h) { in bds_state_update()
407 setOTSADRS(ots_addr, idx); in bds_state_update()
419 if (idx >> nodeh == 1) { in bds_state_update()
577 sk[3] = (idx + 1) & 255; in xmss_sign()
608 sig_msg[3] = idx & 255; in xmss_sign()
668 unsigned long idx=0; in xmss_sign_open() local
874 idx_tree = idx >> tree_h; in xmssmt_sign()
[all …]
H A Dsshkey-xmss.c330 u_int32_t idx; in sshkey_xmss_serialize_pk_info() local
337 idx = k->xmss_sk ? PEEK_U32(k->xmss_sk) : state->idx; in sshkey_xmss_serialize_pk_info()
516 if (state->idx + 1 < state->idx) { in sshkey_xmss_get_state()
548 if (state->idx + reserve <= state->idx) in sshkey_xmss_forward_state()
587 if (idx == state->idx) { in sshkey_xmss_update_state()
591 } else if (idx != state->idx + 1) { in sshkey_xmss_update_state()
593 idx, state->idx); in sshkey_xmss_update_state()
596 state->idx = idx; in sshkey_xmss_update_state()
1088 u_int32_t idx; in sshkey_xmss_signatures_left() local
1092 idx = k->xmss_sk ? PEEK_U32(k->xmss_sk) : state->idx; in sshkey_xmss_signatures_left()
[all …]
H A Dkex.c865 int *idx; in proposals_match() local
868 for (idx = &check[0]; *idx != -1; idx++) { in proposals_match()
869 if ((p = strchr(my[*idx], ',')) != NULL) in proposals_match()
871 if ((p = strchr(peer[*idx], ',')) != NULL) in proposals_match()
873 if (strcmp(my[*idx], peer[*idx]) != 0) { in proposals_match()
875 my[*idx], peer[*idx]); in proposals_match()
H A Dsk-usbhid.c270 sk_touch_poll(struct sk_usbhid **skv, size_t nsk, int *touch, size_t *idx) in sk_touch_poll() argument
295 *idx = i; in sk_touch_poll()
409 size_t skvcnt, idx; in sk_select_by_touch() local
436 if (sk_touch_poll(skv, skvcnt, &touch, &idx) == -1) { in sk_select_by_touch()
441 sk = skv[idx]; in sk_select_by_touch()
442 skv[idx] = NULL; in sk_select_by_touch()
H A Dssh-pkcs11.c200 pkcs11_k11_free(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, in pkcs11_k11_free() argument
205 debug_f("parent %p ptr %p idx %d", parent, ptr, idx); in pkcs11_k11_free()
1318 #define FILL_ATTR(attr, idx, typ, val, len) \ argument
1319 { (attr[idx]).type=(typ); (attr[idx]).pValue=(val); (attr[idx]).ulValueLen=len; idx++; }
H A Dchannels.c3833 int r, success = 0, idx = -1; local
3879 idx = permission_set_add(ssh, FORWARD_USER, FORWARD_LOCAL,
3883 return idx;
4099 channel_update_permission(struct ssh *ssh, int idx, int newport) argument
4103 if (idx < 0 || (u_int)idx >= pset->num_permitted_user) {
4105 idx, pset->num_permitted_user);
4111 pset->permitted_user[idx].host_to_connect,
4112 pset->permitted_user[idx].port_to_connect);
4114 fwd_perm_clear(&pset->permitted_user[idx]);
4116 pset->permitted_user[idx].listen_port =
H A Dmisc.c616 static int idx = 0; in fmt_timeframe() local
620 buf = tfbuf[idx++]; in fmt_timeframe()
621 if (idx == TF_BUFS) in fmt_timeframe()
622 idx = 0; in fmt_timeframe()
/openssh-portable/openbsd-compat/
H A Dgetopt_long.c177 const struct option *long_options, int *idx, int short_too) in parse_long_options() argument
280 if (idx) in parse_long_options()
281 *idx = match; in parse_long_options()
295 const struct option *long_options, int *idx, int flags) in getopt_internal() argument
418 idx, short_too); in getopt_internal()
455 idx, 0); in getopt_internal()
511 const struct option *long_options, int *idx)
514 return (getopt_internal(nargc, nargv, options, long_options, idx,
524 const struct option *long_options, int *idx)
527 return (getopt_internal(nargc, nargv, options, long_options, idx,
H A Dbsd-cygwin_util.c104 unsigned int i, idx = 0; in fetch_windows_environment() local
110 p[idx++] = *e; in fetch_windows_environment()
113 p[idx] = NULL; in fetch_windows_environment()
H A Dbsd-snprintf.c715 int idx; in fmtfp() local
773 idx = (int) ((temp -intpart +0.05)* 10.0); in fmtfp()
777 (caps? "0123456789ABCDEF":"0123456789abcdef")[idx]; in fmtfp()
788 idx = (int) ((temp -fracpart +0.05)* 10.0); in fmtfp()
792 (caps? "0123456789ABCDEF":"0123456789abcdef")[idx]; in fmtfp()
H A Dglob.c939 Char idx = *pat & M_MASK; local
940 if (idx < NCCLASSES &&
941 cclasses[idx].isctype(k))