Changeset 102296 in vbox for trunk/src/VBox/Runtime/common/crypto
- Timestamp:
- Nov 24, 2023 3:49:29 PM (18 months ago)
- svn:sync-xref-src-repo-rev:
- 160430
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/crypto/shacrypt.cpp
r102294 r102296 48 48 49 49 50 RTR3DECL(int) RT ShaCrypt256(const char *pszKey, const char *pszSalt, uint32_t cRounds, uint8_t abHash[RTSHA256_HASH_SIZE])50 RTR3DECL(int) RTCrShaCrypt256(const char *pszKey, const char *pszSalt, uint32_t cRounds, uint8_t abHash[RTSHA256_HASH_SIZE]) 51 51 { 52 52 AssertPtrReturn(pszKey, VERR_INVALID_POINTER); … … 172 172 173 173 174 RTR3DECL(int) RT ShaCrypt256ToString(uint8_t abHash[RTSHA256_HASH_SIZE], const char *pszSalt, uint32_t cRounds,175 char *pszString, size_t cbString)174 RTR3DECL(int) RTCrShaCrypt256ToString(uint8_t abHash[RTSHA256_HASH_SIZE], const char *pszSalt, uint32_t cRounds, 175 char *pszString, size_t cbString) 176 176 { 177 177 AssertPtrReturn(pszSalt, VERR_INVALID_POINTER); … … 222 222 223 223 224 RTR3DECL(int) RT ShaCrypt512(const char *pszKey, const char *pszSalt, uint32_t cRounds, uint8_t abHash[RTSHA512_HASH_SIZE])224 RTR3DECL(int) RTCrShaCrypt512(const char *pszKey, const char *pszSalt, uint32_t cRounds, uint8_t abHash[RTSHA512_HASH_SIZE]) 225 225 { 226 226 AssertPtrReturn(pszKey, VERR_INVALID_POINTER); … … 346 346 347 347 348 RTR3DECL(int) RT ShaCrypt512ToString(uint8_t abHash[RTSHA512_HASH_SIZE], const char *pszSalt, uint32_t cRounds,349 char *pszString, size_t cbString)348 RTR3DECL(int) RTCrShaCrypt512ToString(uint8_t abHash[RTSHA512_HASH_SIZE], const char *pszSalt, uint32_t cRounds, 349 char *pszString, size_t cbString) 350 350 { 351 351 AssertPtrReturn(pszSalt, VERR_INVALID_POINTER);
Note:
See TracChangeset
for help on using the changeset viewer.