Home
last modified time | relevance | path

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

/external/openssh/
Dauth-options.h32 struct sshauthopt { struct
76 struct sshauthopt *sshauthopt_new(void); argument
77 struct sshauthopt *sshauthopt_new_with_keys_defaults(void);
78 void sshauthopt_free(struct sshauthopt *opts);
79 struct sshauthopt *sshauthopt_copy(const struct sshauthopt *orig);
80 int sshauthopt_serialise(const struct sshauthopt *opts, struct sshbuf *m, int);
81 int sshauthopt_deserialise(struct sshbuf *m, struct sshauthopt **opts);
87 struct sshauthopt *sshauthopt_parse(const char *s, const char **errstr);
93 struct sshauthopt *sshauthopt_from_cert(struct sshkey *k);
98 struct sshauthopt *sshauthopt_merge(const struct sshauthopt *primary,
[all …]
Dauth.h47 struct sshauthopt;
136 struct sshauthopt **);
213 const struct sshauthopt *auth_options(struct ssh *);
214 int auth_activate_options(struct ssh *, struct sshauthopt *);
217 struct sshauthopt *, int, const char *);
218 void auth_log_authopts(const char *, const struct sshauthopt *, int);
Dauth-options.c73 cert_option_list(struct sshauthopt *opts, struct sshbuf *oblob, in cert_option_list()
189 struct sshauthopt *
192 struct sshauthopt *ret; in sshauthopt_new()
201 sshauthopt_free(struct sshauthopt *opts) in sshauthopt_free()
228 struct sshauthopt *
231 struct sshauthopt *ret = NULL; in sshauthopt_new_with_keys_defaults()
318 struct sshauthopt *
323 struct sshauthopt *ret = NULL; in sshauthopt_parse()
478 struct sshauthopt *
481 struct sshauthopt *ret; in sshauthopt_from_cert()
[all …]
Dmonitor_wrap.h40 struct sshauthopt;
55 int, struct sshauthopt **);
57 struct sshauthopt **);
Dauth2-pubkey.c101 struct sshauthopt *authopts = NULL; in userauth_pubkey()
324 const char *loc, struct sshauthopt **authoptsp) in check_principals_line()
329 struct sshauthopt *opts = NULL; in check_principals_line()
374 const struct sshkey_cert *cert, struct sshauthopt **authoptsp) in process_principals()
411 struct sshkey_cert *cert, struct sshauthopt **authoptsp) in match_principals_file()
437 const struct sshkey *key, struct sshauthopt **authoptsp) in match_principals_command()
574 char *cp, const char *loc, struct sshauthopt **authoptsp) in check_authkey_line()
578 struct sshauthopt *keyopts = NULL, *certopts = NULL, *finalopts = NULL; in check_authkey_line()
713 char *file, struct sshkey *key, struct sshauthopt **authoptsp) in check_authkeys_file()
745 struct sshauthopt **authoptsp) in user_cert_trusted_ca()
[all …]
Dauth.c86 extern struct sshauthopt *auth_opts;
1005 auth_log_authopts(const char *loc, const struct sshauthopt *opts, int do_remote) in auth_log_authopts()
1074 auth_activate_options(struct ssh *ssh, struct sshauthopt *opts) in auth_activate_options()
1076 struct sshauthopt *old = auth_opts; in auth_activate_options()
1091 struct sshauthopt *restricted; in auth_restrict_session()
1107 struct sshauthopt *opts, int allow_cert_authority, const char *loc) in auth_authorise_keyopts()
Dmonitor_wrap.c429 int pubkey_auth_attempt, struct sshauthopt **authoptp) in mm_user_key_allowed()
444 struct sshkey *key, int pubkey_auth_attempt, struct sshauthopt **authoptp) in mm_key_allowed()
448 struct sshauthopt *opts = NULL; in mm_key_allowed()
Dmonitor.c109 extern struct sshauthopt *auth_opts; /* XXX move to permanent ssh->authctxt? */
164 static struct sshauthopt *key_opts = NULL;
1165 struct sshauthopt *opts = NULL; in mm_answer_keyallowed()
Dserverloop.c86 extern struct sshauthopt *auth_opts;
Dauth-pam.c307 extern struct sshauthopt *auth_opts; in sshpam_password_change_required()
Dsession.c141 extern struct sshauthopt *auth_opts;
296 set_fwdpermit_from_authopts(struct ssh *ssh, const struct sshauthopt *opts) in set_fwdpermit_from_authopts()
Dsshd.c249 struct sshauthopt *auth_opts = NULL;
/external/openssh/regress/unittests/authopt/
Dtests.c36 static struct sshauthopt *
39 struct sshauthopt *ret = sshauthopt_new(); in default_authkey_opts()
50 static struct sshauthopt *
53 struct sshauthopt *ret = sshauthopt_new(); in default_authkey_restrict_opts()
86 compare_opts(const struct sshauthopt *opts, in compare_opts()
87 const struct sshauthopt *expected) in compare_opts()
134 struct sshauthopt *opts, *expected; in test_authkeys_parse()
288 struct sshauthopt *opts, *expected; in test_cert_parse()
375 struct sshauthopt *key_opts, *cert_opts, *merge_opts, *expected; in test_merge()
/external/openssh/regress/misc/fuzz-harness/
Dauthopt_fuzz.cc14 struct sshauthopt *opts = NULL, *merge = NULL, *add = sshauthopt_new(); in LLVMFuzzerTestOneInput()