version 1.54, 2022/10/28 00:36:31 |
version 1.55, 2022/10/28 00:37:24 |
|
|
int (*alloc)(struct sshkey *); /* optional */ |
int (*alloc)(struct sshkey *); /* optional */ |
void (*cleanup)(struct sshkey *); /* optional */ |
void (*cleanup)(struct sshkey *); /* optional */ |
int (*equal)(const struct sshkey *, const struct sshkey *); |
int (*equal)(const struct sshkey *, const struct sshkey *); |
|
int (*serialize_public)(const struct sshkey *, struct sshbuf *, |
|
const char *, enum sshkey_serialize_rep); |
}; |
}; |
|
|
struct sshkey_impl { |
struct sshkey_impl { |
|
|
#ifdef SSHKEY_INTERNAL |
#ifdef SSHKEY_INTERNAL |
int sshkey_sk_fields_equal(const struct sshkey *a, const struct sshkey *b); |
int sshkey_sk_fields_equal(const struct sshkey *a, const struct sshkey *b); |
void sshkey_sk_cleanup(struct sshkey *k); |
void sshkey_sk_cleanup(struct sshkey *k); |
|
int sshkey_serialize_sk(const struct sshkey *key, struct sshbuf *b); |
|
|
int ssh_rsa_sign(const struct sshkey *key, |
int ssh_rsa_sign(const struct sshkey *key, |
u_char **sigp, size_t *lenp, const u_char *data, size_t datalen, |
u_char **sigp, size_t *lenp, const u_char *data, size_t datalen, |