Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/ciphers/twofish/
A Dtwofish.c351 unsigned char S[4*4], tmpx0, tmpx1; in _twofish_setup() local
416 tmpx0 = (unsigned char)sbox(0, x); in _twofish_setup()
418 skey->twofish.S[0][x] = mds_column_mult(sbox(1, (sbox(0, tmpx0 ^ S[0]) ^ S[4])),0); in _twofish_setup()
420 skey->twofish.S[2][x] = mds_column_mult(sbox(1, (sbox(1, tmpx0 ^ S[2]) ^ S[6])),2); in _twofish_setup()
425 tmpx0 = (unsigned char)sbox(0, x); in _twofish_setup()
429 …skey->twofish.S[2][x] = mds_column_mult(sbox(1, (sbox(1, sbox(0, tmpx0 ^ S[2]) ^ S[6]) ^ S[10])),2… in _twofish_setup()
430 …skey->twofish.S[3][x] = mds_column_mult(sbox(0, (sbox(1, sbox(1, tmpx0 ^ S[3]) ^ S[7]) ^ S[11])),3… in _twofish_setup()
434 tmpx0 = (unsigned char)sbox(0, x); in _twofish_setup()
437 …skey->twofish.S[1][x] = mds_column_mult(sbox(0, (sbox(0, sbox(1, sbox(1, tmpx0 ^ S[1]) ^ S[5]) ^ S… in _twofish_setup()
438 …skey->twofish.S[2][x] = mds_column_mult(sbox(1, (sbox(1, sbox(0, sbox(0, tmpx0 ^ S[2]) ^ S[6]) ^ S… in _twofish_setup()

Completed in 3 milliseconds