HomeSort by relevance Sort by last modified time
    Searched refs:sshkey (Results 1 - 25 of 48) sorted by null

1 2

  /external/openssh/
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...]
sshkey.h 1 /* $OpenBSD: sshkey.h,v 1.9 2015/08/04 05:23:06 djm Exp $ */
95 struct sshkey *signature_key;
99 struct sshkey { struct
114 struct sshkey *sshkey_new(int);
115 int sshkey_add_private(struct sshkey *);
116 struct sshkey *sshkey_new_private(int);
117 void sshkey_free(struct sshkey *);
118 int sshkey_demote(const struct sshkey *, struct sshkey **);
119 int sshkey_equal_public(const struct sshkey *,
    [all...]
ssh-pkcs11.h 19 int pkcs11_add_provider(char *, char *, struct sshkey ***);
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...]
dns.h 54 struct sshkey *, int *);
55 int export_dns_rr(const char *, struct sshkey *, FILE *, int);
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 */
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,
auth-options.h 38 int auth_cert_options(struct sshkey *, struct passwd *);
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 *));
authfile.c 48 #include "sshkey.h"
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;
407 sshkey_load_cert(const char *filename, struct sshkey **keyp
    [all...]
kex.h 145 int (*verify_host_key)(struct sshkey *, struct ssh *);
146 struct sshkey *(*load_host_public_key)(int, int, struct ssh *);
147 struct sshkey *(*load_host_private_key)(int, int, struct ssh *);
148 int (*host_key_index)(struct sshkey *, int, struct ssh *);
149 int (*sign)(struct sshkey *, struct sshkey *,
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...]
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 *);
sshkey.c 1 /* $OpenBSD: sshkey.c,v 1.21 2015/08/19 23:19:01 djm Exp $ */
59 #include "sshkey.h"
77 struct sshkey **keyp, int allow_cert);
119 sshkey_type(const struct sshkey *k)
155 sshkey_ssh_name(const struct sshkey *k)
161 sshkey_ssh_name_plain(const struct sshkey *k)
265 sshkey_size(const struct sshkey *k)
302 sshkey_is_cert(const struct sshkey *k)
457 struct sshkey *
460 struct sshkey *k
    [all...]
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...]
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,
504 ssh_encode_identity_ssh2(struct sshbuf *b, struct sshkey *key,
539 ssh_add_identity_constrained(int sock, struct sshkey *key, const char *comment,
599 ssh_remove_identity(int sock, 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-pkcs11.c 41 #include "sshkey.h"
398 CK_ATTRIBUTE [], CK_ATTRIBUTE [3], struct sshkey ***, int *)
403 struct sshkey ***keysp, int *nkeys)
435 pkcs11_key_included(struct sshkey ***keysp, int *nkeys, struct sshkey *key)
448 struct sshkey ***keysp, int *nkeys)
450 struct sshkey *key;
547 sizeof(struct sshkey *));
565 pkcs11_add_provider(char *provider_id, char *pin, struct sshkey ***keyp)
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-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;
ssh-keygen.c 42 #include "sshkey.h"
275 static struct sshkey *
279 struct sshkey *prv;
305 do_convert_to_ssh2(struct passwd *pw, struct sshkey *k)
332 do_convert_to_pkcs8(struct sshkey *k)
357 do_convert_to_pem(struct sshkey *k)
381 struct sshkey *k;
429 static struct sshkey *
433 struct sshkey *key = NULL;
563 do_convert_from_ssh2(struct passwd *pw, struct sshkey **k, int *private
    [all...]
readconf.h 96 struct sshkey *identity_keys[SSH_MAX_IDENTITY_FILES];
hostfile.c 57 #include "sshkey.h"
164 hostfile_read_key(char **cpp, u_int *bitsp, struct sshkey *ret)
309 check_key_not_revoked(struct hostkeys *hostkeys, struct sshkey *k)
344 struct sshkey *k, int keytype, const struct hostkey_entry **found)
402 check_key_in_hostkeys(struct hostkeys *hostkeys, struct sshkey *key,
420 const struct sshkey *key, int store_hash)
450 const struct sshkey *key, int store_hash)
470 struct sshkey * const *keys;
533 struct sshkey **keys, size_t nkeys, int store_hash, int quiet, int hash_alg)

Completed in 271 milliseconds

1 2