Home
last modified time | relevance | path

Searched refs:RORc (Results 1 – 10 of 10) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/ciphers/aes/
H A Daes_tab.c301 #define Te1(x) RORc(TE0[x], 8)
302 #define Te2(x) RORc(TE0[x], 16)
303 #define Te3(x) RORc(TE0[x], 24)
306 #define Td1(x) RORc(TD0[x], 8)
307 #define Td2(x) RORc(TD0[x], 16)
308 #define Td3(x) RORc(TD0[x], 24)
H A Daes.c178 rk[12] = rk[ 4] ^ setup_mix(RORc(temp, 8)); in SETUP()
/optee_os/core/lib/libtomcrypt/src/headers/
H A Dtomcrypt_macros.h250 #define RORc(x,n) ROR(x,n) macro
259 #define RORc(x,n) ROR(x,n) macro
290 #define RORc(word,i) ({ \ macro
291 ulong32 LTC_TMPVAR(RORc) = (word); \
293 "=r" (LTC_TMPVAR(RORc)) : \
294 "0" (LTC_TMPVAR(RORc)), \
296 LTC_TMPVAR(RORc); \
302 #define RORc ROR macro
335 static inline ulong32 RORc(ulong32 word, const int i) in RORc() function
346 #define RORc ROR macro
[all …]
/optee_os/core/lib/libtomcrypt/src/ciphers/
H A Dnoekeon.c34 temp = a^c; temp = temp ^ ROLc(temp, 8) ^ RORc(temp, 8); \
36 temp = b^d; temp = temp ^ ROLc(temp, 8) ^ RORc(temp, 8); \
40 temp = a^c; temp = temp ^ ROLc(temp, 8) ^ RORc(temp, 8); \
42 temp = b^d; temp = temp ^ ROLc(temp, 8) ^ RORc(temp, 8); \
57 b = RORc(b, 1); c = RORc(c, 5); d = RORc(d, 2);
H A Dserpent.c41 c = RORc(c, 22); \
42 a = RORc(a, 5); \
45 b = RORc(b, 1); \
46 d = RORc(d, 7) ^ c ^ (a << 3); \
48 c = RORc(c, 3); \
49 a = RORc(a, 13); \
H A Ddes.c1443 work = RORc(right, 4) ^ *keys++; in desfunc()
1454 work = RORc(leftt, 4) ^ *keys++; in desfunc()
1467 right = RORc(right, 1); in desfunc()
1471 leftt = RORc(leftt, 1); in desfunc()
H A Dcamellia.c185 U = D ^ RORc(U, 8); in F()
/optee_os/core/lib/libtomcrypt/src/ciphers/twofish/
H A Dtwofish.c499 c = RORc(c ^ (t1 + k[0]), 1); in s_twofish_ecb_encrypt()
504 a = RORc(a ^ (t1 + k[2]), 1); in s_twofish_ecb_encrypt()
577 b = RORc(b ^ (t2 + t1 + k[3]), 1); in s_twofish_ecb_decrypt()
582 d = RORc(d ^ (t2 + t1 + k[1]), 1); in s_twofish_ecb_decrypt()
/optee_os/core/lib/libtomcrypt/src/stream/sober128/
H A Dsober128_stream.c66 t = RORc(t, 8); \
/optee_os/core/lib/libtomcrypt/src/hashes/sha2/
H A Dsha256.c52 #define S(x, n) RORc((x),(n))