aboutsummaryrefslogtreecommitdiff
path: root/rpc_api.c
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2019-03-31 17:20:09 -0400
committerPaul Selkirk <paul@psgd.org>2019-03-31 17:20:09 -0400
commit5e420cb84a401a04557d63a60d30f42699270509 (patch)
treeb22bdadd747fa2aca3d51dd10086d7eb9c7e6c02 /rpc_api.c
parent418b7689e1ef575d036047354cad6b22eea0736d (diff)
Hashsig cleanup.
- Move hashsig.h contents into hal.h. - Uppercase lmots and lms algorithm types, because we have a convention that enum values are uppercase. - Change all I to hal_uuid_t, because that how we're using them, and it seems silly to have two different 16-byte array types. - Change all "memcpy(&this, &that, sizeof(this))" to "this = that", because it's more succinct, more type-safe, and harder to get wrong. - Slightly tighten up lmots_generate, lmots_sign, and lmots_public_key_candidate. - Remove verbatim draft text, now that I'm pretty sure I implemented it correctly.
Diffstat (limited to 'rpc_api.c')
-rw-r--r--rpc_api.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/rpc_api.c b/rpc_api.c
index 9f18461..f468d63 100644
--- a/rpc_api.c
+++ b/rpc_api.c
@@ -35,7 +35,6 @@
#include "hal.h"
#include "hal_internal.h"
-#include "hashsig.h"
const hal_hash_handle_t hal_hash_handle_none = {HAL_HANDLE_NONE};