get output from linear function f x . concode_field_sep int output concode_elem_sep int index concode_elem_sep byte[] workingIV concode_elem_sep int[] nfsr concode_elem_sep byte[] workingKey concode_elem_sep boolean initialised concode_elem_sep int STATE_SIZE concode_elem_sep int[] lfsr concode_elem_sep byte[] out concode_field_sep void init concode_elem_sep int getOutputNFSR concode_elem_sep byte getKeyStream concode_elem_sep String getAlgorithmName concode_elem_sep byte returnByte concode_elem_sep void processBytes concode_elem_sep int[] shift concode_elem_sep void oneRound concode_elem_sep void reset concode_elem_sep void initGrain concode_elem_sep int getOutput concode_elem_sep void setKey
int function ( ) { int loc0 = lfsr [ 0 ] ; int loc1 = lfsr [ 0 ] >>> 13 | lfsr [ 1 ] << 3 ; int loc2 = lfsr [ 1 ] >>> 7 | lfsr [ 2 ] << 9 ; int loc3 = lfsr [ 2 ] >>> 6 | lfsr [ 3 ] << 10 ; int loc4 = lfsr [ 3 ] >>> 3 | lfsr [ 4 ] << 13 ; int loc5 = lfsr [ 3 ] >>> 14 | lfsr [ 4 ] << 2 ; return ( loc0 ^ loc1 ^ loc2 ^ loc3 ^ loc4 ^ loc5 ) & 0x0000FFFF ; }