Home
last modified time | relevance | path

Searched refs:min (Results 1 – 15 of 15) sorted by relevance

/openssh-portable/openbsd-compat/
H A Dbsd-snprintf.c186 int min; in dopr() local
242 min = 10*min + char_to_int (ch); in dopr()
245 min = va_arg (args, int); in dopr()
342 8, min, max, flags) == -1) in dopr()
362 10, min, max, flags) == -1) in dopr()
393 min, max, flags) == -1) in dopr()
404 min, max, flags) == -1) in dopr()
415 min, max, flags) == -1) in dopr()
428 if (min > 0 && max >= 0 && min > max) max = min; in dopr()
481 flags = cflags = min = 0; in dopr()
[all …]
H A Darc4random.c294 u_int32_t r, min; in arc4random_uniform() local
300 min = -upper_bound % upper_bound; in arc4random_uniform()
310 if (r >= min) in arc4random_uniform()
/openssh-portable/
H A Dkexgexs.c76 u_int min = 0, max = 0, nbits = 0; in input_kex_dh_gex_request() local
82 if ((r = sshpkt_get_u32(ssh, &min)) != 0 || in input_kex_dh_gex_request()
88 kex->min = min; in input_kex_dh_gex_request()
90 min = MAXIMUM(DH_GRP_MIN, min); in input_kex_dh_gex_request()
95 if (kex->max < kex->min || kex->nbits < kex->min || in input_kex_dh_gex_request()
102 kex->dh = PRIVSEP(choose_dh(min, nbits, max)); in input_kex_dh_gex_request()
176 kex->min, kex->nbits, kex->max, in input_kex_dh_gex_init()
H A Dkexgexc.c68 kex->min = DH_GRP_MIN; in kexgex_client()
75 (r = sshpkt_put_u32(ssh, kex->min)) != 0 || in kexgex_client()
81 kex->min, kex->nbits, kex->max); in kexgex_client()
84 kex->min, kex->nbits, kex->max); in kexgex_client()
110 (u_int)bits < kex->min || (u_int)bits > kex->max) { in input_kex_dh_gex_group()
184 kex->min = kex->max = -1; in input_kex_dh_gex_reply()
197 kex->min, kex->nbits, kex->max, in input_kex_dh_gex_reply()
H A Dkexgex.c54 int min, int wantbits, int max, in kexgex_hash() argument
79 (min != -1 && (r = sshbuf_put_u32(b, min)) != 0) || in kexgex_hash()
H A Ddh.c159 choose_dh(int min, int wantbits, int max) in choose_dh() argument
182 if (dhg.size > max || dhg.size < min) in choose_dh()
212 if ((dhg.size > max || dhg.size < min) || in choose_dh()
H A Dmoduli.c517 int day, hr, min; in fmt_time() local
520 min = (seconds / 60) % 60; in fmt_time()
524 snprintf(buf, sizeof buf, "%dd %d:%02d", day, hr, min); in fmt_time()
526 snprintf(buf, sizeof buf, "%d:%02d", hr, min); in fmt_time()
H A Dmonitor.c571 u_int min, want, max; in mm_answer_moduli() local
573 if ((r = sshbuf_get_u32(m, &min)) != 0 || in mm_answer_moduli()
578 debug3_f("got parameters: %d %d %d", min, want, max); in mm_answer_moduli()
580 if (max < min || want < min || max < want) in mm_answer_moduli()
581 fatal_f("bad parameters: %d %d %d", min, want, max); in mm_answer_moduli()
585 dh = choose_dh(min, want, max); in mm_answer_moduli()
H A Dkex.h165 u_int min, max, nbits; /* GEX */ member
H A Dmisc.c617 unsigned int sec, min, hrs, day; in fmt_timeframe() local
628 min = week % 60; in fmt_timeframe()
638 snprintf(buf, TF_LEN, "%01ud%02uh%02um", day, hrs, min); in fmt_timeframe()
640 snprintf(buf, TF_LEN, "%02u:%02u:%02u", hrs, min, sec); in fmt_timeframe()
H A Dmonitor_wrap.c181 mm_choose_dh(int min, int nbits, int max) in mm_choose_dh() argument
190 if ((r = sshbuf_put_u32(m, min)) != 0 || in mm_choose_dh()
H A Dssh_api.c73 mm_choose_dh(int min, int nbits, int max) in mm_choose_dh() argument
H A Dsshconnect2.c770 OM_uint32 min; in userauth_gssapi() local
778 gss_indicate_mechs(&min, &authctxt->gss_supported_mechs); in userauth_gssapi()
H A Dconfigure.ac3763 AC_MSG_CHECKING([for min value of long long])
3766 [min value of long long calculated by configure])
/openssh-portable/regress/
H A Ddhgex.sh23 min=2048
25 groupsz="$min<$bits<$max"