diff options
Diffstat (limited to 'auth.h')
-rw-r--r-- | auth.h | 19 |
1 files changed, 2 insertions, 17 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: auth.h,v 1.88 2016/05/04 14:04:40 markus Exp $ */ | 1 | /* $OpenBSD: auth.h,v 1.89 2016/08/13 17:47:41 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
@@ -113,20 +113,11 @@ struct KbdintDevice | |||
113 | void (*free_ctx)(void *ctx); | 113 | void (*free_ctx)(void *ctx); |
114 | }; | 114 | }; |
115 | 115 | ||
116 | int auth_rhosts(struct passwd *, const char *); | ||
117 | int | 116 | int |
118 | auth_rhosts2(struct passwd *, const char *, const char *, const char *); | 117 | auth_rhosts2(struct passwd *, const char *, const char *, const char *); |
119 | 118 | ||
120 | int auth_rhosts_rsa(Authctxt *, char *, Key *); | ||
121 | int auth_password(Authctxt *, const char *); | 119 | int auth_password(Authctxt *, const char *); |
122 | int auth_rsa(Authctxt *, BIGNUM *); | 120 | |
123 | int auth_rsa_challenge_dialog(Key *); | ||
124 | BIGNUM *auth_rsa_generate_challenge(Key *); | ||
125 | int auth_rsa_verify_response(Key *, BIGNUM *, u_char[]); | ||
126 | int auth_rsa_key_allowed(struct passwd *, BIGNUM *, Key **); | ||
127 | |||
128 | int auth_rhosts_rsa_key_allowed(struct passwd *, const char *, | ||
129 | const char *, Key *); | ||
130 | int hostbased_key_allowed(struct passwd *, const char *, char *, Key *); | 121 | int hostbased_key_allowed(struct passwd *, const char *, char *, Key *); |
131 | int user_key_allowed(struct passwd *, Key *, int); | 122 | int user_key_allowed(struct passwd *, Key *, int); |
132 | void pubkey_auth_info(Authctxt *, const Key *, const char *, ...) | 123 | void pubkey_auth_info(Authctxt *, const Key *, const char *, ...) |
@@ -157,7 +148,6 @@ void remove_kbdint_device(const char *); | |||
157 | 148 | ||
158 | void disable_forwarding(void); | 149 | void disable_forwarding(void); |
159 | 150 | ||
160 | void do_authentication(Authctxt *); | ||
161 | void do_authentication2(Authctxt *); | 151 | void do_authentication2(Authctxt *); |
162 | 152 | ||
163 | void auth_info(Authctxt *authctxt, const char *, ...) | 153 | void auth_info(Authctxt *authctxt, const char *, ...) |
@@ -188,10 +178,6 @@ int skey_respond(void *, u_int, char **); | |||
188 | int allowed_user(struct passwd *); | 178 | int allowed_user(struct passwd *); |
189 | struct passwd * getpwnamallow(const char *user); | 179 | struct passwd * getpwnamallow(const char *user); |
190 | 180 | ||
191 | char *get_challenge(Authctxt *); | ||
192 | int verify_response(Authctxt *, const char *); | ||
193 | void abandon_challenge_response(Authctxt *); | ||
194 | |||
195 | char *expand_authorized_keys(const char *, struct passwd *pw); | 181 | char *expand_authorized_keys(const char *, struct passwd *pw); |
196 | char *authorized_principals_file(struct passwd *); | 182 | char *authorized_principals_file(struct passwd *); |
197 | 183 | ||
@@ -211,7 +197,6 @@ Key *get_hostkey_public_by_index(int, struct ssh *); | |||
211 | Key *get_hostkey_public_by_type(int, int, struct ssh *); | 197 | Key *get_hostkey_public_by_type(int, int, struct ssh *); |
212 | Key *get_hostkey_private_by_type(int, int, struct ssh *); | 198 | Key *get_hostkey_private_by_type(int, int, struct ssh *); |
213 | int get_hostkey_index(Key *, int, struct ssh *); | 199 | int get_hostkey_index(Key *, int, struct ssh *); |
214 | int ssh1_session_key(BIGNUM *); | ||
215 | int sshd_hostkey_sign(Key *, Key *, u_char **, size_t *, | 200 | int sshd_hostkey_sign(Key *, Key *, u_char **, size_t *, |
216 | const u_char *, size_t, const char *, u_int); | 201 | const u_char *, size_t, const char *, u_int); |
217 | 202 | ||