version 1.53, 2022/10/28 00:35:40 |
version 1.54, 2022/10/28 00:36:31 |
|
|
u_int (*size)(const struct sshkey *); /* optional */ |
u_int (*size)(const struct sshkey *); /* optional */ |
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 *); |
}; |
}; |
|
|
struct sshkey_impl { |
struct sshkey_impl { |
|
|
void sshkey_sig_details_free(struct sshkey_sig_details *); |
void sshkey_sig_details_free(struct sshkey_sig_details *); |
|
|
#ifdef SSHKEY_INTERNAL |
#ifdef SSHKEY_INTERNAL |
|
int sshkey_sk_fields_equal(const struct sshkey *a, const struct sshkey *b); |
|
void sshkey_sk_cleanup(struct sshkey *k); |
|
|
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, |
const char *ident); |
const char *ident); |