An integrated circuit for the modular multiplication of two integers for a cryptographic method, the integrated circuit comprising:
- a processor configured to:
- represent two integers to be multiplied in Montgomery representation with a specified Montgomery representation parameter and a specified modulus, and
- calculate a result of a modular multiplication of the two integers to be multiplied in Montgomery representation iteratively from a least significant word to a most significant word,
- wherein, for a word calculated in an iteration, a product of the word and a specified factor is added to words of subsequent iterations,
- wherein the specified factor is given by a product of a negative inverse of a least significant word of the specified modulus and the specified modulus, without the least significant word of the product, plus one.