/external/openssh/ |
sshkey.h | 1 /* $OpenBSD: sshkey.h,v 1.5 2015/01/26 02:59:11 djm Exp $ */ 97 struct sshkey *signature_key; 101 struct sshkey { struct 116 struct sshkey *sshkey_new(int); 117 int sshkey_add_private(struct sshkey *); 118 struct sshkey *sshkey_new_private(int); 119 void sshkey_free(struct sshkey *); 120 int sshkey_demote(const struct sshkey *, struct sshkey **); 121 int sshkey_equal_public(const struct sshkey *, [all...] |
krl.h | 39 struct sshkey; 46 void ssh_krl_set_sign_key(struct ssh_krl *krl, const struct sshkey *sign_key); 49 const struct sshkey *ca_key, u_int64_t serial); 51 const struct sshkey *ca_key, u_int64_t lo, u_int64_t hi); 53 const struct sshkey *ca_key, const char *key_id); 54 int ssh_krl_revoke_key_explicit(struct ssh_krl *krl, const struct sshkey *key); 55 int ssh_krl_revoke_key_sha1(struct ssh_krl *krl, const struct sshkey *key); 56 int ssh_krl_revoke_key(struct ssh_krl *krl, const struct sshkey *key); 58 const struct sshkey **sign_keys, u_int nsign_keys); 60 const struct sshkey **sign_ca_keys, size_t nsign_ca_keys) [all...] |
authfile.h | 31 struct sshkey; 36 int sshkey_save_private(struct sshkey *, const char *, 39 int sshkey_load_cert(const char *, struct sshkey **); 40 int sshkey_load_public(const char *, struct sshkey **, char **); 41 int sshkey_load_private(const char *, const char *, struct sshkey **, char **); 43 struct sshkey **, int *); 45 struct sshkey **, char **, int *); 47 struct sshkey **keyp, char **commentp); 49 int sshkey_in_file(struct sshkey *, const char *, int, int); 50 int sshkey_check_revoked(struct sshkey *key, const char *revoked_keys_file) [all...] |
authfd.h | 22 struct sshkey **keys; 33 int ssh_add_identity_constrained(int sock, struct sshkey *key, 35 int ssh_remove_identity(int sock, struct sshkey *key); 40 int ssh_decrypt_challenge(int sock, struct sshkey* key, BIGNUM *challenge, 42 int ssh_agent_sign(int sock, struct sshkey *key,
|
hostfile.h | 29 struct sshkey *key; 38 HostStatus check_key_in_hostkeys(struct hostkeys *, struct sshkey *, 43 int hostfile_read_key(char **, u_int *, struct sshkey *); 45 const struct sshkey *, int); 48 const char *host, const char *ip, struct sshkey **keys, size_t nkeys, 93 struct sshkey *key; /* Key, if parsed ok and HKF_WANT_MATCH_HOST set */
|
authfile.c | 76 sshkey_save_private(struct sshkey *key, const char *filename, 145 sshkey_load_public_rsa1(int fd, struct sshkey **keyp, char **commentp) 199 struct sshkey **keyp, char **commentp, int *perm_ok) 229 struct sshkey **keyp, char **commentp) 254 struct sshkey **keyp, char **commentp) 287 sshkey_try_load_public(struct sshkey *k, const char *filename, char **commentp) 335 sshkey_load_public(const char *filename, struct sshkey **keyp, char **commentp) 337 struct sshkey *pub = NULL; 405 sshkey_load_cert(const char *filename, struct sshkey **keyp) 407 struct sshkey *pub = NULL [all...] |
ssh_api.c | 25 #include "sshkey.h" 40 int _ssh_verify_host_key(struct sshkey *, struct ssh *); 41 struct sshkey *_ssh_host_public_key(int, int, struct ssh *); 42 struct sshkey *_ssh_host_private_key(int, int, struct ssh *); 43 int _ssh_host_key_sign(struct sshkey *, struct sshkey *, u_char **, 51 int mm_sshkey_sign(struct sshkey *, u_char **, u_int *, 60 mm_sshkey_sign(struct sshkey *key, u_char **sigp, u_int *lenp, 172 ssh_add_hostkey(struct ssh *ssh, struct sshkey *key) 174 struct sshkey *pubkey = NULL [all...] |
dns.h | 54 struct sshkey *, int *); 55 int export_dns_rr(const char *, struct sshkey *, FILE *, int);
|
kex.h | 144 int (*verify_host_key)(struct sshkey *, struct ssh *); 145 struct sshkey *(*load_host_public_key)(int, int, struct ssh *); 146 struct sshkey *(*load_host_private_key)(int, int, struct ssh *); 147 int (*host_key_index)(struct sshkey *, int, struct ssh *); 148 int (*sign)(struct sshkey *, struct sshkey *,
|
sshkey.c | 1 /* $OpenBSD: sshkey.c,v 1.15 2015/03/06 01:40:56 djm Exp $ */ 59 #include "sshkey.h" 77 struct sshkey **keyp, int allow_cert); 123 sshkey_type(const struct sshkey *k) 159 sshkey_ssh_name(const struct sshkey *k) 165 sshkey_ssh_name_plain(const struct sshkey *k) 269 sshkey_size(const struct sshkey *k) 294 sshkey_cert_is_legacy(const struct sshkey *k) 320 sshkey_is_cert(const struct sshkey *k) 477 struct sshkey * [all...] |
auth-options.h | 38 int auth_cert_options(struct sshkey *, struct passwd *);
|
auth.h | 46 struct sshkey; 82 struct sshkey **prev_userkeys; 132 void auth2_record_userkey(Authctxt *, struct sshkey *); 133 int auth2_userkey_already_used(Authctxt *, struct sshkey *);
|
ssh-pkcs11.h | 19 int pkcs11_add_provider(char *, char *, struct sshkey ***);
|
krl.c | 35 #include "sshkey.h" 86 struct sshkey *ca_key; 208 revoked_certs_for_ca_key(struct ssh_krl *krl, const struct sshkey *ca_key, 316 ssh_krl_revoke_cert_by_serial(struct ssh_krl *krl, const struct sshkey *ca_key, 324 const struct sshkey *ca_key, u_int64_t lo, u_int64_t hi) 337 ssh_krl_revoke_cert_by_key_id(struct ssh_krl *krl, const struct sshkey *ca_key, 363 plain_key_blob(const struct sshkey *key, u_char **blob, size_t *blen) 365 struct sshkey *kcopy; 400 ssh_krl_revoke_key_explicit(struct ssh_krl *krl, const struct sshkey *key) 413 ssh_krl_revoke_key_sha1(struct ssh_krl *krl, const struct sshkey *key [all...] |
key.h | 29 #include "sshkey.h" 31 typedef struct sshkey Key;
|
dns.c | 41 #include "sshkey.h" 82 u_char **digest, size_t *digest_len, struct sshkey *key) 205 struct sshkey *hostkey, int *flags) 327 export_dns_rr(const char *hostname, struct sshkey *key, FILE *f, int generic)
|
ssh-dss.c | 44 #include "sshkey.h" 50 ssh_dss_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, 131 ssh_dss_verify(const struct sshkey *key,
|
ssh-ecdsa.c | 44 #include "sshkey.h" 48 ssh_ecdsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, 113 ssh_ecdsa_verify(const struct sshkey *key,
|
ssh-ed25519.c | 31 #include "sshkey.h" 36 ssh_ed25519_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, 95 ssh_ed25519_verify(const struct sshkey *key,
|
ssh_api.h | 27 #include "sshkey.h" 64 int ssh_add_hostkey(struct ssh *ssh, struct sshkey *key); 73 int (*cb)(struct sshkey *, struct ssh *));
|
ssh-keysign.c | 46 #include "sshkey.h" 57 #include "sshkey.h" 68 valid_request(struct passwd *pw, char *host, struct sshkey **ret, 72 struct sshkey *key = NULL; 172 struct sshkey *keys[NUM_KEYTYPES], *key = NULL;
|
Makefile.in | 71 sshkey.o \ 235 rm -f regress/unittests/sshkey/*.o 236 rm -f regress/unittests/sshkey/test_sshkey 255 rm -f regress/unittests/sshkey/*.o 256 rm -f regress/unittests/sshkey/test_sshkey 442 [ -d `pwd`/regress/unittests/sshkey ] || \ 443 mkdir -p `pwd`/regress/unittests/sshkey 490 regress/unittests/sshkey/test_fuzz.o \ 491 regress/unittests/sshkey/tests.o \ 492 regress/unittests/sshkey/common.o [all...] |
ssh-rsa.c | 34 #include "sshkey.h" 41 ssh_rsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, 120 ssh_rsa_verify(const struct sshkey *key,
|
authfd.c | 56 #include "sshkey.h" 204 deserialise_identity1(struct sshbuf *ids, struct sshkey **keyp, char **commentp) 206 struct sshkey *key; 241 deserialise_identity2(struct sshbuf *ids, struct sshkey **keyp, char **commentp) 390 ssh_decrypt_challenge(int sock, struct sshkey* key, BIGNUM *challenge, 431 ssh_agent_sign(int sock, struct sshkey *key, 506 ssh_encode_identity_ssh2(struct sshbuf *b, struct sshkey *key, 541 ssh_add_identity_constrained(int sock, struct sshkey *key, const char *comment, 603 ssh_remove_identity(int sock, struct sshkey *key)
|
hostfile.c | 57 #include "sshkey.h" 164 hostfile_read_key(char **cpp, u_int *bitsp, struct sshkey *ret) 308 check_key_not_revoked(struct hostkeys *hostkeys, struct sshkey *k) 343 struct sshkey *k, int keytype, const struct hostkey_entry **found) 401 check_key_in_hostkeys(struct hostkeys *hostkeys, struct sshkey *key, 419 const struct sshkey *key, int store_hash) 449 const struct sshkey *key, int store_hash) 469 struct sshkey * const *keys; 532 struct sshkey **keys, size_t nkeys, int store_hash, int quiet, int hash_alg)
|