/optee_os/core/lib/libtomcrypt/src/ciphers/ |
A D | blowfish.c | 377 #define F(x) ((S1[LTC_BYTE(x,3)] + S2[LTC_BYTE(x,2)]) ^ S3[LTC_BYTE(x,1)]) + S4[LTC_BYTE(x,0)] 398 const ulong32 *S1, *S2, *S3, *S4; in _blowfish_ecb_encrypt() local 408 S3 = skey->blowfish.S[2]; in _blowfish_ecb_encrypt() 460 const ulong32 *S1, *S2, *S3, *S4; in _blowfish_ecb_decrypt() local 470 S3 = skey->blowfish.S[2]; in _blowfish_ecb_decrypt()
|
A D | cast5.c | 122 static const ulong32 S3[256] = { variable 512 return ((S1[LTC_BYTE(I, 3)] ^ S2[LTC_BYTE(I,2)]) - S3[LTC_BYTE(I,1)]) + S4[LTC_BYTE(I,0)]; in FI() 520 return ((S1[LTC_BYTE(I, 3)] - S2[LTC_BYTE(I,2)]) + S3[LTC_BYTE(I,1)]) ^ S4[LTC_BYTE(I,0)]; in FII() 528 return ((S1[LTC_BYTE(I, 3)] + S2[LTC_BYTE(I,2)]) ^ S3[LTC_BYTE(I,1)]) - S4[LTC_BYTE(I,0)]; in FIII()
|
/optee_os/core/lib/libtomcrypt/src/ciphers/twofish/ |
A D | twofish.c | 281 #define S3 skey->twofish.S[2] macro 286 #define g_func(x, dum) (S1[LTC_BYTE(x,0)] ^ S2[LTC_BYTE(x,1)] ^ S3[LTC_BYTE(x,2)] ^ S4[LTC_BYTE(x,… 287 #define g1_func(x, dum) (S2[LTC_BYTE(x,0)] ^ S3[LTC_BYTE(x,1)] ^ S4[LTC_BYTE(x,2)] ^ S1[LTC_BYTE(x,… 481 const ulong32 *S1, *S2, *S3, *S4; in _twofish_ecb_encrypt() local 491 S3 = skey->twofish.S[2]; in _twofish_ecb_encrypt() 555 const ulong32 *S1, *S2, *S3, *S4; in _twofish_ecb_decrypt() local 565 S3 = skey->twofish.S[2]; in _twofish_ecb_decrypt()
|
/optee_os/core/lib/libtomcrypt/src/stream/sosemanuk/ |
A D | sosemanuk.c | 113 #define S3(r0, r1, r2, r3, r4) do { \ macro 229 #define SKS3 SKS(S3, 0, 1, 2, 3, 1, 2, 3, 4) in sosemanuk_setup() 399 FSS(12, S3, 0, 4, 1, 3, 2, 4, 1, 3, 2); in sosemanuk_setiv() 407 FSS(44, S3, 4, 3, 1, 0, 2, 3, 1, 0, 2); in sosemanuk_setiv() 425 FSS(76, S3, 3, 0, 1, 4, 2, 0, 1, 4, 2); in sosemanuk_setiv()
|
/optee_os/lib/libmbedtls/mbedtls/library/ |
A D | sha512.c | 251 #define S3(x) (ROTR(x,14) ^ ROTR(x,18) ^ ROTR(x,41)) in mbedtls_internal_sha512_process() macro 259 local.temp1 = (h) + S3(e) + F1((e),(f),(g)) + (K) + (x); \ in mbedtls_internal_sha512_process()
|
A D | sha256.c | 177 #define S3(x) (ROTR(x, 6) ^ ROTR(x,11) ^ ROTR(x,25)) macro 191 local.temp1 = (h) + S3(e) + F1((e),(f),(g)) + (K) + (x); \
|