Home
last modified time | relevance | path

Searched refs:ROR (Results 1 – 4 of 4) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/ciphers/
H A Drc5.c204 B = ROR(B - K[3], A) ^ A; in s_rc5_ecb_decrypt()
205 A = ROR(A - K[2], B) ^ B; in s_rc5_ecb_decrypt()
206 B = ROR(B - K[1], A) ^ A; in s_rc5_ecb_decrypt()
207 A = ROR(A - K[0], B) ^ B; in s_rc5_ecb_decrypt()
212 B = ROR(B - K[1], A) ^ A; in s_rc5_ecb_decrypt()
213 A = ROR(A - K[0], B) ^ B; in s_rc5_ecb_decrypt()
H A Drc6.c190 c = ROR(c - K[1], t) ^ u; \ in s_rc6_ecb_decrypt()
191 a = ROR(a - K[0], u) ^ t; K -= 2; in s_rc6_ecb_decrypt()
/optee_os/core/lib/libtomcrypt/src/headers/
H A Dtomcrypt_macros.h248 #define ROR(x,n) _rotr(x,n) macro
250 #define RORc(x,n) ROR(x,n)
256 #define ROR(x,n) __builtin_rotateright32(x,n) macro
259 #define RORc(x,n) ROR(x,n)
272 static inline ulong32 ROR(ulong32 word, int i) in ROR() function
302 #define RORc ROR
317 static inline ulong32 ROR(ulong32 word, int i) in ROR() function
346 #define RORc ROR
355 #define ROR(x, y) ( ((((ulong32)(x)&0xFFFFFFFFUL)>>(ulong32)((y)&31)) | ((ulong32)(x)<<(ulong32)((3… macro
/optee_os/core/lib/libtomcrypt/src/hashes/
H A Dblake2s.c273 …d = ROR(d ^ a, 16); …
275 …b = ROR(b ^ c, 12); …
277 …d = ROR(d ^ a, 8); …
279 …b = ROR(b ^ c, 7); …