/freebsd/crypto/openssh/ |
H A D | auth-options.h | 35 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 D | auth.h | 49 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 D | auth-options.c | 77 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 D | auth2-pubkeyfile.c | 55 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 D | monitor_wrap.h | 37 struct sshauthopt; 53 int, struct sshauthopt **); 55 struct sshauthopt **);
|
H A D | auth2-pubkey.c | 100 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 D | auth.c | 85 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 D | monitor_wrap.c | 495 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 D | monitor.c | 109 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 D | serverloop.c | 88 extern struct sshauthopt *auth_opts;
|
H A D | session.c | 150 extern struct sshauthopt *auth_opts; 305 set_fwdpermit_from_authopts(struct ssh *ssh, const struct sshauthopt *opts) in set_fwdpermit_from_authopts()
|
H A D | auth-pam.c | 303 extern struct sshauthopt *auth_opts; in sshpam_password_change_required()
|
H A D | sshd-session.c | 183 struct sshauthopt *auth_opts = NULL;
|
/freebsd/crypto/openssh/regress/unittests/authopt/ |
H A D | tests.c | 39 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 D | authkeys_fuzz.cc | 26 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 D | authopt_fuzz.cc | 14 struct sshauthopt *opts = NULL, *merge = NULL, *add = sshauthopt_new(); in LLVMFuzzerTestOneInput()
|