Home
last modified time | relevance | path

Searched refs:f (Results 1 – 25 of 56) sorted by relevance

123

/openssh-portable/regress/
H A Dsshcfgparse.sh57 test "$f" = "$user" || fail "user from config, expected '$user' got '$f'"
59 test "$f" = "foo" || fail "user first match -oUser, expected 'foo' got '$f' "
61 test "$f" = "bar" || fail "user first match -l, expected 'bar' got '$f'"
63 test "$f" = "baz" || fail "user first match user@host, expected 'baz' got '$f'"
69 expect_result_absent "$f" "ssh-dss"
73 expect_result_present "$f" "ssh-ed25519"
78 expect_result_present "$f" "ssh-ed25519"
90 expect_result_absent "$f" "ssh-dss"
99 expect_result_present "$f" "no"
101 expect_result_present "$f" "no"
[all …]
H A Dkrl.sh66 f=$OBJ/revoked-`printf "%04d" $N`
82 echo $f
89 f=`keygen $n`
90 RKEYS="$RKEYS ${f}.pub"
91 RCERTS="$RCERTS ${f}-cert.pub"
96 f=`keygen $n`
97 UKEYS="$UKEYS ${f}.pub"
98 UCERTS="$UCERTS ${f}-cert.pub"
181 for f in $FILES ; do
182 check_krl $f $OBJ/krl-empty no "$TAG"
[all …]
H A Dcfginclude.sh31 Host f
59 Host f
79 Host f
102 trial f fff
172 Host f
200 Host f
220 Host f
243 trial f fff
H A Dservcfginclude.sh28 Match Host f
56 Match Host f
76 Match Host f
103 trial f /fff
/openssh-portable/openbsd-compat/
H A Dsha2.c401 f = state[5]; in SHA256Transform()
459 f = state[5]; in SHA256Transform()
471 g = f; in SHA256Transform()
472 f = e; in SHA256Transform()
494 g = f; in SHA256Transform()
495 f = e; in SHA256Transform()
682 f = state[5]; in SHA512Transform()
752 g = f; in SHA512Transform()
753 f = e; in SHA512Transform()
775 g = f; in SHA512Transform()
[all …]
H A Dport-aix.h114 # define getnameinfo(a,b,c,d,e,f,g) (sshaix_getnameinfo(a,b,c,d,e,f,g)) argument
H A Dfake-rfc2553.h170 #define getnameinfo(a,b,c,d,e,f,g) (ssh_getnameinfo(a,b,c,d,e,f,g)) argument
/openssh-portable/
H A Datomicio.c52 atomicio6(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n, in atomicio6()
62 pfd.events = f == read ? POLLIN : POLLOUT; in atomicio6()
67 res = (f) (fd, s + pos, n - pos); in atomicio6()
97 atomicio(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n) in atomicio()
99 return atomicio6(f, fd, _s, n, NULL, NULL); in atomicio()
106 atomiciov6(ssize_t (*f) (int, const struct iovec *, int), int fd, in atomiciov6()
124 pfd.events = f == readv ? POLLIN : POLLOUT; in atomiciov6()
129 res = (f) (fd, iov, iovcnt); in atomiciov6()
176 atomiciov(ssize_t (*f) (int, const struct iovec *, int), int fd, in atomiciov()
179 return atomiciov6(f, fd, _iov, iovcnt, NULL, NULL); in atomiciov()
H A Dauthfile.c208 FILE *f; in sshkey_try_load_public() local
220 fclose(f); in sshkey_try_load_public()
250 fclose(f); in sshkey_try_load_public()
257 fclose(f); in sshkey_try_load_public()
379 FILE *f; in sshkey_in_file() local
431 fclose(f); in sshkey_in_file()
497 FILE *f = NULL; in sshkey_save_public() local
508 fprintf(f, " %s\n", comment); in sshkey_save_public()
509 if (ferror(f) || fclose(f) != 0) { in sshkey_save_public()
513 if (f != NULL) in sshkey_save_public()
[all …]
H A Dssh-pkcs11.c219 CK_FUNCTION_LIST *f; in pkcs11_find() local
225 f = p->function_list; in pkcs11_find()
315 CK_FUNCTION_LIST *f; in pkcs11_check_obj_bool_attrib() local
349 CK_FUNCTION_LIST *f; in pkcs11_get_key() local
427 CK_FUNCTION_LIST *f; in pkcs11_rsa_private_encrypt() local
518 CK_FUNCTION_LIST *f; in ecdsa_do_sign() local
648 CK_FUNCTION_LIST *f; in pkcs11_open_session() local
653 f = p->function_list; in pkcs11_open_session()
720 f = p->function_list; in pkcs11_fetch_ecdsa_pubkey()
1329 CK_FUNCTION_LIST *f; in pkcs11_rsa_generate_private_key() local
[all …]
H A Dsntrup761.c537 f[0] = 1; f[p-1] = f[p] = -1; in R3_recip()
553 t = swap&(f[i]^g[i]); f[i] ^= t; g[i] ^= t; in R3_recip()
564 sign = f[0]; in R3_recip()
624 f[0] = 1; f[p-1] = f[p] = -1; in Rq_recip3()
639 t = swap&(f[i]^g[i]); f[i] ^= t; g[i] ^= t; in Rq_recip3()
643 f0 = f[0]; in Rq_recip3()
747 Short_random(f); in KeyGen()
943 x = *f++ + 1; in Small_encode()
949 x = *f++ + 1; in Small_encode()
1058 small f[p],v[p]; in ZKeyGen() local
[all …]
H A Dsshbuf-misc.c39 sshbuf_dump_data(const void *s, size_t len, FILE *f) in sshbuf_dump_data() argument
45 fprintf(f, "%.4zu: ", i); in sshbuf_dump_data()
48 fprintf(f, "%02x ", p[j]); in sshbuf_dump_data()
50 fprintf(f, " "); in sshbuf_dump_data()
52 fprintf(f, " "); in sshbuf_dump_data()
56 fprintf(f, "%c", p[j]); in sshbuf_dump_data()
58 fprintf(f, "."); in sshbuf_dump_data()
61 fprintf(f, "\n"); in sshbuf_dump_data()
66 sshbuf_dump(const struct sshbuf *buf, FILE *f) in sshbuf_dump() argument
68 fprintf(f, "buffer %p len = %zu\n", buf, sshbuf_len(buf)); in sshbuf_dump()
[all …]
H A Dauth2-pubkey.c414 FILE *f; in match_principals_file() local
427 fclose(f); in match_principals_file()
543 fclose(f); in match_principals_command()
544 f = NULL; in match_principals_command()
552 if (f != NULL) in match_principals_command()
553 fclose(f); in match_principals_command()
855 FILE *f; in user_key_allowed2() local
868 fclose(f); in user_key_allowed2()
984 fclose(f); in user_key_command_allowed2()
985 f = NULL; in user_key_command_allowed2()
[all …]
H A Dhostfile.c290 FILE *f; in load_hostkeys() local
298 fclose(f); in load_hostkeys()
453 fprintf(f, "%s ", hashed_host); in write_host_entry()
457 fprintf(f, "%s ", lhost); in write_host_entry()
464 fputc('\n', f); in write_host_entry()
517 FILE *f; in add_host_to_hostfile() local
523 f = fopen(filename, "a"); in add_host_to_hostfile()
524 if (!f) in add_host_to_hostfile()
527 fclose(f); in add_host_to_hostfile()
922 FILE *f; in hostkeys_foreach() local
[all …]
H A Dauth-rhosts.c59 FILE *f; in check_rhosts_file() local
79 if ((f = fdopen(fd, "r")) == NULL) { in check_rhosts_file()
83 while (fgets(buf, sizeof(buf), f)) { in check_rhosts_file()
166 fclose(f); in check_rhosts_file()
179 fclose(f); in check_rhosts_file()
H A Datomicio.h38 atomicio6(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n,
48 atomiciov6(ssize_t (*f) (int, const struct iovec *, int), int fd,
H A Ddh.c161 FILE *f; in choose_dh() local
167 if ((f = fopen(get_moduli_filename(), "r")) == NULL) { in choose_dh()
175 while (getline(&line, &linesize, f) != -1) { in choose_dh()
196 rewind(f); in choose_dh()
199 fclose(f); in choose_dh()
208 while (getline(&line, &linesize, f) != -1) { in choose_dh()
223 fclose(f); in choose_dh()
H A Ddns.c318 export_dns_rr(const char *hostname, struct sshkey *key, FILE *f, int generic) in export_dns_rr() argument
332 fprintf(f, "%s IN TYPE%d \\# %zu %02x %02x ", in export_dns_rr()
337 fprintf(f, "%s IN SSHFP %d %d ", hostname, in export_dns_rr()
341 fprintf(f, "%02x", rdata_digest[i]); in export_dns_rr()
342 fprintf(f, "\n"); in export_dns_rr()
H A Ddefines.h696 #define FSID_TO_ULONG(f) \ argument
697 ((((u_int64_t)(f).val[0] & 0xffffffffUL) << 32) | \
698 ((f).val[1] & 0xffffffffUL))
700 #define FSID_TO_ULONG(f) \ argument
701 ((((u_int64_t)(f).__val[0] & 0xffffffffUL) << 32) | \
702 ((f).__val[1] & 0xffffffffUL))
704 # define FSID_TO_ULONG(f) ((f)) argument
H A DMakefile.in350 base=`echo $$f | sed 's/\..*$$//'` ; \
351 echo "$$f -> $$base.0" ; \
352 $(MANFMT) $$f | cat -v | sed -e 's/.\^H//g' \
H A Dsession.c794 FILE *f; in do_motd() local
804 if (f) { in do_motd()
807 fclose(f); in do_motd()
849 FILE *f; in read_environment_file() local
855 if (!f) in read_environment_file()
886 fclose(f); in read_environment_file()
1223 if (f) { in do_rc_files()
1227 pclose(f); in do_rc_files()
1236 if (f) { in do_rc_files()
1258 if (f) { in do_rc_files()
[all …]
H A Dsshsig.c835 FILE *f = NULL; in sshsig_check_allowed_keys() local
842 if ((f = fopen(path, "r")) == NULL) { in sshsig_check_allowed_keys()
850 while (getline(&line, &linesize, f) != -1) { in sshsig_check_allowed_keys()
861 fclose(f); in sshsig_check_allowed_keys()
867 fclose(f); in sshsig_check_allowed_keys()
982 FILE *f = NULL; in sshsig_find_principals() local
988 if ((f = fopen(path, "r")) == NULL) { in sshsig_find_principals()
1007 fclose(f); in sshsig_find_principals()
1014 if (ferror(f) != 0) { in sshsig_find_principals()
1016 fclose(f); in sshsig_find_principals()
[all …]
/openssh-portable/contrib/
H A Dssh-copy-id99 for f in "$PUB_ID_FILE" ${PRIV_ID_FILE:+"$PRIV_ID_FILE"} ; do
100 ErrMSG=$( { : < "$f" ; } 2>&1 ) || {
102 …[ "$f" = "$PRIV_ID_FILE" ] && L_PRIVMSG=" (to install the contents of '$PUB_ID_FILE' anyway, look …
103 …printf "\\n%s: ERROR: failed to open ID file '%s': %s\\n" "$0" "$f" "$(printf '%s\n%s\n' "$ErrMSG"…
/openssh-portable/m4/
H A Dopenssh.m424 printf("%d %d %d %f %f %lld %lld\n", i, j, k, l, m, n, o);
73 printf("%d %d %d %f %f %lld %lld %lld\n", i, j, k, l, m, n, o, p);
112 printf("%d %d %d %f %f %lld %lld %lld\n", i, j, k, l, m, n, o, p);
/openssh-portable/regress/misc/fuzz-harness/
H A Dkex_fuzz.cc340 FILE *f; in main() local
358 if ((f = fopen(path, "wb+")) == NULL) in main()
361 sshbuf_len(ts->smsgs), f) != sshbuf_len(ts->smsgs)) in main()
363 fclose(f); in main()
369 if ((f = fopen(path, "wb+")) == NULL) in main()
372 sshbuf_len(ts->cmsgs), f) != sshbuf_len(ts->cmsgs)) in main()
374 fclose(f); in main()

123