aboutsummaryrefslogtreecommitdiff
path: root/rsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'rsa.c')
-rw-r--r--rsa.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/rsa.c b/rsa.c
index b257604..bf52e8a 100644
--- a/rsa.c
+++ b/rsa.c
@@ -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.
*/