Changeset 11557 in vbox
- Timestamp:
- Aug 21, 2008 9:47:31 PM (16 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 3 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/Makefile.kmk
r11555 r11557 287 287 generic/RTMpGetCurFrequency-generic.cpp \ 288 288 generic/RTMpGetMaxFrequency-generic.cpp \ 289 generic/RTRandAdvCreate NonPseudo-generic.cpp \290 generic/RTRandAdvCreate PureNonPseudo-generic.cpp \289 generic/RTRandAdvCreateSystemFaster-generic.cpp \ 290 generic/RTRandAdvCreateSystemTruer-generic.cpp \ 291 291 generic/semnoint-generic.cpp \ 292 292 generic/semsrw-generic.cpp \ … … 372 372 generic/RTFileMove-generic.cpp \ 373 373 generic/RTLogWriteDebugger-generic.cpp \ 374 generic/RTRandAdvCreate NonPseudo-generic.cpp \375 generic/RTRandAdvCreate PureNonPseudo-generic.cpp \374 generic/RTRandAdvCreateSystemFaster-generic.cpp \ 375 generic/RTRandAdvCreateSystemTruer-generic.cpp \ 376 376 generic/RTTimeLocalNow-generic.cpp \ 377 377 generic/RTTimerCreate-generic.cpp \ -
trunk/src/VBox/Runtime/common/rand/rand.cpp
r11523 r11557 65 65 66 66 RTRAND hRand; 67 int rc = RTRandAdvCreate NonPseudo(&hRand);67 int rc = RTRandAdvCreateSystemFaster(&hRand); 68 68 if (RT_FAILURE(rc)) 69 69 rc = RTRandAdvCreateParkMiller(&hRand); -
trunk/src/VBox/Runtime/generic/RTRandAdvCreateSystemFaster-generic.cpp
r11556 r11557 1 1 /* $Id$ */ 2 2 /** @file 3 * IPRT - Random Numbers, generic RTRandAdvCreate NonPseudo.3 * IPRT - Random Numbers, generic RTRandAdvCreateSystemFaster. 4 4 */ 5 5 … … 36 36 37 37 38 RTDECL(int) RTRandAdvCreate NonPseudo(PRTRAND phRand)38 RTDECL(int) RTRandAdvCreateSystemFaster(PRTRAND phRand) 39 39 { 40 40 NOREF(phRand); -
trunk/src/VBox/Runtime/generic/RTRandAdvCreateSystemTruer-generic.cpp
r11553 r11557 1 1 /* $Id$ */ 2 2 /** @file 3 * IPRT - Random Numbers, generic RTRandAdvCreate PureNonPseudo.3 * IPRT - Random Numbers, generic RTRandAdvCreateSystemTruer. 4 4 */ 5 5 … … 36 36 37 37 38 RTDECL(int) RTRandAdvCreate PureNonPseudo(PRTRAND phRand)38 RTDECL(int) RTRandAdvCreateSystemTruer(PRTRAND phRand) 39 39 { 40 40 NOREF(phRand); -
trunk/src/VBox/Runtime/r3/posix/rand-posix.cpp
r11523 r11557 90 90 91 91 92 static int rtRandAdvPosixCreate NonPseudo(PRTRAND phRand, const char *pszDev) RT_NO_THROW92 static int rtRandAdvPosixCreateSystem(PRTRAND phRand, const char *pszDev) RT_NO_THROW 93 93 { 94 94 /* … … 128 128 129 129 130 RTDECL(int) RTRandAdvCreate NonPseudo(PRTRAND phRand) RT_NO_THROW130 RTDECL(int) RTRandAdvCreateSystemFaster(PRTRAND phRand) RT_NO_THROW 131 131 { 132 return rtRandAdvPosixCreate NonPseudo(phRand, "/dev/urandom");132 return rtRandAdvPosixCreateSystem(phRand, "/dev/urandom"); 133 133 } 134 134 135 135 136 RTDECL(int) RTRandAdvCreate PureNonPseudo(PRTRAND phRand) RT_NO_THROW136 RTDECL(int) RTRandAdvCreateSystemTruer(PRTRAND phRand) RT_NO_THROW 137 137 { 138 return rtRandAdvPosixCreate NonPseudo(phRand, "/dev/random");138 return rtRandAdvPosixCreateSystem(phRand, "/dev/random"); 139 139 } 140 140
Note:
See TracChangeset
for help on using the changeset viewer.