Home
last modified time | relevance | path

Searched refs:LTC_BYTE (Results 1 – 8 of 8) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/src/ciphers/aes/
A Daes.c312 Te0(LTC_BYTE(s0, 3)) ^ in s_rijndael_ecb_encrypt()
313 Te1(LTC_BYTE(s1, 2)) ^ in s_rijndael_ecb_encrypt()
314 Te2(LTC_BYTE(s2, 1)) ^ in s_rijndael_ecb_encrypt()
315 Te3(LTC_BYTE(s3, 0)) ^ in s_rijndael_ecb_encrypt()
318 Te0(LTC_BYTE(s1, 3)) ^ in s_rijndael_ecb_encrypt()
319 Te1(LTC_BYTE(s2, 2)) ^ in s_rijndael_ecb_encrypt()
320 Te2(LTC_BYTE(s3, 1)) ^ in s_rijndael_ecb_encrypt()
321 Te3(LTC_BYTE(s0, 0)) ^ in s_rijndael_ecb_encrypt()
324 Te0(LTC_BYTE(s2, 3)) ^ in s_rijndael_ecb_encrypt()
325 Te1(LTC_BYTE(s3, 2)) ^ in s_rijndael_ecb_encrypt()
[all …]
/optee_os-3.20.0/core/lib/libtomcrypt/src/mac/pelican/
A Dpelican.c59 Te0(LTC_BYTE(s0, 3)) ^ in s_four_rounds()
60 Te1(LTC_BYTE(s1, 2)) ^ in s_four_rounds()
61 Te2(LTC_BYTE(s2, 1)) ^ in s_four_rounds()
62 Te3(LTC_BYTE(s3, 0)); in s_four_rounds()
64 Te0(LTC_BYTE(s1, 3)) ^ in s_four_rounds()
65 Te1(LTC_BYTE(s2, 2)) ^ in s_four_rounds()
66 Te2(LTC_BYTE(s3, 1)) ^ in s_four_rounds()
67 Te3(LTC_BYTE(s0, 0)); in s_four_rounds()
69 Te0(LTC_BYTE(s2, 3)) ^ in s_four_rounds()
72 Te3(LTC_BYTE(s1, 0)); in s_four_rounds()
[all …]
/optee_os-3.20.0/core/lib/libtomcrypt/src/ciphers/
A Dblowfish.c293 #define F(x) ((S1[LTC_BYTE(x,3)] + S2[LTC_BYTE(x,2)]) ^ S3[LTC_BYTE(x,1)]) + S4[LTC_BYTE(x,0)]
295 …->blowfish.S[0][LTC_BYTE(x,3)] + skey->blowfish.S[1][LTC_BYTE(x,2)]) ^ skey->blowfish.S[2][LTC_BYT…
A Dcast5.c499 return ((S1[LTC_BYTE(I, 3)] ^ S2[LTC_BYTE(I,2)]) - S3[LTC_BYTE(I,1)]) + S4[LTC_BYTE(I,0)]; in FI()
507 return ((S1[LTC_BYTE(I, 3)] - S2[LTC_BYTE(I,2)]) + S3[LTC_BYTE(I,1)]) ^ S4[LTC_BYTE(I,0)]; in FII()
515 return ((S1[LTC_BYTE(I, 3)] + S2[LTC_BYTE(I,2)]) ^ S3[LTC_BYTE(I,1)]) - S4[LTC_BYTE(I,0)]; in FIII()
A Ddes.c1429 tmp = des_ip[0][LTC_BYTE(leftt, 0)] ^ in desfunc()
1430 des_ip[1][LTC_BYTE(leftt, 1)] ^ in desfunc()
1431 des_ip[2][LTC_BYTE(leftt, 2)] ^ in desfunc()
1432 des_ip[3][LTC_BYTE(leftt, 3)] ^ in desfunc()
1433 des_ip[4][LTC_BYTE(right, 0)] ^ in desfunc()
1434 des_ip[5][LTC_BYTE(right, 1)] ^ in desfunc()
1435 des_ip[6][LTC_BYTE(right, 2)] ^ in desfunc()
1436 des_ip[7][LTC_BYTE(right, 3)]; in desfunc()
1488 tmp = des_fp[0][LTC_BYTE(leftt, 0)] ^ in desfunc()
1489 des_fp[1][LTC_BYTE(leftt, 1)] ^ in desfunc()
[all …]
/optee_os-3.20.0/core/lib/libtomcrypt/src/ciphers/twofish/
A Dtwofish.c279 #define g_func(x, dum) (S1[LTC_BYTE(x,0)] ^ S2[LTC_BYTE(x,1)] ^ S3[LTC_BYTE(x,2)] ^ S4[LTC_BYTE(x,…
280 #define g1_func(x, dum) (S2[LTC_BYTE(x,0)] ^ S3[LTC_BYTE(x,1)] ^ S4[LTC_BYTE(x,2)] ^ S1[LTC_BYTE(x,…
/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/
A Dtiger.c555 … *a -= t1[LTC_BYTE(tmp, 0)] ^ t2[LTC_BYTE(tmp, 2)] ^ t3[LTC_BYTE(tmp, 4)] ^ t4[LTC_BYTE(tmp, 6)]; in tiger_round()
556 …tmp = (*b += t4[LTC_BYTE(tmp, 1)] ^ t3[LTC_BYTE(tmp, 3)] ^ t2[LTC_BYTE(tmp,5)] ^ t1[LTC_BYTE(tmp,7… in tiger_round()
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_private.h497 #define LTC_BYTE(x, n) ((unsigned char)((x) >> (8 * (n)))) macro
499 #define LTC_BYTE(x, n) (((x) >> (8 * (n))) & 255) macro

Completed in 24 milliseconds