Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/libtomcrypt/src/ciphers/aes/
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)
A Daes.c192 rk[12] = rk[ 4] ^ setup_mix(RORc(temp, 8)); in SETUP()
/optee_os-3.20.0/core/lib/libtomcrypt/src/ciphers/
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);
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); \
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()
A Dcamellia.c185 U = D ^ RORc(U, 8); in F()
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_macros.h245 #define RORc(x,n) ROR(x,n) macro
254 #define RORc(x,n) ROR(x,n) macro
285 #define RORc(word,i) ({ \ macro
297 #define RORc ROR macro
330 static inline ulong32 RORc(ulong32 word, const int i) in RORc() function
341 #define RORc ROR macro
352 #define RORc(x, y) ( ((((ulong32)(x)&0xFFFFFFFFUL)>>(ulong32)((y)&31)) | ((ulong32)(x)<<(ulong32)((… macro
/optee_os-3.20.0/core/lib/libtomcrypt/src/ciphers/twofish/
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-3.20.0/core/lib/libtomcrypt/src/stream/sober128/
A Dsober128_stream.c66 t = RORc(t, 8); \
/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/sha2/
A Dsha256.c52 #define S(x, n) RORc((x),(n))

Completed in 21 milliseconds