Changeset 85121 in vbox for trunk/src/VBox/Runtime/common/crypto
- Timestamp:
- Jul 8, 2020 7:33:26 PM (5 years ago)
- Location:
- trunk/src/VBox/Runtime/common/crypto
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/crypto/RTCrPkcs5Pbkdf2Hmac-openssl.cpp
r82968 r85121 38 38 39 39 # include "internal/iprt-openssl.h" 40 # include "openssl/evp.h" 40 # include "internal/openssl-pre.h" 41 # include <openssl/evp.h> 42 # include "internal/openssl-post.h" 41 43 42 44 -
trunk/src/VBox/Runtime/common/crypto/RTCrRandBytes-openssl.cpp
r82968 r85121 38 38 39 39 # include "internal/iprt-openssl.h" 40 # include "openssl/rand.h" 40 # include "internal/openssl-pre.h" 41 # include <openssl/rand.h> 42 # include "internal/openssl-post.h" 41 43 42 44 -
trunk/src/VBox/Runtime/common/crypto/cipher-openssl.cpp
r82968 r85121 40 40 41 41 # include "internal/iprt-openssl.h" 42 # include "openssl/evp.h" 42 # include "internal/openssl-pre.h" 43 # include <openssl/evp.h> 44 # include "internal/openssl-post.h" 43 45 44 46 # include "internal/magics.h" -
trunk/src/VBox/Runtime/common/crypto/digest-builtin.cpp
r84251 r85121 43 43 #ifdef IPRT_WITH_OPENSSL 44 44 # include "internal/iprt-openssl.h" 45 # include "internal/openssl-pre.h" 45 46 # include <openssl/evp.h> 47 # include "internal/openssl-post.h" 46 48 #endif 47 49 -
trunk/src/VBox/Runtime/common/crypto/iprt-openssl.cpp
r84310 r85121 39 39 40 40 # include "internal/iprt-openssl.h" 41 # include "internal/openssl-pre.h" 41 42 # include <openssl/x509.h> 42 43 # include <openssl/err.h> 44 # include "internal/openssl-post.h" 43 45 44 46 -
trunk/src/VBox/Runtime/common/crypto/key-create-rsa-openssl.cpp
r82968 r85121 37 37 38 38 # include "internal/iprt-openssl.h" 39 # include "internal/openssl-pre.h" 39 40 # include <openssl/rsa.h> 40 41 # include <openssl/err.h> 42 # include "internal/openssl-post.h" 41 43 42 44 # include "key-internal.h" -
trunk/src/VBox/Runtime/common/crypto/key-file.cpp
r82968 r85121 50 50 #ifdef IPRT_WITH_OPENSSL 51 51 # include "internal/iprt-openssl.h" 52 # include "openssl/evp.h" 52 # include "internal/openssl-pre.h" 53 # include <openssl/evp.h> 54 # include "internal/openssl-post.h" 53 55 # ifndef OPENSSL_VERSION_NUMBER 54 56 # error "Missing OPENSSL_VERSION_NUMBER!" -
trunk/src/VBox/Runtime/common/crypto/key-openssl.cpp
r84230 r85121 40 40 # include "internal/iprt-openssl.h" 41 41 # include "internal/magics.h" 42 # include "openssl/evp.h" 42 # include "internal/openssl-pre.h" 43 # include <openssl/evp.h> 44 # include "internal/openssl-post.h" 43 45 # ifndef OPENSSL_VERSION_NUMBER 44 46 # error "Missing OPENSSL_VERSION_NUMBER!" -
trunk/src/VBox/Runtime/common/crypto/pkcs7-sign.cpp
r84256 r85121 42 42 #ifdef IPRT_WITH_OPENSSL 43 43 # include "internal/iprt-openssl.h" 44 # include "internal/openssl-pre.h" 44 45 # include <openssl/pkcs7.h> 45 46 # include <openssl/cms.h> 46 47 # include <openssl/x509.h> 47 48 # include <openssl/err.h> 49 # include "internal/openssl-post.h" 48 50 #endif 49 51 -
trunk/src/VBox/Runtime/common/crypto/pkcs7-verify.cpp
r84380 r85121 43 43 #ifdef IPRT_WITH_OPENSSL 44 44 # include "internal/iprt-openssl.h" 45 # include "internal/openssl-pre.h" 45 46 # include <openssl/pkcs7.h> 46 47 # include <openssl/x509.h> 47 48 # include <openssl/err.h> 49 # include "internal/openssl-post.h" 48 50 #endif 49 51 -
trunk/src/VBox/Runtime/common/crypto/pkix-sign.cpp
r84230 r85121 41 41 #ifdef IPRT_WITH_OPENSSL 42 42 # include "internal/iprt-openssl.h" 43 # include "openssl/evp.h" 44 # include "openssl/rsa.h" 43 # include "internal/openssl-pre.h" 44 # include <openssl/evp.h> 45 # include <openssl/rsa.h> 46 # include "internal/openssl-post.h" 45 47 # ifndef OPENSSL_VERSION_NUMBER 46 48 # error "Missing OPENSSL_VERSION_NUMBER!" -
trunk/src/VBox/Runtime/common/crypto/pkix-signature-builtin.cpp
r82968 r85121 37 37 #ifdef IPRT_WITH_OPENSSL 38 38 # include "internal/iprt-openssl.h" 39 # include "internal/openssl-pre.h" 39 40 # include <openssl/evp.h> 41 # include "internal/openssl-post.h" 40 42 #endif 41 43 -
trunk/src/VBox/Runtime/common/crypto/pkix-util.cpp
r84248 r85121 40 40 #ifdef IPRT_WITH_OPENSSL 41 41 # include "internal/iprt-openssl.h" 42 # include "openssl/evp.h" 42 # include "internal/openssl-pre.h" 43 # include <openssl/evp.h> 44 # include "internal/openssl-post.h" 43 45 #endif 44 46 -
trunk/src/VBox/Runtime/common/crypto/pkix-verify.cpp
r84230 r85121 39 39 #ifdef IPRT_WITH_OPENSSL 40 40 # include "internal/iprt-openssl.h" 41 # include "openssl/evp.h" 41 # include "internal/openssl-pre.h" 42 # include <openssl/evp.h> 43 # include "internal/openssl-post.h" 42 44 # ifndef OPENSSL_VERSION_NUMBER 43 45 # error "Missing OPENSSL_VERSION_NUMBER!" -
trunk/src/VBox/Runtime/common/crypto/rc4-openssl.cpp
r82968 r85121 32 32 # include "internal/iprt.h" 33 33 # include "internal/iprt-openssl.h" 34 # include "openssl/rc4.h" 34 # include "internal/openssl-pre.h" 35 # include <openssl/rc4.h> 36 # include "internal/openssl-post.h" 35 37 # include <iprt/crypto/rc4.h> 36 38 -
trunk/src/VBox/Runtime/common/crypto/ssl-openssl.cpp
r82968 r85121 42 42 43 43 # include "internal/iprt-openssl.h" 44 # include "internal/openssl-pre.h" 44 45 # include <openssl/ssl.h> 45 46 # include <openssl/tls1.h> 47 # include "internal/openssl-post.h" 46 48 47 49 -
trunk/src/VBox/Runtime/common/crypto/store-internal.h
r84329 r85121 49 49 * @param pCertCtx The internal certificate context. 50 50 */ 51 DECLCALLBACKMEMBER(void, pfnDtor )(struct RTCRCERTCTXINT *pCertCtx);51 DECLCALLBACKMEMBER(void, pfnDtor,(struct RTCRCERTCTXINT *pCertCtx)); 52 52 /** The public store context. */ 53 53 RTCRCERTCTX Public; … … 77 77 * @param pvProvider The provider specific data. 78 78 */ 79 DECLCALLBACKMEMBER(void, pfnDestroyStore )(void *pvProvider);79 DECLCALLBACKMEMBER(void, pfnDestroyStore,(void *pvProvider)); 80 80 81 81 /** … … 93 93 * @param pcbKeyRet Where to return the size of the returned key. 94 94 */ 95 DECLCALLBACKMEMBER(int, pfnCertCtxQueryPrivateKey )(void *pvProvider, PRTCRCERTCTXINT pCertCtx,96 uint8_t *pbKey, size_t cbKey, size_t *pcbKeyRet) ;95 DECLCALLBACKMEMBER(int, pfnCertCtxQueryPrivateKey,(void *pvProvider, PRTCRCERTCTXINT pCertCtx, 96 uint8_t *pbKey, size_t cbKey, size_t *pcbKeyRet)); 97 97 98 98 /** … … 104 104 * provider should initalize this on success. 105 105 */ 106 DECLCALLBACKMEMBER(int, pfnCertFindAll )(void *pvProvider, PRTCRSTORECERTSEARCH pSearch);106 DECLCALLBACKMEMBER(int, pfnCertFindAll,(void *pvProvider, PRTCRSTORECERTSEARCH pSearch)); 107 107 108 108 /** … … 114 114 * @param pSearch Pointer to opaque search state structure. 115 115 */ 116 DECLCALLBACKMEMBER(PCRTCRCERTCTX, pfnCertSearchNext )(void *pvProvider, PRTCRSTORECERTSEARCH pSearch);116 DECLCALLBACKMEMBER(PCRTCRCERTCTX, pfnCertSearchNext,(void *pvProvider, PRTCRSTORECERTSEARCH pSearch)); 117 117 118 118 /** … … 122 122 * @param pSearch Pointer to opaque search state structure to destroy. 123 123 */ 124 DECLCALLBACKMEMBER(void, pfnCertSearchDestroy )(void *pvProvider, PRTCRSTORECERTSEARCH pSearch);124 DECLCALLBACKMEMBER(void, pfnCertSearchDestroy,(void *pvProvider, PRTCRSTORECERTSEARCH pSearch)); 125 125 126 126 /** … … 136 136 * @param pErrInfo Where to store extended error info. Optional. 137 137 */ 138 DECLCALLBACKMEMBER(int, pfnCertAddEncoded )(void *pvProvider, uint32_t fFlags, uint8_t const *pbEncoded, uint32_t cbEncoded,139 PRTERRINFO pErrInfo) ;138 DECLCALLBACKMEMBER(int, pfnCertAddEncoded,(void *pvProvider, uint32_t fFlags, uint8_t const *pbEncoded, uint32_t cbEncoded, 139 PRTERRINFO pErrInfo)); 140 140 141 141 … … 151 151 * @param phSearch Pointer to a provider specific search handle. 152 152 */ 153 DECLCALLBACKMEMBER(int, pfnCertFindByIssuerAndSerialNo )(void *pvProvider, PCRTCRX509NAME pIssuer, PCRTASN1INTEGER pSerialNo,154 PRTCRSTORECERTSEARCH phSearch) ;153 DECLCALLBACKMEMBER(int, pfnCertFindByIssuerAndSerialNo,(void *pvProvider, PCRTCRX509NAME pIssuer, PCRTASN1INTEGER pSerialNo, 154 PRTCRSTORECERTSEARCH phSearch)); 155 155 /** Non-zero end marker. */ 156 156 uintptr_t uEndMarker; -
trunk/src/VBox/Runtime/common/crypto/store.cpp
r84329 r85121 41 41 42 42 #ifdef IPRT_WITH_OPENSSL 43 # include "internal/openssl-pre.h" 43 44 # include <openssl/x509.h> 45 # include "internal/openssl-post.h" 44 46 #endif 45 47
Note:
See TracChangeset
for help on using the changeset viewer.