From 93887dfe46225b4b7aafb63907ca26cce68c1510 Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Tue, 27 Oct 2020 13:35:26 -0400 Subject: Minor hashsig cleanup, add hal_hashsig_public_key_len(). --- hal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hal.h') 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); -- cgit v1.2.3