aboutsummaryrefslogtreecommitdiff
path: root/rpc_server.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_server.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_server.c')
-rw-r--r--rpc_server.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/rpc_server.c b/rpc_server.c
index 2f07ec0..b363f23 100644
--- a/rpc_server.c
+++ b/rpc_server.c
@@ -35,7 +35,6 @@
#include "hal.h"
#include "hal_internal.h"
#include "xdr_internal.h"
-#include "hashsig.h"
/*
* RPC calls.