MCPcopy Create free account
hub / github.com/albertobsd/keyhunt / _rotr

Function _rotr

hash/sha256.cpp:37–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35#define _byteswap_ulong __builtin_bswap32
36#define _byteswap_uint64 __builtin_bswap64
37inline uint32_t _rotr(uint32_t x, uint8_t r) {
38 asm("rorl %1,%0" : "+r" (x) : "c" (r));
39 return x;
40}
41#endif
42
43#define ROR(x,n) _rotr(x, n)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected