CPC G06F 9/30032 (2013.01) [G06F 9/3001 (2013.01); G06F 9/30018 (2013.01); G06F 21/602 (2013.01); G06F 21/75 (2013.01)] | 19 Claims |
1. A circuit for the rotation-invariant execution of one or more operations with at least one operand, comprising:
a data input configured to receive a data word, the data word comprising at least one operand rotated by a number of bits given by a rotation parameter;
a first control input configured to receive the rotation parameter;
a second control input configured to receive an indication of an operation to be performed;
a first subcircuit configured to generate an operation- and rotation-dependent bit mask from the rotation parameter and the indication of the operation to be performed;
a second subcircuit configured to generate an operation result by processing the at least one operand as a function of the bit mask and the operation to be performed, wherein the operand and the operation result generated by the processing remain in the rotated state; and
a data output which is configured to output the operation result.
|