Home
last modified time | relevance | path

Searched refs:S5 (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/ciphers/
A Dcast5.c212 static const ulong32 S5[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()
444 … z[1] = x[0] ^ S5[GB(z, 0x7)] ^ S6[GB(z, 0x6)] ^ S7[GB(z, 0x5)] ^ S8[GB(z, 0x4)] ^ S5[GB(x, 0x9)]; in _cast5_setup()
446 …skey->cast5.K[i++] = S5[GB(z, 0x8)] ^ S6[GB(z, 0x9)] ^ S7[GB(z, 0x7)] ^ S8[GB(z, 0x6)] ^ S5[GB(z, … in _cast5_setup()
453 … x[1] = z[2] ^ S5[GB(x, 0x7)] ^ S6[GB(x, 0x6)] ^ S7[GB(x, 0x5)] ^ S8[GB(x, 0x4)] ^ S5[GB(z, 0x1)]; in _cast5_setup()
455 …skey->cast5.K[i++] = S5[GB(x, 0x3)] ^ S6[GB(x, 0x2)] ^ S7[GB(x, 0xc)] ^ S8[GB(x, 0xd)] ^ S5[GB(x, … in _cast5_setup()
463 … z[1] = x[0] ^ S5[GB(z, 0x7)] ^ S6[GB(z, 0x6)] ^ S7[GB(z, 0x5)] ^ S8[GB(z, 0x4)] ^ S5[GB(x, 0x9)]; in _cast5_setup()
465 …skey->cast5.K[i++] = S5[GB(z, 0x3)] ^ S6[GB(z, 0x2)] ^ S7[GB(z, 0xc)] ^ S8[GB(z, 0xd)] ^ S5[GB(z, … in _cast5_setup()
472 … x[1] = z[2] ^ S5[GB(x, 0x7)] ^ S6[GB(x, 0x6)] ^ S7[GB(x, 0x5)] ^ S8[GB(x, 0x4)] ^ S5[GB(z, 0x1)]; in _cast5_setup()
[all …]
/optee_os/core/lib/libtomcrypt/src/stream/sosemanuk/
A Dsosemanuk.c139 #define S5(r0, r1, r2, r3, r4) do { \ macro
231 #define SKS5 SKS(S5, 0, 1, 2, 3, 1, 3, 0, 2) in sosemanuk_setup()
401 FSS(20, S5, 1, 0, 4, 2, 3, 0, 2, 1, 4); in sosemanuk_setiv()
414 FSS(52, S5, 1, 4, 3, 2, 0, 4, 2, 1, 3); in sosemanuk_setiv()
427 FSS(84, S5, 1, 3, 0, 2, 4, 3, 2, 1, 0); in sosemanuk_setiv()

Completed in 5 milliseconds