Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/ciphers/twofish/
H A Dtwofish.c272 #define S1 skey->twofish.S[0]
273 #define S2 skey->twofish.S[1]
274 #define S3 skey->twofish.S[2]
275 #define S4 skey->twofish.S[3]
295 z = key->twofish.start; in s_g_func()
305 g = g ^ key->twofish.S[4*i++ + y]; in s_g_func()
377 rs_mult(M+(x*8), skey->twofish.S+(x*4)); in s_twofish_setup()
399 skey->twofish.K[x+x] = (A + B) & 0xFFFFFFFFUL; in s_twofish_setup()
402 skey->twofish.K[x+x+1] = ROLc(B + B + A, 9); in s_twofish_setup()
411 skey->twofish.S[0][x] = mds_column_mult(sbox(1, (sbox(0, tmpx0 ^ S[0]) ^ S[4])),0); in s_twofish_setup()
[all …]
/optee_os/core/lib/libtomcrypt/src/headers/
H A Dtomcrypt_cipher.h188 struct twofish_key twofish; member