VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Random.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/Random.c')
-rw-r--r--src/Common/Random.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Common/Random.c b/src/Common/Random.c
index 0cd6bfa0..4c6382b4 100644
--- a/src/Common/Random.c
+++ b/src/Common/Random.c
@@ -8,3 +8,3 @@
Modifications and additions to the original source code (contained in this file)
- and all other portions of this file are Copyright (c) 2013-2017 IDRIX
+ and all other portions of this file are Copyright (c) 2013-2025 IDRIX
and are governed by the Apache License 2.0 the full text of which is
@@ -804,2 +804,3 @@ BOOL SlowPoll (void)
+#ifndef _M_ARM64
// use RDSEED or RDRAND from CPU as source of entropy if present
@@ -812,2 +813,3 @@ BOOL SlowPoll (void)
}
+#endif
@@ -935,2 +937,3 @@ BOOL FastPoll (void)
+#ifndef _M_ARM64
// use RDSEED or RDRAND from CPU as source of entropy if enabled
@@ -943,2 +946,3 @@ BOOL FastPoll (void)
}
+#endif