Home
last modified time | relevance | path

Searched refs:SHR (Results 1 - 2 of 2) sorted by relevance

/device/soc/rockchip/common/sdk_linux/scripts/
H A Dresource_tool.c348 #define SHR(x, n) (((x)&0xFFFFFFFF) >> (n)) in sha256_process() macro
349 #define ROTR(x, n) (SHR(x, n) | ((x) << (0x20 - (n)))) in sha256_process()
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()
465 #undef SHR macro
/device/soc/rockchip/rk3588/kernel/scripts/
H A Dresource_tool.c357 #define SHR(x,n) ((x & 0xFFFFFFFF) >> n) in sha256_process() macro
358 #define ROTR(x,n) (SHR(x,n) | (x << (32 - n))) in sha256_process()
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()
474 #undef SHR macro

Completed in 5 milliseconds