aboutsummaryrefslogtreecommitdiff
path: root/src/ext/ed25519
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/ed25519')
-rw-r--r--src/ext/ed25519/donna/ed25519-randombytes-custom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ext/ed25519/donna/ed25519-randombytes-custom.h b/src/ext/ed25519/donna/ed25519-randombytes-custom.h
index e49368bbaf..3fb0959fc4 100644
--- a/src/ext/ed25519/donna/ed25519-randombytes-custom.h
+++ b/src/ext/ed25519/donna/ed25519-randombytes-custom.h
@@ -13,5 +13,5 @@
static void
ED25519_FN(ed25519_randombytes_unsafe) (void *p, size_t len)
{
- crypto_rand(p, len);
+ crypto_rand_unmocked(p, len);
}