Searched refs:tmpx1 (Results 1 – 1 of 1) sorted by relevance
/optee_os/core/lib/libtomcrypt/src/ciphers/twofish/ |
A D | twofish.c | 351 unsigned char S[4*4], tmpx0, tmpx1; in _twofish_setup() local 417 tmpx1 = (unsigned char)sbox(1, x); in _twofish_setup() 419 skey->twofish.S[1][x] = mds_column_mult(sbox(0, (sbox(0, tmpx1 ^ S[1]) ^ S[5])),1); in _twofish_setup() 421 skey->twofish.S[3][x] = mds_column_mult(sbox(0, (sbox(1, tmpx1 ^ S[3]) ^ S[7])),3); in _twofish_setup() 426 tmpx1 = (unsigned char)sbox(1, x); in _twofish_setup() 427 …skey->twofish.S[0][x] = mds_column_mult(sbox(1, (sbox(0, sbox(0, tmpx1 ^ S[0]) ^ S[4]) ^ S[8])),0); in _twofish_setup() 428 …skey->twofish.S[1][x] = mds_column_mult(sbox(0, (sbox(0, sbox(1, tmpx1 ^ S[1]) ^ S[5]) ^ S[9])),1); in _twofish_setup() 435 tmpx1 = (unsigned char)sbox(1, x); in _twofish_setup() 436 …skey->twofish.S[0][x] = mds_column_mult(sbox(1, (sbox(0, sbox(0, sbox(1, tmpx1 ^ S[0]) ^ S[4]) ^ S… in _twofish_setup() 439 …skey->twofish.S[3][x] = mds_column_mult(sbox(0, (sbox(1, sbox(1, sbox(0, tmpx1 ^ S[3]) ^ S[7]) ^ S… in _twofish_setup()
|
Completed in 3 milliseconds