Lines Matching refs:sshkey
120 struct sshkey *signature_key;
125 struct sshkey { struct
167 struct sshkey *sshkey_new(int); argument
168 void sshkey_free(struct sshkey *);
169 int sshkey_equal_public(const struct sshkey *,
170 const struct sshkey *);
171 int sshkey_equal(const struct sshkey *, const struct sshkey *);
172 char *sshkey_fingerprint(const struct sshkey *,
174 int sshkey_fingerprint_raw(const struct sshkey *k,
176 const char *sshkey_type(const struct sshkey *);
177 const char *sshkey_cert_type(const struct sshkey *);
178 int sshkey_format_text(const struct sshkey *, struct sshbuf *);
179 int sshkey_write(const struct sshkey *, FILE *);
180 int sshkey_read(struct sshkey *, char **);
181 u_int sshkey_size(const struct sshkey *);
183 int sshkey_generate(int type, u_int bits, struct sshkey **keyp);
184 int sshkey_from_private(const struct sshkey *, struct sshkey **);
186 int sshkey_is_shielded(struct sshkey *);
187 int sshkey_shield_private(struct sshkey *);
188 int sshkey_unshield_private(struct sshkey *);
191 int sshkey_is_cert(const struct sshkey *);
192 int sshkey_is_sk(const struct sshkey *);
195 int sshkey_to_certified(struct sshkey *);
196 int sshkey_drop_cert(struct sshkey *);
197 int sshkey_cert_copy(const struct sshkey *, struct sshkey *);
198 int sshkey_cert_check_authority(const struct sshkey *, int, int, int,
200 int sshkey_cert_check_authority_now(const struct sshkey *, int, int, int,
202 int sshkey_cert_check_host(const struct sshkey *, const char *,
206 int sshkey_check_cert_sigtype(const struct sshkey *, const char *);
208 int sshkey_certify(struct sshkey *, struct sshkey *,
211 typedef int sshkey_certify_signer(struct sshkey *, u_char **, size_t *,
214 int sshkey_certify_custom(struct sshkey *, struct sshkey *, const char *,
226 const char *sshkey_ssh_name(const struct sshkey *);
227 const char *sshkey_ssh_name_plain(const struct sshkey *);
231 int sshkey_from_blob(const u_char *, size_t, struct sshkey **);
232 int sshkey_fromb(struct sshbuf *, struct sshkey **);
233 int sshkey_froms(struct sshbuf *, struct sshkey **);
234 int sshkey_to_blob(const struct sshkey *, u_char **, size_t *);
235 int sshkey_to_base64(const struct sshkey *, char **);
236 int sshkey_putb(const struct sshkey *, struct sshbuf *);
237 int sshkey_puts(const struct sshkey *, struct sshbuf *);
238 int sshkey_puts_opts(const struct sshkey *, struct sshbuf *,
240 int sshkey_plain_to_blob(const struct sshkey *, u_char **, size_t *);
241 int sshkey_putb_plain(const struct sshkey *, struct sshbuf *);
243 int sshkey_sign(struct sshkey *, u_char **, size_t *,
245 int sshkey_verify(const struct sshkey *, const u_char *, size_t,
256 int sshkey_private_serialize(struct sshkey *key, struct sshbuf *buf);
257 int sshkey_private_serialize_opt(struct sshkey *key, struct sshbuf *buf,
259 int sshkey_private_deserialize(struct sshbuf *buf, struct sshkey **keyp);
262 int sshkey_private_to_fileblob(struct sshkey *key, struct sshbuf *blob,
266 const char *passphrase, struct sshkey **keyp, char **commentp);
268 const char *passphrase, struct sshkey **keyp, char **commentp);
270 int type, struct sshkey **pubkeyp);
273 int ssh_rsa_complete_crt_parameters(struct sshkey *, const BIGNUM *);
276 int sshkey_set_filename(struct sshkey *, const char *);
277 int sshkey_enable_maxsign(struct sshkey *, u_int32_t);
278 u_int32_t sshkey_signatures_left(const struct sshkey *);
279 int sshkey_forward_state(const struct sshkey *, u_int32_t, int);
280 int sshkey_private_serialize_maxsign(struct sshkey *key,
286 int ssh_rsa_sign(const struct sshkey *key,
289 int ssh_rsa_verify(const struct sshkey *key,
292 int ssh_dss_sign(const struct sshkey *key, u_char **sigp, size_t *lenp,
294 int ssh_dss_verify(const struct sshkey *key,
297 int ssh_ecdsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp,
299 int ssh_ecdsa_verify(const struct sshkey *key,
302 int ssh_ecdsa_sk_verify(const struct sshkey *key,
306 int ssh_ed25519_sign(const struct sshkey *key, u_char **sigp, size_t *lenp,
308 int ssh_ed25519_verify(const struct sshkey *key,
311 int ssh_ed25519_sk_verify(const struct sshkey *key,
315 int ssh_xmss_sign(const struct sshkey *key, u_char **sigp, size_t *lenp,
317 int ssh_xmss_verify(const struct sshkey *key,