From 5e420cb84a401a04557d63a60d30f42699270509 Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Sun, 31 Mar 2019 17:20:09 -0400 Subject: 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. --- rpc_api.c | 1 - 1 file changed, 1 deletion(-) (limited to 'rpc_api.c') 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}; -- cgit v1.2.3