aboutsummaryrefslogtreecommitdiff
path: root/hal.h
diff options
context:
space:
mode:
Diffstat (limited to 'hal.h')
-rw-r--r--hal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hal.h b/hal.h
index 6ed8c9d..99f0456 100644
--- a/hal.h
+++ b/hal.h
@@ -1023,6 +1023,8 @@ extern hal_error_t hal_hashsig_private_key_from_der(hal_hashsig_key_t **key_,
void *keybuf, const size_t keybuf_len,
const uint8_t *der, const size_t der_len);
+extern size_t hal_hashsig_public_key_len(const hal_lms_algorithm_t lms_type);
+
extern hal_error_t hal_hashsig_public_key_to_der(const hal_hashsig_key_t * const key,
uint8_t *der, size_t *der_len, const size_t der_max);