VirtualBox

Ignore:
Timestamp:
Jul 3, 2014 6:39:21 PM (10 years ago)
Author:
vboxsync
Message:

Added the odd sha-2 algorithms to RTCrDigest and extended the testcases to cover them. Added VBOX_WITH_ALT_HASH_CODE for avoiding the OpenSSL code even for VBoxRT.dll/so/dylib.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/Makefile.kmk

    r51851 r51856  
    317317        common/checksum/RTSha256Digest.cpp \
    318318        common/checksum/sha1str.cpp \
     319        common/checksum/sha224str.cpp \
    319320        common/checksum/sha256str.cpp \
     321        common/checksum/sha384str.cpp \
    320322        common/checksum/sha512str.cpp \
     323        common/checksum/sha512t224str.cpp \
     324        common/checksum/sha512t256str.cpp \
    321325        common/checksum/x509.cpp \
    322326        common/crypto/digest-core.cpp \
     
    14111415VBoxRT_INST                    = $(INST_DLL) $(INST_TESTCASE)
    14121416endif
    1413 VBoxRT_DEFS                   := $(filter-out RT_NO_GIP,$(RuntimeR3_DEFS)) IN_SUP_R3 IN_SUP_R3 IPRT_WITH_XAR
     1417VBoxRT_DEFS                   := $(filter-out RT_NO_GIP, $(RuntimeR3_DEFS)) \
     1418        IN_SUP_R3 IN_SUP_R3 IPRT_WITH_XAR \
     1419        $(if-expr !defined(VBOX_WITH_ALT_HASH_CODE),IPRT_WITHOUT_SHA512T224 IPRT_WITHOUT_SHA512T256,)
    14141420ifn1of ($(KBUILD_TARGET_ARCH), amd64 x86)
    14151421 VBoxRT_DEFS                  += RT_NO_GIP
     
    14221428        VBox/VBoxRTDeps.cpp \
    14231429        $(filter-out common/checksum/crc32.cpp, \
    1424                 $(patsubst common/checksum/alt-%,common/checksum/openssl-%,$(RuntimeR3_SOURCES))) \
     1430        $(if-expr defined(VBOX_WITH_ALT_HASH_CODE), $(RuntimeR3_SOURCES), \
     1431                $(patsubst common/checksum/alt-%,common/checksum/openssl-%,$(RuntimeR3_SOURCES)) ) ) \
    14251432        common/checksum/crc32-zlib.cpp \
    14261433        common/misc/aiomgr.cpp
     
    20402047        common/checksum/md5str.cpp \
    20412048        common/checksum/sha1str.cpp \
     2049        common/checksum/sha224str.cpp \
    20422050        common/checksum/sha256str.cpp \
     2051        common/checksum/sha384str.cpp \
    20432052        common/checksum/sha512str.cpp \
     2053        common/checksum/sha512t224str.cpp \
     2054        common/checksum/sha512t256str.cpp \
    20442055        common/err/errinfo.cpp \
    20452056        common/path/RTPathChangeToUnixSlashes.cpp \
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette