File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ pub fn build_rng() -> ChaCha20Rng {
20
20
ChaCha20Rng :: from_seed ( seed)
21
21
}
22
22
23
- /// Gather entropy by requesting random numbers with `rdrand ` instruction if it's available.
23
+ /// Gather entropy by requesting random numbers with `RDRAND ` instruction if it's available.
24
24
///
25
25
/// This function provides excellent entropy (unless you don't trust the CPU vendors).
26
26
fn rd_rand_entropy ( ) -> [ u8 ; 32 ] {
@@ -41,7 +41,7 @@ fn rd_rand_entropy() -> [u8; 32] {
41
41
entropy
42
42
}
43
43
44
- /// Gather entropy by reading the current time with the `rdtsc ` instruction if it's available.
44
+ /// Gather entropy by reading the current time with the `RDTSC ` instruction if it's available.
45
45
///
46
46
/// This function doesn't provide particulary good entropy, but it's better than nothing.
47
47
fn tsc_entropy ( ) -> [ u8 ; 32 ] {
You can’t perform that action at this time.
0 commit comments