aboutsummaryrefslogtreecommitdiff
path: root/hal.h
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2020-10-27 13:35:26 -0400
committerPaul Selkirk <paul@psgd.org>2020-10-27 13:35:26 -0400
commit93887dfe46225b4b7aafb63907ca26cce68c1510 (patch)
treef56c65bb0ab2696c62925ec9175c737d8ede0e52 /hal.h
parent11a3fe10920aa705d7f1c50b32b2bb9feda2ad8b (diff)
Minor hashsig cleanup, add hal_hashsig_public_key_len().
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);