- Timestamp:
- Jun 25, 2012 1:17:31 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/mangling.h
r41889 r41909 1021 1021 # define RTRandAdvCreateSystemFaster RT_MANGLER(RTRandAdvCreateSystemFaster) 1022 1022 # define RTRandAdvCreateSystemTruer RT_MANGLER(RTRandAdvCreateSystemTruer) 1023 # define RTRandAdvCreateOpenssl RT_MANGLER(RTRandAdvCreateOpenssl) 1023 1024 # define RTRandAdvDestroy RT_MANGLER(RTRandAdvDestroy) 1024 1025 # define RTRandAdvRestoreState RT_MANGLER(RTRandAdvRestoreState) -
trunk/include/iprt/rand.h
r41889 r41909 151 151 152 152 /** 153 * Create an instance of the openssl random number generator. 154 * 155 * @returns IPRT status code. 156 * @retval VERR_NOT_SUPPORTED on platforms which doesn't have this feature. 157 * 158 * @param phRand Where to store the handle to the generator. 159 * 160 */ 161 RTDECL(int) RTRandAdvCreateOpenssl(PRTRAND phRand) RT_NO_THROW; 162 163 /** 153 164 * Create an instance of the truer random number generator for the OS. 154 165 * -
trunk/src/VBox/Runtime/Makefile.kmk
r41889 r41909 364 364 common/rand/randadv.cpp \ 365 365 common/rand/randparkmiller.cpp \ 366 common/rand/randopenssl.cpp \ 366 367 common/sort/RTSortIsSorted.cpp \ 367 368 common/sort/RTSortApvIsSorted.cpp \ … … 1029 1030 RuntimeBldProg_BLD_TRG_ARCH := $(KBUILD_HOST_ARCH) 1030 1031 RuntimeBldProg_BLD_TRG_CPU := $(KBUILD_HOST_CPU) 1032 RuntimeBldProg_SOURCES := $(filter-out \ 1033 common/rand/randopenssl.cpp \ 1034 , $(RuntimeR3_SOURCES)) 1035 RuntimeBldProg_SOURCES += \ 1036 generic/RTRandAdvCreateOpenssl-generic.cpp 1031 1037 1032 1038 … … 1051 1057 common/checksum/RTSha1Digest.cpp \ 1052 1058 common/checksum/sha% \ 1059 common/rand/randopenssl.cpp \ 1053 1060 generic/RTLogWriteUser-generic.cpp \ 1054 1061 , $(RuntimeR3_SOURCES)) 1055 1062 RuntimeGuestR3_SOURCES += \ 1056 1063 common/time/timesysalias.cpp \ 1057 VBox/logbackdoor.cpp 1064 VBox/logbackdoor.cpp \ 1065 generic/RTRandAdvCreateOpenssl-generic.cpp 1058 1066 RuntimeGuestR3_SOURCES.$(KBUILD_TARGET) := $(RuntimeR3_SOURCES.$(KBUILD_TARGET)) 1059 1067 RuntimeGuestR3_SOURCES.$(KBUILD_HOST) := $(RuntimeR3_SOURCES.$(KBUILD_HOST)) -
trunk/src/VBox/Runtime/common/rand/rand.cpp
r41889 r41909 62 62 { 63 63 RTRAND hRand; 64 int rc = RTRandAdvCreateSystemFaster(&hRand); 64 int rc = RTRandAdvCreateOpenssl(&hRand); 65 if (RT_FAILURE(rc)) 66 rc = RTRandAdvCreateSystemFaster(&hRand); 65 67 if (RT_FAILURE(rc)) 66 68 rc = RTRandAdvCreateParkMiller(&hRand); -
trunk/src/VBox/Storage/testcase/Makefile.kmk
r41889 r41909 77 77 vbox-img_TEMPLATE = VBOXR3STATIC 78 78 vbox-img_DEFS += IN_VBOXDDU IN_VBOXDDU_STATIC VBOX_HDD_NO_DYNAMIC_BACKENDS IN_RT_R3 79 vbox-img_SDKS = VBOX_OPENSSL 79 80 vbox-img_SOURCES = \ 80 81 vbox-img.cpp \
Note:
See TracChangeset
for help on using the changeset viewer.