aboutsummaryrefslogtreecommitdiff
path: root/rpc_pkey.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_pkey.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_pkey.c')
-rw-r--r--rpc_pkey.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/rpc_pkey.c b/rpc_pkey.c
index 13c1d74..dfaef93 100644
--- a/rpc_pkey.c
+++ b/rpc_pkey.c
@@ -38,7 +38,6 @@
#include "hal.h"
#include "hal_internal.h"
#include "asn1_internal.h"
-#include "hashsig.h"
#ifndef HAL_STATIC_PKEY_STATE_BLOCKS
#define HAL_STATIC_PKEY_STATE_BLOCKS 0