Searched refs:rotr (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/base/startup/hvb/libhvb/src/crypto/ |
H A D | hvb_hash_sha256.c | 32 #define rotr(x, n) (shr(x, n) | (((uint32_t)(x)) << (32 - (n)))) macro 34 #define sigma_0(x) (rotr(x, 2) ^ rotr(x, 13) ^ rotr(x, 22)) 35 #define sigma_1(x) (rotr(x, 6) ^ rotr(x, 11) ^ rotr(x, 25)) 36 #define sigma_2(x) (rotr(x, 7) ^ rotr(x, 18) ^ shr(x, 3)) 37 #define sigma_3(x) (rotr(x, 17) ^ rotr(x, 19) ^ shr(x, 10))
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/datastore/ |
H A D | render_data_store_default_material.cpp | 56 constexpr const uint32_t rotr = 2U; in HashCombine32Bit() local 57 seed ^= hash(v) + goldenRatio + (seed << rotl) + (seed >> rotr); in HashCombine32Bit()
|