Changeset 74712 in vbox for trunk/src/VBox
- Timestamp:
- Oct 9, 2018 10:02:18 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/crypto/rc4-openssl.cpp
r74295 r74712 42 42 RTDECL(void) RTCrRc4SetKey(PRTCRRC4KEY pKey, size_t cbData, void const *pvData) 43 43 { 44 AssertCompile(sizeof(pKey->au64Padding) == sizeof(pKey->Ossl)); 44 45 AssertCompile(sizeof(RC4_INT) == 4 ? sizeof(pKey->au64Padding) == sizeof(pKey->Ossl) : sizeof(pKey->au64Padding) >= sizeof(pKey->Ossl)); 45 46 Assert((int)cbData == (ssize_t)cbData); 46 47 AssertPtr(pKey); … … 52 53 RTDECL(void) RTCrRc4(PRTCRRC4KEY pKey, size_t cbData, void const *pvDataIn, void *pvDataOut) 53 54 { 54 AssertCompile(sizeof( pKey->au64Padding) == sizeof(pKey->Ossl));55 AssertCompile(sizeof(RC4_INT) == 4 ? sizeof(pKey->au64Padding) == sizeof(pKey->Ossl) : sizeof(pKey->au64Padding) >= sizeof(pKey->Ossl)); 55 56 Assert((int)cbData == (ssize_t)cbData); 56 57 AssertPtr(pKey);
Note:
See TracChangeset
for help on using the changeset viewer.