28 #define XMSS_SHA2_256_W16_H10_NAME "XMSS_SHA2-256_W16_H10"
29 #define XMSS_SHA2_256_W16_H16_NAME "XMSS_SHA2-256_W16_H16"
30 #define XMSS_SHA2_256_W16_H20_NAME "XMSS_SHA2-256_W16_H20"
31 #define XMSS_DEFAULT_NAME XMSS_SHA2_256_W16_H10_NAME
33 size_t sshkey_xmss_pklen(
const struct sshkey *);
34 size_t sshkey_xmss_sklen(
const struct sshkey *);
35 int sshkey_xmss_init(
struct sshkey *,
const char *);
36 void sshkey_xmss_free_state(
struct sshkey *);
37 int sshkey_xmss_generate_private_key(
struct sshkey *, u_int);
38 int sshkey_xmss_serialize_state(
const struct sshkey *,
struct sshbuf *);
39 int sshkey_xmss_serialize_state_opt(
const struct sshkey *,
struct sshbuf *,
40 enum sshkey_serialize_rep);
41 int sshkey_xmss_serialize_pk_info(
const struct sshkey *,
struct sshbuf *,
42 enum sshkey_serialize_rep);
43 int sshkey_xmss_deserialize_state(
struct sshkey *,
struct sshbuf *);
44 int sshkey_xmss_deserialize_state_opt(
struct sshkey *,
struct sshbuf *);
45 int sshkey_xmss_deserialize_pk_info(
struct sshkey *,
struct sshbuf *);
47 int sshkey_xmss_siglen(
const struct sshkey *,
size_t *);
48 void *sshkey_xmss_params(
const struct sshkey *);
49 void *sshkey_xmss_bds_state(
const struct sshkey *);
50 int sshkey_xmss_get_state(
const struct sshkey *,
int);
51 int sshkey_xmss_enable_maxsign(
struct sshkey *, u_int32_t);
52 int sshkey_xmss_forward_state(
const struct sshkey *, u_int32_t);
53 int sshkey_xmss_update_state(
const struct sshkey *,
int);
54 u_int32_t sshkey_xmss_signatures_left(
const struct sshkey *);