Home
last modified time | relevance | path

Searched refs:sshauthopt (Results 1 – 16 of 16) sorted by relevance

/freebsd/crypto/openssh/
H A Dauth-options.h35 struct sshauthopt { struct
81 struct sshauthopt *sshauthopt_new(void); argument
82 struct sshauthopt *sshauthopt_new_with_keys_defaults(void);
83 void sshauthopt_free(struct sshauthopt *opts);
84 struct sshauthopt *sshauthopt_copy(const struct sshauthopt *orig);
85 int sshauthopt_serialise(const struct sshauthopt *opts, struct sshbuf *m, int);
86 int sshauthopt_deserialise(struct sshbuf *m, struct sshauthopt **opts);
92 struct sshauthopt *sshauthopt_parse(const char *s, const char **errstr);
98 struct sshauthopt *sshauthopt_from_cert(struct sshkey *k);
103 struct sshauthopt *sshauthopt_merge(const struct sshauthopt *primary,
[all …]
H A Dauth.h49 struct sshauthopt;
143 int, struct sshauthopt **);
216 int auth_activate_options(struct ssh *, struct sshauthopt *);
218 void auth_log_authopts(const char *, const struct sshauthopt *, int);
229 int auth_authorise_keyopts(struct passwd *, struct sshauthopt *, int,
232 const char *, struct sshauthopt **);
234 const struct sshkey_cert *, struct sshauthopt **);
236 char *, const char *, const char *, const char *, struct sshauthopt **);
238 struct sshkey *, const char *, const char *, struct sshauthopt **);
H A Dauth-options.c77 cert_option_list(struct sshauthopt *opts, struct sshbuf *oblob, in cert_option_list()
194 struct sshauthopt *
197 struct sshauthopt *ret; in sshauthopt_new()
206 sshauthopt_free(struct sshauthopt *opts) in sshauthopt_free()
233 struct sshauthopt *
236 struct sshauthopt *ret = NULL; in sshauthopt_new_with_keys_defaults()
323 struct sshauthopt *
328 struct sshauthopt *ret = NULL; in sshauthopt_parse()
502 struct sshauthopt *
505 struct sshauthopt *ret; in sshauthopt_from_cert()
[all …]
H A Dauth2-pubkeyfile.c55 auth_authorise_keyopts(struct passwd *pw, struct sshauthopt *opts, in auth_authorise_keyopts()
173 const char *loc, struct sshauthopt **authoptsp) in auth_check_principals_line()
178 struct sshauthopt *opts = NULL; in auth_check_principals_line()
223 const struct sshkey_cert *cert, struct sshauthopt **authoptsp) in auth_process_principals()
266 struct sshauthopt **authoptsp) in auth_check_authkey_line()
270 struct sshauthopt *keyopts = NULL, *certopts = NULL, *finalopts = NULL; in auth_check_authkey_line()
408 const char *remote_host, struct sshauthopt **authoptsp) in auth_check_authkeys_file()
H A Dmonitor_wrap.h37 struct sshauthopt;
53 int, struct sshauthopt **);
55 struct sshauthopt **);
H A Dauth2-pubkey.c100 struct sshauthopt *authopts = NULL; in userauth_pubkey()
319 struct sshkey_cert *cert, struct sshauthopt **authoptsp) in match_principals_file()
345 const char *conn_id, const char *rdomain, struct sshauthopt **authoptsp) in match_principals_command()
483 const char *conn_id, const char *rdomain, struct sshauthopt **authoptsp) in user_cert_trusted_ca()
487 struct sshauthopt *principals_opts = NULL, *cert_opts = NULL; in user_cert_trusted_ca()
488 struct sshauthopt *final_opts = NULL; in user_cert_trusted_ca()
590 struct sshauthopt **authoptsp) in user_key_allowed2()
619 const char *conn_id, const char *rdomain, struct sshauthopt **authoptsp) in user_key_command_allowed2()
754 int auth_attempt, struct sshauthopt **authoptsp) in user_key_allowed()
758 struct sshauthopt *opts = NULL; in user_key_allowed()
H A Dauth.c85 extern struct sshauthopt *auth_opts;
686 auth_log_authopts(const char *loc, const struct sshauthopt *opts, int do_remote) in auth_log_authopts()
756 auth_activate_options(struct ssh *ssh, struct sshauthopt *opts) in auth_activate_options()
758 struct sshauthopt *old = auth_opts; in auth_activate_options()
773 struct sshauthopt *restricted; in auth_restrict_session()
H A Dmonitor_wrap.c495 int pubkey_auth_attempt, struct sshauthopt **authoptp) in mm_user_key_allowed()
510 struct sshkey *key, int pubkey_auth_attempt, struct sshauthopt **authoptp) in mm_key_allowed()
514 struct sshauthopt *opts = NULL; in mm_key_allowed()
H A Dmonitor.c109 extern struct sshauthopt *auth_opts; /* XXX move to permanent ssh->authctxt? */
157 static struct sshauthopt *key_opts = NULL;
1184 struct sshauthopt *opts = NULL; in mm_answer_keyallowed()
H A Dserverloop.c88 extern struct sshauthopt *auth_opts;
H A Dsession.c150 extern struct sshauthopt *auth_opts;
305 set_fwdpermit_from_authopts(struct ssh *ssh, const struct sshauthopt *opts) in set_fwdpermit_from_authopts()
H A Dauth-pam.c303 extern struct sshauthopt *auth_opts; in sshpam_password_change_required()
H A Dsshd-session.c183 struct sshauthopt *auth_opts = NULL;
/freebsd/crypto/openssh/regress/unittests/authopt/
H A Dtests.c39 static struct sshauthopt *
42 struct sshauthopt *ret = sshauthopt_new(); in default_authkey_opts()
53 static struct sshauthopt *
56 struct sshauthopt *ret = sshauthopt_new(); in default_authkey_restrict_opts()
89 compare_opts(const struct sshauthopt *opts, in compare_opts()
90 const struct sshauthopt *expected) in compare_opts()
137 struct sshauthopt *opts, *expected; in test_authkeys_parse()
293 struct sshauthopt *opts, *expected; in test_cert_parse()
380 struct sshauthopt *key_opts, *cert_opts, *merge_opts, *expected; in test_merge()
/freebsd/crypto/openssh/regress/misc/fuzz-harness/
H A Dauthkeys_fuzz.cc26 auth_log_authopts(const char *loc, const struct sshauthopt *opts, int do_remote) in auth_log_authopts()
33 struct sshauthopt *opts = NULL; in LLVMFuzzerTestOneInput()
H A Dauthopt_fuzz.cc14 struct sshauthopt *opts = NULL, *merge = NULL, *add = sshauthopt_new(); in LLVMFuzzerTestOneInput()