diff options
author | Paul Selkirk <paul@psgd.org> | 2016-03-29 16:50:10 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2016-03-29 16:50:10 -0400 |
commit | 6cd42920fee5d3e4d0dcd5e1e798d5d4d6708e1b (patch) | |
tree | 3e5c1658e130302f3c776c847ba70150d7bdc0fb | |
parent | 438b50688ca6e4acd641ab568adb66f18fdd362e (diff) |
Client-side rsa and ecdsa need to call remote get_random.
-rw-r--r-- | ecdsa.c | 4 | ||||
-rw-r--r-- | rsa.c | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -83,6 +83,10 @@ #define HAL_ECDSA_DEBUG_ONLY_STATIC_TEST_VECTOR_RANDOM 0 #endif +#ifdef RPC_CLIENT +#define hal_get_random(core, buffer, length) hal_rpc_get_random(buffer, length) +#endif + /* * Whether we want debug output. */ @@ -86,6 +86,10 @@ #define HAL_RSA_USE_MODEXP 1 #endif +#ifdef RPC_CLIENT +#define hal_get_random(core, buffer, length) hal_rpc_get_random(buffer, length) +#endif + /* * Whether we want debug output. */ |