aboutsummaryrefslogtreecommitdiff
path: root/ecdsa.c
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2016-09-20 09:00:32 -0400
committerPaul Selkirk <paul@psgd.org>2016-09-20 09:00:32 -0400
commitfebe3ed7b2e7b2342c77d4a35db93e6247ea4326 (patch)
tree85da5cbfc8248684594975b42ab4a38943265726 /ecdsa.c
parentccdb3ab006dd46c125fc0277fa0ce2d3d7660147 (diff)
Clean up the defines around rpc client, software hash cores, etc.
Diffstat (limited to 'ecdsa.c')
-rw-r--r--ecdsa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ecdsa.c b/ecdsa.c
index e46904d..916a2f4 100644
--- a/ecdsa.c
+++ b/ecdsa.c
@@ -71,6 +71,7 @@
#include <assert.h>
#include "hal.h"
+#include "hal_internal.h"
#include <tfm.h>
#include "asn1_internal.h"
@@ -83,7 +84,7 @@
#define HAL_ECDSA_DEBUG_ONLY_STATIC_TEST_VECTOR_RANDOM 0
#endif
-#ifdef RPC_CLIENT
+#if defined(RPC_CLIENT) && RPC_CLIENT != RPC_CLIENT_LOCAL
#define hal_get_random(core, buffer, length) hal_rpc_get_random(buffer, length)
#endif