Patent ID: 8898213

Claim:
An apparatus, comprising: n exclusive OR (XOR) operators to receive a first input value and a second input value, and to generate an output value based on a selective XOR operation value that is obtained by performing a selective XOR operation on the first input value and the second input value, wherein n is an integer equal to or greater than 2; a first storage unit to store the first input value; and a second storage unit to store the second input value, wherein, if a Most Significant Bit (MSB) of the second input value is set to “1”, an XOR operation value obtained by performing an XOR operation on the first input value and the second input value is generated as a result of the selective XOR operation, wherein, if the MSB of the second input value is set to “0”, the second input value is generated as a result of the selective XOR operation, wherein a first input value of each of the n XOR operators is the first binary value, wherein a second input value of a first XOR operator from among the n XOR operators is the second binary value, and wherein a second input value of a k-th XOR operator among the n XOR operators is obtained by shifting an output of a selective XOR operation value generated by a (k−1)-th XOR operator by one bit to remove a first bit, wherein k is an integer equal to or greater than 2 and equal to or less than n.