Searched refs:S6 (Results 1 – 2 of 2) sorted by relevance
/optee_os/core/lib/libtomcrypt/src/ciphers/ |
A D | cast5.c | 257 static const ulong32 S6[256] = { variable 442 … z[3] = x[3] ^ S5[GB(x, 0xD)] ^ S6[GB(x, 0xF)] ^ S7[GB(x, 0xC)] ^ S8[GB(x, 0xE)] ^ S7[GB(x, 0x8)]; in _cast5_setup() 443 … z[2] = x[1] ^ S5[GB(z, 0x0)] ^ S6[GB(z, 0x2)] ^ S7[GB(z, 0x1)] ^ S8[GB(z, 0x3)] ^ S8[GB(x, 0xA)]; in _cast5_setup() 445 … z[0] = x[2] ^ S5[GB(z, 0xA)] ^ S6[GB(z, 0x9)] ^ S7[GB(z, 0xb)] ^ S8[GB(z, 0x8)] ^ S6[GB(x, 0xB)]; in _cast5_setup() 447 …skey->cast5.K[i++] = S5[GB(z, 0xA)] ^ S6[GB(z, 0xB)] ^ S7[GB(z, 0x5)] ^ S8[GB(z, 0x4)] ^ S6[GB(z, … in _cast5_setup() 454 … x[0] = z[0] ^ S5[GB(x, 0xA)] ^ S6[GB(x, 0x9)] ^ S7[GB(x, 0xb)] ^ S8[GB(x, 0x8)] ^ S6[GB(z, 0x3)]; in _cast5_setup() 456 …skey->cast5.K[i++] = S5[GB(x, 0x1)] ^ S6[GB(x, 0x0)] ^ S7[GB(x, 0xe)] ^ S8[GB(x, 0xf)] ^ S6[GB(x, … in _cast5_setup() 464 … z[0] = x[2] ^ S5[GB(z, 0xA)] ^ S6[GB(z, 0x9)] ^ S7[GB(z, 0xb)] ^ S8[GB(z, 0x8)] ^ S6[GB(x, 0xB)]; in _cast5_setup() 466 …skey->cast5.K[i++] = S5[GB(z, 0x1)] ^ S6[GB(z, 0x0)] ^ S7[GB(z, 0xe)] ^ S8[GB(z, 0xf)] ^ S6[GB(z, … in _cast5_setup() 473 … x[0] = z[0] ^ S5[GB(x, 0xA)] ^ S6[GB(x, 0x9)] ^ S7[GB(x, 0xb)] ^ S8[GB(x, 0x8)] ^ S6[GB(z, 0x3)]; in _cast5_setup() [all …]
|
/optee_os/core/lib/libtomcrypt/src/stream/sosemanuk/ |
A D | sosemanuk.c | 152 #define S6(r0, r1, r2, r3, r4) do { \ macro 232 #define SKS6 SKS(S6, 4, 5, 6, 7, 0, 1, 4, 2) in sosemanuk_setup() 402 FSS(24, S6, 0, 2, 1, 4, 3, 0, 2, 3, 1); in sosemanuk_setiv() 415 FSS(56, S6, 4, 2, 1, 3, 0, 4, 2, 0, 1); in sosemanuk_setiv() 428 FSS(88, S6, 3, 2, 1, 0, 4, 3, 2, 4, 1); in sosemanuk_setiv()
|
Completed in 5 milliseconds