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 {
2020 ChaCha20Rng :: from_seed ( seed)
2121}
2222
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.
2424///
2525/// This function provides excellent entropy (unless you don't trust the CPU vendors).
2626fn rd_rand_entropy ( ) -> [ u8 ; 32 ] {
@@ -41,7 +41,7 @@ fn rd_rand_entropy() -> [u8; 32] {
4141 entropy
4242}
4343
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.
4545///
4646/// This function doesn't provide particulary good entropy, but it's better than nothing.
4747fn tsc_entropy ( ) -> [ u8 ; 32 ] {
You can’t perform that action at this time.
0 commit comments