VirtualBox

Ignore:
Timestamp:
Nov 24, 2023 3:49:29 PM (18 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
160430
Message:

IPRT/crypto/shacrypt: Renaming (RTShaCryptXXX -> RTCrShaCryptXXX) + docs groups. bugref:10551

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/crypto/shacrypt.cpp

    r102294 r102296  
    4848
    4949
    50 RTR3DECL(int) RTShaCrypt256(const char *pszKey, const char *pszSalt, uint32_t cRounds, uint8_t abHash[RTSHA256_HASH_SIZE])
     50RTR3DECL(int) RTCrShaCrypt256(const char *pszKey, const char *pszSalt, uint32_t cRounds, uint8_t abHash[RTSHA256_HASH_SIZE])
    5151{
    5252    AssertPtrReturn(pszKey,   VERR_INVALID_POINTER);
     
    172172
    173173
    174 RTR3DECL(int) RTShaCrypt256ToString(uint8_t abHash[RTSHA256_HASH_SIZE], const char *pszSalt, uint32_t cRounds,
    175                                     char *pszString, size_t cbString)
     174RTR3DECL(int) RTCrShaCrypt256ToString(uint8_t abHash[RTSHA256_HASH_SIZE], const char *pszSalt, uint32_t cRounds,
     175                                      char *pszString, size_t cbString)
    176176{
    177177    AssertPtrReturn(pszSalt,   VERR_INVALID_POINTER);
     
    222222
    223223
    224 RTR3DECL(int) RTShaCrypt512(const char *pszKey, const char *pszSalt, uint32_t cRounds, uint8_t abHash[RTSHA512_HASH_SIZE])
     224RTR3DECL(int) RTCrShaCrypt512(const char *pszKey, const char *pszSalt, uint32_t cRounds, uint8_t abHash[RTSHA512_HASH_SIZE])
    225225{
    226226    AssertPtrReturn(pszKey,   VERR_INVALID_POINTER);
     
    346346
    347347
    348 RTR3DECL(int) RTShaCrypt512ToString(uint8_t abHash[RTSHA512_HASH_SIZE], const char *pszSalt, uint32_t cRounds,
    349                                     char *pszString, size_t cbString)
     348RTR3DECL(int) RTCrShaCrypt512ToString(uint8_t abHash[RTSHA512_HASH_SIZE], const char *pszSalt, uint32_t cRounds,
     349                                      char *pszString, size_t cbString)
    350350{
    351351    AssertPtrReturn(pszSalt,   VERR_INVALID_POINTER);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette