aboutsummaryrefslogtreecommitdiff
path: root/hashsig.h
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2018-03-15 17:41:35 -0400
committerPaul Selkirk <paul@psgd.org>2018-03-15 17:41:35 -0400
commit99956039e4e93bf075d4f75f3b8adba9f2ddffec (patch)
tree6d20777f802516ff76a07e4e90988b7cf87fe1b2 /hashsig.h
parent9f1be4997345826022399a8251957fc81c2ae3b4 (diff)
Update to draft-10: clarifications and Test Case 2;
add ability to export public key to xdr for interop testing
Diffstat (limited to 'hashsig.h')
-rw-r--r--hashsig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hashsig.h b/hashsig.h
index aeb2828..7bae86e 100644
--- a/hashsig.h
+++ b/hashsig.h
@@ -110,6 +110,9 @@ extern size_t hal_hashsig_signature_len(const size_t L,
extern size_t hal_hashsig_lmots_private_key_len(const lmots_algorithm_t lmots_type);
+extern hal_error_t hal_hashsig_public_key_der_to_xdr(const uint8_t * const der, const size_t der_len,
+ uint8_t * const xdr, size_t * const xdr_len , const size_t xdr_max);
+
//extern hal_error_t hal_hashsig_restart(...);
#endif /* _HAL_HASHSIG_H_ */