Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/libtomcrypt/src/ciphers/twofish/
A Dtwofish.c344 unsigned char S[4*4], tmpx0, tmpx1; in s_twofish_setup() local
410 tmpx1 = (unsigned char)sbox(1, x); in s_twofish_setup()
412 skey->twofish.S[1][x] = mds_column_mult(sbox(0, (sbox(0, tmpx1 ^ S[1]) ^ S[5])),1); in s_twofish_setup()
414 skey->twofish.S[3][x] = mds_column_mult(sbox(0, (sbox(1, tmpx1 ^ S[3]) ^ S[7])),3); in s_twofish_setup()
419 tmpx1 = (unsigned char)sbox(1, x); in s_twofish_setup()
420 …skey->twofish.S[0][x] = mds_column_mult(sbox(1, (sbox(0, sbox(0, tmpx1 ^ S[0]) ^ S[4]) ^ S[8])),0); in s_twofish_setup()
421 …skey->twofish.S[1][x] = mds_column_mult(sbox(0, (sbox(0, sbox(1, tmpx1 ^ S[1]) ^ S[5]) ^ S[9])),1); in s_twofish_setup()
428 tmpx1 = (unsigned char)sbox(1, x); in s_twofish_setup()
429 …skey->twofish.S[0][x] = mds_column_mult(sbox(1, (sbox(0, sbox(0, sbox(1, tmpx1 ^ S[0]) ^ S[4]) ^ S… in s_twofish_setup()
432 …skey->twofish.S[3][x] = mds_column_mult(sbox(0, (sbox(1, sbox(1, sbox(0, tmpx1 ^ S[3]) ^ S[7]) ^ S… in s_twofish_setup()

Completed in 3 milliseconds