VirtualBox

Changeset 74313 in vbox for trunk/src


Ignore:
Timestamp:
Sep 17, 2018 3:50:55 PM (6 years ago)
Author:
vboxsync
Message:

IPRT/crypto: Simple symmetric cipher abstraction with just was we need right now. Untested. bugref:9246

Location:
trunk/src/VBox/Runtime
Files:
1 added
3 edited

Legend:

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

    r74312 r74313  
    366366        common/checksum/sha512t224str.cpp \
    367367        common/checksum/sha512t256str.cpp \
     368        common/crypto/cipher-openssl.cpp \
    368369        common/crypto/digest-core.cpp \
    369370        common/crypto/digest-builtin.cpp \
  • trunk/src/VBox/Runtime/VBox/VBoxRTImp.def

    r74295 r74313  
    776776    RTCritSectTryEnter
    777777    RTCritSectTryEnterDebug
     778    RTCrCipherDecrypt
     779    RTCrCipherEncrypt
     780    RTCrCipherGetBlockSize
     781    RTCrCipherGetInitializationVectorLength
     782    RTCrCipherGetKeyVectorLength
     783    RTCrCipherOpenByType
     784    RTCrCipherRetain
     785    RTCrCipherRelease
    778786    RTCrDigestClone
    779787    RTCrDigestCreate
     
    814822    RTCrKeyQueryRsaModulus
    815823    RTCrKeyQueryRsaPrivateExponent
    816     RTCrRc4
    817     RTCrRc4SetKey
     824    RTCrPkcs5Pbkdf2Hmac
    818825    RTCrPkixGetCiperOidFromSignatureAlgorithm
    819826    RTCrPkixPubKeySignDigest
     
    830837    RTCrPkixSignatureVerifyBitString
    831838    RTCrPkixSignatureVerifyOctetString
     839    RTCrRandBytes
     840    RTCrRc4
     841    RTCrRc4SetKey
    832842    RTCrSslCreate
    833843    RTCrSslCreateSessionForNativeSocket
  • trunk/src/VBox/Runtime/include/internal/magics.h

    r74295 r74313  
    3535/** Magic number for RTAIOMGRINTFILE::u32Magic. (Ephraim Kishon) */
    3636#define RTAIOMGRFILE_MAGIC              UINT32_C(0x19240823)
     37/** Magic number for RTCRCIPHERINT::u32Magic. (Michael Wolff) */
     38#define RTCRCIPHERINT_MAGIC             UINT32_C(0x19530827)
    3739/** Magic value for RTCRKEYINT::u32Magic. (Ronald Linn Rivest) */
    3840#define RTCRKEYINT_MAGIC                UINT32_C(0x19470506)
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