Home
last modified time | relevance | path

Searched refs:SHR (Results 1 – 5 of 5) sorted by relevance

/rk3399_rockchip-uboot/lib/
H A Dsha512.c164 #define SHR(x,n) (x >> n) in sha512_process() macro
165 #define ROTR(x,n) (SHR(x,n) | (x << (64 - n))) in sha512_process()
167 #define S0(x) (ROTR(x, 1) ^ ROTR(x, 8) ^ SHR(x, 7)) in sha512_process()
168 #define S1(x) (ROTR(x,19) ^ ROTR(x,61) ^ SHR(x, 6)) in sha512_process()
H A Dsha256.c107 #define SHR(x,n) ((x & 0xFFFFFFFF) >> n) in sha256_process_one() macro
108 #define ROTR(x,n) (SHR(x,n) | (x << (32 - n))) in sha256_process_one()
110 #define S0(x) (ROTR(x, 7) ^ ROTR(x,18) ^ SHR(x, 3)) in sha256_process_one()
111 #define S1(x) (ROTR(x,17) ^ ROTR(x,19) ^ SHR(x,10)) in sha256_process_one()
/rk3399_rockchip-uboot/include/
H A Dlattice.h150 #define SHR 0x23 /* macro
/rk3399_rockchip-uboot/drivers/fpga/
H A Divm_core.c968 case SHR: in ispVMCode()
1282 ispVMBitShift(SHR, g_usShiftValue); in ispVMDataCode()
1952 case SHR: in ispVMBitShift()
/rk3399_rockchip-uboot/tools/rockchip/
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