diff options
author | Paul Selkirk <paul@psgd.org> | 2020-10-27 13:35:26 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2020-10-27 13:35:26 -0400 |
commit | 93887dfe46225b4b7aafb63907ca26cce68c1510 (patch) | |
tree | f56c65bb0ab2696c62925ec9175c737d8ede0e52 /hal.h | |
parent | 11a3fe10920aa705d7f1c50b32b2bb9feda2ad8b (diff) |
Minor hashsig cleanup, add hal_hashsig_public_key_len().
Diffstat (limited to 'hal.h')
-rw-r--r-- | hal.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |