VirtualBox

Changeset 85622 in vbox for trunk/src/libs


Ignore:
Timestamp:
Aug 5, 2020 8:48:34 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139731
Message:

openssl/keccak1600.c: Use inline ROL64/32 via asm.h.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/openssl-1.1.1g/crypto/sha/keccak1600.c

    r83916 r85622  
    4343#endif
    4444
     45# ifdef VBOX
     46#  include <iprt/asm.h>
     47#  define ROL32(val, shift) ASMRotateLeftU32(val, shift)
     48#  define ROL64(val, shift) ASMRotateLeftU64(val, shift)
     49# else /* !VBOX */
    4550#define ROL32(a, offset) (((a) << (offset)) | ((a) >> ((32 - (offset)) & 31)))
    4651
     
    6974    }
    7075}
     76#endif /* !VBOX */
    7177
    7278static const unsigned char rhotates[5][5] = {
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