Go to the source code of this file.
|
OPENSSL_EXPORT int | HRSS_decap (uint8_t out_shared_key[HRSS_KEY_BYTES], const struct HRSS_private_key *in_priv, const uint8_t *ciphertext, size_t ciphertext_len) |
|
OPENSSL_EXPORT int | HRSS_encap (uint8_t out_ciphertext[HRSS_CIPHERTEXT_BYTES], uint8_t out_shared_key[HRSS_KEY_BYTES], const struct HRSS_public_key *in_pub, const uint8_t in[HRSS_ENCAP_BYTES]) |
|
OPENSSL_EXPORT int | HRSS_generate_key (struct HRSS_public_key *out_pub, struct HRSS_private_key *out_priv, const uint8_t input[HRSS_GENERATE_KEY_BYTES]) |
|
OPENSSL_EXPORT void | HRSS_marshal_public_key (uint8_t out[HRSS_PUBLIC_KEY_BYTES], const struct HRSS_public_key *in_pub) |
|
OPENSSL_EXPORT int | HRSS_parse_public_key (struct HRSS_public_key *out, const uint8_t in[HRSS_PUBLIC_KEY_BYTES]) |
|
◆ HRSS_CIPHERTEXT_BYTES
#define HRSS_CIPHERTEXT_BYTES 1138 |
◆ HRSS_ENCAP_BYTES
◆ HRSS_GENERATE_KEY_BYTES
◆ HRSS_KEY_BYTES
#define HRSS_KEY_BYTES 32 |
◆ HRSS_POLY3_BYTES
#define HRSS_POLY3_BYTES 140 |
◆ HRSS_PRIVATE_KEY_BYTES
◆ HRSS_PUBLIC_KEY_BYTES
#define HRSS_PUBLIC_KEY_BYTES 1138 |
◆ HRSS_SAMPLE_BYTES
#define HRSS_SAMPLE_BYTES (701 - 1) |
◆ HRSS_decap()
◆ HRSS_encap()
◆ HRSS_generate_key()
◆ HRSS_marshal_public_key()
◆ HRSS_parse_public_key()