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-04-19 18:59:02 -0400
commit4689df20fdc16194cd34579c052de9df552a1d50 (patch)
treef75e0ab31628e6d1a3d1bb6377c0d704f1121b92 /hashsig.h
parentf14d86110bafb991e1b15333c18ec9b92d27f188 (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_ */