Lines Matching refs:sshkey
97 struct sshkey *signature_key;
101 struct sshkey { struct
116 struct sshkey *sshkey_new(int); argument
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 *,
122 const struct sshkey *);
123 int sshkey_equal(const struct sshkey *, const struct sshkey *);
124 char *sshkey_fingerprint(const struct sshkey *,
126 int sshkey_fingerprint_raw(const struct sshkey *k,
128 const char *sshkey_type(const struct sshkey *);
129 const char *sshkey_cert_type(const struct sshkey *);
130 int sshkey_write(const struct sshkey *, FILE *);
131 int sshkey_read(struct sshkey *, char **);
132 u_int sshkey_size(const struct sshkey *);
134 int sshkey_generate(int type, u_int bits, struct sshkey **keyp);
135 int sshkey_from_private(const struct sshkey *, struct sshkey **);
137 int sshkey_is_cert(const struct sshkey *);
140 int sshkey_to_certified(struct sshkey *, int);
141 int sshkey_drop_cert(struct sshkey *);
142 int sshkey_certify(struct sshkey *, struct sshkey *);
143 int sshkey_cert_copy(const struct sshkey *, struct sshkey *);
144 int sshkey_cert_check_authority(const struct sshkey *, int, int,
146 int sshkey_cert_is_legacy(const struct sshkey *);
157 const char *sshkey_ssh_name(const struct sshkey *);
158 const char *sshkey_ssh_name_plain(const struct sshkey *);
162 int sshkey_from_blob(const u_char *, size_t, struct sshkey **);
163 int sshkey_fromb(struct sshbuf *, struct sshkey **);
164 int sshkey_froms(struct sshbuf *, struct sshkey **);
165 int sshkey_to_blob(const struct sshkey *, u_char **, size_t *);
166 int sshkey_putb(const struct sshkey *, struct sshbuf *);
167 int sshkey_puts(const struct sshkey *, struct sshbuf *);
168 int sshkey_plain_to_blob(const struct sshkey *, u_char **, size_t *);
169 int sshkey_putb_plain(const struct sshkey *, struct sshbuf *);
171 int sshkey_sign(const struct sshkey *, u_char **, size_t *,
173 int sshkey_verify(const struct sshkey *, const u_char *, size_t,
181 int sshkey_private_serialize(const struct sshkey *key, struct sshbuf *buf);
182 int sshkey_private_deserialize(struct sshbuf *buf, struct sshkey **keyp);
185 int sshkey_private_to_fileblob(struct sshkey *key, struct sshbuf *blob,
189 struct sshkey **keyp, char **commentp);
191 const char *passphrase, const char *filename, struct sshkey **keyp,
194 const char *passphrase, struct sshkey **keyp, char **commentp);
197 int ssh_rsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp,
199 int ssh_rsa_verify(const struct sshkey *key,
202 int ssh_dss_sign(const struct sshkey *key, u_char **sigp, size_t *lenp,
204 int ssh_dss_verify(const struct sshkey *key,
207 int ssh_ecdsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp,
209 int ssh_ecdsa_verify(const struct sshkey *key,
212 int ssh_ed25519_sign(const struct sshkey *key, u_char **sigp, size_t *lenp,
214 int ssh_ed25519_verify(const struct sshkey *key,