IP Library Granted Patent US 8,117,251
Granted Patent B2
US 8,117,251 · App. 11/786,767 · Granted Feb 14, 2012

Computation of a multiplication operation with an electronic circuit and method

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,117,251
App. No.
11/786,767
Granted
Feb 14, 2012
Kind
B2
Abstract

A computing method and circuit for computing a modular operation with at least one operand having a binary representation. Iteratively for each bit of this operand, doubling the value of an intermediate result stored in a first memory element by shifting the bits of the intermediate result towards the most significant bit and, while the most significant bit of the intermediate result is one, updating this intermediate result by subtracting a modulus stored in a second memory element.

Claims (34)

1. A computing method performed by an electronic circuit for computing a modular reduction operation of at least one operand by a modulus, the method comprising:

in a subtraction circuit, generating a first intermediate result representing a first intermediate result initialized with a value representing two to the power of k reduced by the modulus, where k designates the number of bits representing the modulus;

generating a second intermediate result with the k lowest significant bits of said operand, at least comprising iteratively for each bit of said operand;

in an addition circuit, if the state of the current bit of said operand is one, updating the second intermediate result by adding in the first intermediate result;

in a shifting circuit, doubling the value of a first intermediate result by shifting the bits of the first intermediate result towards the most significant bit, where the most significant bit is the k+1th bit;

in the subtraction circuit, while the most significant bit of the first intermediate result is one, updating the first intermediate result by subtracting the modulus;

in the subtraction circuit, and while the most significant bit of the second intermediate result is one, updating the second intermediate result by subtracting the modulus; and

in the subtraction circuit, generating an output of the modular reduction operation by updating the second intermediate result by subtracting the modulus if the second intermediate result is greater than the modulus.

2. An integrated circuit having a modular operation comprising a computation core receiving a first value and a second value representing the modulus, and providing an updated first value, said core comprising:

the shifting circuit;

the subtraction circuit; and

a control unit to perform the iterative steps of the computation according to the method of claim 1 .

3. The circuit of claim 2 , integrated in a processing unit of cryptographic algorithms.

4. A Set Top Box comprising a circuit according to claim 2 .

5. A circuit, comprising:

a subtraction circuit configured to generate a first intermediate result initialized with a value representing two to the power of k reduced by a modulus, where k designates the number of bits representing the modulus, the subtraction circuit further configured to generate a second intermediate result with the k lowest significant bits of an operand, at least comprising iteratively for each bit of the operand;

an addition circuit configured to update the second intermediate result by adding in the first intermediate result if the state of the current bit of the operand is one;

a shifting circuit configured to double the value of a first intermediate result by shifting the bits of the first intermediate result towards the most significant bit, where the most significant bit is the k+1th bit;

such that the subtraction circuit, while the most significant bit of the first intermediate result is one, is configured to update the first intermediate result by subtracting the modulus, and while the most significant bit of the second intermediate result is one, configured to update the second intermediate result by subtracting the modulus;

the subtraction circuit further configured to generate an output of the modular reduction operation by updating the second intermediate result by subtracting the modulus if the second intermediate result is greater than the modulus; and

a control circuit coupled to the subtraction, addition, and shifting, circuits and operable to the control the operation of these circuits.

6. The circuit of claim 5 wherein the control circuit controls the subtraction, addition, and shifting, circuits to utilize the output to encrypt data words.

7. An electronic system, comprising;

electronic circuitry operable to perform a desired function; and

an encryption/decryption circuit coupled to the electronic circuitry, the encryption/decryption circuit including,

a subtraction circuit configured to generate a first intermediate result initialized with a value representing two to the power of k reduced by a modulus, where k designates the number of bits representing the modulus, the subtraction circuit further configured to generate a second intermediate result with the k lowest significant bits of an operand, at least comprising iteratively for each bit of the operand;

an addition circuit configured to update the second intermediate result by adding in the first intermediate result if the state of the current bit of the operand is one;

a shifting circuit configured to double the value of a first intermediate result by shifting the bits of the first intermediate result towards the most significant bit, where the most significant bit is the k+1th bit;

such that the subtraction circuit, while the most significant bit of the first intermediate result is one, is configured to update the first intermediate result by subtracting the modulus, and while the most significant bit of the second intermediate result is one, configured to update the second intermediate result by subtracting the modulus;

the subtraction circuit further configured to generate an output of the modular reduction operation by updating the second intermediate result by subtracting the modulus if the second intermediate result is greater than the modulus; and

a control circuit coupled to the subtraction, addition, and shifting, circuits and operable to the control the operation of these circuits.

8. The electronic system of claim 7 wherein the electronic circuitry comprises one of set top box, computer, portable audio player, and video player circuitry.

9. The method of claim 1 , further comprising updating the second intermediate result again by subtracting the modulus if the current value of the second intermediate result is greater than the value of the modulus.

10. The method of 1 wherein a control circuit controls the subtraction, addition, and shifting, circuits to utilize the output to decrypt data words.

Assignments (4)
RELEASE OF SECURITY INTEREST Recorded Jul 24, 2024
From: JPMORGAN CHASE BANK, N.A.
To: THE RELIABLE AUTOMATIC SPRINKLER CO. INC.
Reel/Frame 068654/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 21, 2024
From: THE RELIABLE AUTOMATIC SPRINKLER CO. INC.
To: JPMORGAN CHASE BANK, N.A.
Reel/Frame 067487/0665 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 31, 2016
From: STMICROELECTRONICS LIMITED
To: STMICROELECTRONICS (RESEARCH & DEVELOPMENT) LIMITED
Reel/Frame 038847/0890 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 18, 2007
From: BERTONI, GUIDO MARCO; FRAGNETO, PASQUALINA; MARSH, ANDREW RICHARD; PELOSI, GERARDO; RAVASIO, MORIS
To: STMICROELECTRONICS S.R.L.; STMICROELECTRONICS LIMITED
Reel/Frame 019642/0104 →