Home
last modified time | relevance | path

Searched refs:S7 (Results 1 – 3 of 3) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/src/ciphers/
A Dcast5.c295 static const ulong32 S7[256] = { variable
435 … 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 s_cast5_setup()
436 … 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 s_cast5_setup()
437 … 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 s_cast5_setup()
441 …skey->cast5.K[i++] = S5[GB(z, 0xC)] ^ S6[GB(z, 0xd)] ^ S7[GB(z, 0x3)] ^ S8[GB(z, 0x2)] ^ S7[GB(z, … in s_cast5_setup()
444 … x[3] = z[1] ^ S5[GB(z, 0x5)] ^ S6[GB(z, 0x7)] ^ S7[GB(z, 0x4)] ^ S8[GB(z, 0x6)] ^ S7[GB(z, 0x0)]; in s_cast5_setup()
450 …skey->cast5.K[i++] = S5[GB(x, 0x7)] ^ S6[GB(x, 0x6)] ^ S7[GB(x, 0x8)] ^ S8[GB(x, 0x9)] ^ S7[GB(x, … in s_cast5_setup()
454 … 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 s_cast5_setup()
460 …skey->cast5.K[i++] = S5[GB(z, 0x7)] ^ S6[GB(z, 0x6)] ^ S7[GB(z, 0x8)] ^ S8[GB(z, 0x9)] ^ S7[GB(z, … in s_cast5_setup()
463 … x[3] = z[1] ^ S5[GB(z, 0x5)] ^ S6[GB(z, 0x7)] ^ S7[GB(z, 0x4)] ^ S8[GB(z, 0x6)] ^ S7[GB(z, 0x0)]; in s_cast5_setup()
[all …]
A Dkasumi.c34 static const u16 S7[128] = { in FI() local
85 seven = (u16)(S7[seven] ^ (nine & 0x7F)); in FI()
89 seven = (u16)(S7[seven] ^ (nine & 0x7F)); in FI()
/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/sosemanuk/
A Dsosemanuk.c158 #define S7(r0, r1, r2, r3, r4) do { \ macro
226 #define SKS7 SKS(S7, 0, 1, 2, 3, 4, 3, 1, 0) in sosemanuk_setup()
396 FSS(28, S7, 0, 2, 3, 1, 4, 4, 1, 2, 0); in sosemanuk_setiv()
409 FSS(60, S7, 4, 2, 0, 1, 3, 3, 1, 2, 4); in sosemanuk_setiv()
422 FSF(92, S7, 3, 2, 4, 1, 0, 0, 1, 2, 3); in sosemanuk_setiv()

Completed in 6 milliseconds