Searched refs:FI (Results 1 – 2 of 2) sorted by relevance
/optee_os/core/lib/libtomcrypt/src/ciphers/ |
A D | cast5.c | 551 L ^= FI(R, skey->cast5.K[0], skey->cast5.K[16]); in _cast5_ecb_encrypt() 554 R ^= FI(L, skey->cast5.K[3], skey->cast5.K[19]); in _cast5_ecb_encrypt() 557 L ^= FI(R, skey->cast5.K[6], skey->cast5.K[22]); in _cast5_ecb_encrypt() 560 R ^= FI(L, skey->cast5.K[9], skey->cast5.K[25]); in _cast5_ecb_encrypt() 564 L ^= FI(R, skey->cast5.K[12], skey->cast5.K[28]); in _cast5_ecb_encrypt() 567 R ^= FI(L, skey->cast5.K[15], skey->cast5.K[31]); in _cast5_ecb_encrypt() 605 R ^= FI(L, skey->cast5.K[15], skey->cast5.K[31]); in _cast5_ecb_decrypt() 612 R ^= FI(L, skey->cast5.K[9], skey->cast5.K[25]); in _cast5_ecb_decrypt() 615 L ^= FI(R, skey->cast5.K[6], skey->cast5.K[22]); in _cast5_ecb_decrypt() 618 R ^= FI(L, skey->cast5.K[3], skey->cast5.K[19]); in _cast5_ecb_decrypt() [all …]
|
A D | kasumi.c | 38 static u16 FI( u16 in, u16 subkey ) in FI() function 110 left = FI( left, key->kasumi.KIi1[round_no] ); in FO() 114 right = FI( right, key->kasumi.KIi2[round_no] ); in FO() 118 left = FI( left, key->kasumi.KIi3[round_no] ); in FO()
|
Completed in 4 milliseconds