Searched refs:sshauthopt (Results 1 – 14 of 14) sorted by relevance
/external/openssh/ |
D | auth-options.h | 32 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 …]
|
D | auth.h | 47 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);
|
D | auth-options.c | 73 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 …]
|
D | monitor_wrap.h | 40 struct sshauthopt; 55 int, struct sshauthopt **); 57 struct sshauthopt **);
|
D | auth2-pubkey.c | 101 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 …]
|
D | auth.c | 86 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()
|
D | monitor_wrap.c | 429 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()
|
D | monitor.c | 109 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()
|
D | serverloop.c | 86 extern struct sshauthopt *auth_opts;
|
D | auth-pam.c | 307 extern struct sshauthopt *auth_opts; in sshpam_password_change_required()
|
D | session.c | 141 extern struct sshauthopt *auth_opts; 296 set_fwdpermit_from_authopts(struct ssh *ssh, const struct sshauthopt *opts) in set_fwdpermit_from_authopts()
|
D | sshd.c | 249 struct sshauthopt *auth_opts = NULL;
|
/external/openssh/regress/unittests/authopt/ |
D | tests.c | 36 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/ |
D | authopt_fuzz.cc | 14 struct sshauthopt *opts = NULL, *merge = NULL, *add = sshauthopt_new(); in LLVMFuzzerTestOneInput()
|