VirtualBox

Changeset 74312 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Sep 17, 2018 2:47:59 PM (6 years ago)
Author:
vboxsync
Message:

IPRT/crypto: Added RTCrRandBytes and RTCrPkcs5Pbkdf2Hmac. The latter means openssl 1.0.0 or higher is now required. bugref:9246

Location:
trunk/include/iprt
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/err.h

    r74295 r74312  
    28252825/** Severely compromised digest. */
    28262826#define VERR_CR_DIGEST_SEVERELY_COMPROMISED         (-24204)
     2827/** Specified digest not supported in this context. */
     2828#define VERR_CR_DIGEST_NOT_SUPPORTED                (-24205)
    28272829/** @} */
    28282830
    28292831/** @name RTCr misc status codes.
    28302832 * @{ */
     2833/** Failed to derivate key from password. */
     2834#define VERR_CR_PASSWORD_2_KEY_DERIVIATION_FAILED   (-24396)
     2835/** Failed getting cryptographically strong random bytes. */
     2836#define VERR_CR_RANDOM_SETUP_FAILED                 (-24397)
     2837/** Failed getting cryptographically strong random bytes. */
     2838#define VERR_CR_RANDOM_FAILED                       (-24398)
    28312839/** Malformed or failed to parse PEM formatted data. */
    28322840#define VERR_CR_MALFORMED_PEM_HEADER                (-24399)
  • trunk/include/iprt/mangling.h

    r74297 r74312  
    31903190# define RTCrPemParseContent                            RT_MANGLER(RTCrPemParseContent)
    31913191# define RTCrPemReadFile                                RT_MANGLER(RTCrPemReadFile)
     3192# define RTCrPkcs5Pbkdf2Hmac                            RT_MANGLER(RTCrPkcs5Pbkdf2Hmac)
    31923193# define RTCrPkcs7Attribute_DecodeAsn1                  RT_MANGLER(RTCrPkcs7Attribute_DecodeAsn1)
    31933194# define RTCrPkcs7Attributes_DecodeAsn1                 RT_MANGLER(RTCrPkcs7Attributes_DecodeAsn1)
     
    32973298# define RTCrPkixPubKeyVerifySignedDigest               RT_MANGLER(RTCrPkixPubKeyVerifySignedDigest)
    32983299# define RTCrPkixPubKeyVerifySignedDigestByCertPubKeyInfo RT_MANGLER(RTCrPkixPubKeyVerifySignedDigestByCertPubKeyInfo)
     3300# define RTCrRandBytes                                  RT_MANGLER(RTCrRandBytes)
    32993301# define RTCrSpcAttributeTypeAndOptionalValue_DecodeAsn1 RT_MANGLER(RTCrSpcAttributeTypeAndOptionalValue_DecodeAsn1)
    33003302# define RTCrSpcIndirectDataContent_DecodeAsn1          RT_MANGLER(RTCrSpcIndirectDataContent_DecodeAsn1)
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