Searched refs:ROTR (Results 1 - 2 of 2) sorted by relevance
/device/soc/rockchip/common/sdk_linux/scripts/ |
H A D | resource_tool.c | 349 #define ROTR(x, n) (SHR(x, n) | ((x) << (0x20 - (n)))) in sha256_process() macro 351 #define S0(x) (ROTR(x, 0x7) ^ ROTR(x, 0x12) ^ SHR(x, 0x3)) in sha256_process() 352 #define S1(x) (ROTR(x, 0x11) ^ ROTR(x, 0x13) ^ SHR(x, 0xa)) in sha256_process() 354 #define S2(x) (ROTR(x, 0x2) ^ ROTR(x, 0xd) ^ ROTR(x, 0x16)) in sha256_process() 355 #define S3(x) (ROTR(x, 0x6) ^ ROTR( in sha256_process() 464 #undef ROTR global() macro [all...] |
/device/soc/rockchip/rk3588/kernel/scripts/ |
H A D | resource_tool.c | 358 #define ROTR(x,n) (SHR(x,n) | (x << (32 - n))) in sha256_process() macro 360 #define S0(x) (ROTR(x, 7) ^ ROTR(x,18) ^ SHR(x, 3)) in sha256_process() 361 #define S1(x) (ROTR(x,17) ^ ROTR(x,19) ^ SHR(x,10)) in sha256_process() 363 #define S2(x) (ROTR(x, 2) ^ ROTR(x,13) ^ ROTR(x,22)) in sha256_process() 364 #define S3(x) (ROTR(x, 6) ^ ROTR( in sha256_process() 473 #undef ROTR global() macro [all...] |
Completed in 3 milliseconds