aboutsummaryrefslogtreecommitdiff
path: root/ecdsa.c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-03-12 15:09:45 -0500
committerRob Austein <sra@hactrn.net>2016-03-12 15:09:45 -0500
commit906263d9b788ca039b98c3b2f21f1f76961ba4e3 (patch)
treedbae00dc2d3b6aa0230c7b832a5754351b21a2c7 /ecdsa.c
parentda6eb8ad054fb4ddab40a39802b0d99cee65ca78 (diff)
Disable ECDSA static-test-vectors hack, fix call to hal_get_random()
which was using the old (pre-hal_core_t) calling sequence.
Diffstat (limited to 'ecdsa.c')
-rw-r--r--ecdsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecdsa.c b/ecdsa.c
index eeab252..de382fd 100644
--- a/ecdsa.c
+++ b/ecdsa.c
@@ -722,7 +722,7 @@ static inline hal_error_t get_random(void *buffer, const size_t length)
static inline hal_error_t get_random(void *buffer, const size_t length)
{
- return hal_get_random(buffer, length);
+ return hal_get_random(NULL, buffer, length);
}
#endif /* HAL_ECDSA_DEBUG_ONLY_STATIC_TEST_VECTOR_RANDOM */