IP Library Granted Patent US 10,355,859
Granted Patent B2
US 10,355,859 · App. 15/470,259 · Granted Jul 16, 2019

Method and system for selecting a secure prime for finite field diffie-hellman

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 10,355,859
App. No.
15/470,259
Granted
Jul 16, 2019
Kind
B2
Abstract

A method for a Diffie Hellman key exchange, the method including selecting a field size p in the form p=hq+1, where q is a prime number that is one plus a factorial number b, such that q=(b!+1), and h is a cofactor, such that p=hq+1 is prime; selecting a generator integer g whose order modulo p is the prime q or is divisible by q; choosing a private key x; computing a public key g x mod p by raising said generator g to the power of said private key x, using arithmetic modulo said prime field size p; sending said public key g x mod p to a correspondent; receiving, from the correspondent, a second public key B comprising g raised to a second private key y selected by the correspondent, in the form g y ; and creating a key B x from the received second public key B, by raising said second public key B to the power of said private key x, using arithmetic modulo said prime field size p.

Claims (39)

1. A method for a Diffie Hellman key exchange, the method comprising:

selecting a field size p in the form p=hq+1, where q is a prime number that is one plus a factorial number b, such that q=(b!+1), and h is a cofactor, such that p=hq+1 is prime;

selecting a generator integer g whose order modulo p is the prime q or is divisible by q;

choosing a private key x;

computing a public key gx mod p by raising said generator g to the power of said private key x, using arithmetic modulo said prime field size p;

sending said public key gx mod p to a correspondent;

receiving, from the correspondent, a second public key B comprising g raised to a second private key y selected by the correspondent, in the form gy;

creating a key Bx from the received second public key B, by raising said second public key B to the power of said private key x, using arithmetic modulo said prime field size p; and

using the key Bx for secure electronic communications with the correspondent.

2. The method of claim 1 , wherein b is chosen so the prime order exceeds a minimal threshold size.

3. The method of claim 2 , wherein the minimal threshold size is 3000 bits.

4. The method of claim 3 , wherein b is selected to be 427.

5. The method of claim 4 , Wherein h is selected to be a 630, resulting in p=630(427!+1)+1.

6. The method of claim 3 , wherein b is selected to be 872.

7. The method of claim 6 , wherein h is selected to be 1398, resulting in p=1398(872!+1)+1.

8. A computing device configured for a Diffie Hellman key exchange, the computing device comprising a processor configured to:

select a field size p in the form p=hq +1, where q is a prime number that is one plus a factorial number b, such that q=(b!+1), and h is a cofactor, such that p=hq +1 is prime;

select a generator integer g whose order modulo p is the prime q or is divisible by q;

choose a private key x;

compute a public key gx mod p by raising said generator g to the power of said private key x, using arithmetic modulo said prime field size p;

send said public key gx mod p to a correspondent;

receive, from the correspondent, a second public key B comprising g raised to a second private key y selected by the correspondent, in the form gy;

create a key Bx from the received second public key B, by raising said second public key B to the power of said private key x, using arithmetic modulo said prime field size p; and

using the key Bx for secure electronic communications with the correspondent.

9. The computing device of claim 8 , wherein b is chosen so the prime order exceeds a minimal threshold size.

10. The computing device of claim 9 , wherein the minimal threshold size is 3000 bits.

11. The computing device of claim 10 , wherein b is selected to be 427.

12. The computing device of claim 11 , wherein h is selected to be a 630, resulting in p=630(427!+1)+1.

13. The computing device of claim 10 , wherein b is selected to be 872.

14. The computing device of claim 13 , wherein h is selected to be 1398, resulting in p=1398(872!+1)+1.

15. A computer readable medium comprising program code, that when executed by a processor of a computing device is configured for a Diffie Hellman key exchange, the program code causing the computing device to:

select a field size p in the form p=hq+1, where q is a prime number that is one plus a factorial number b, such that q =(b!+1), and h is a cofactor, such that p=hq+1 is prime;

select a generator integer g Whose order modulo p is the prime q or is divisible by q;

choose a private key x;

compute a public key gx mod p by raising said generator g to the power of said private key x, using arithmetic modulo said prime field size p;

send said public key gx mod p to a correspondent;

receive, from the correspondent, a second public key B comprising g raised to a second private key y selected by the correspondent, in the form gy;

create a key Bx from the received second public key B, by raising said second public key B to the power of said private key x, using arithmetic modulo said prime field size p; and

using the key Bx for secure electronic communications with the correspondent.

Assignments (8)
CORRECTIVE ASSIGNMENT TO CORRECT THE ADDED PATENT NUMBER TO REMOVE PATENT NO. 8,873,407 AT PREVIOUSLY RECORDED ON REEL 64066 FRAME 1. ASSIGNOR(S) HEREBY CONFIRMS THE NUNC PRO TUNC ASSIGNMENT EFFECTIVE DATE MARCH 20, 2023. Recorded Feb 2, 2026
From: BLACKBERRY LIMITED
To: MALIKIE INNOVATIONS LIMITED
Reel/Frame 074921/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT 12817157 APPLICATION NUMBER PREVIOUSLY RECORDED AT REEL: 064015 FRAME: 0001. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Sep 5, 2023
From: OT PATENT ESCROW, LLC
To: MALIKIE INNOVATIONS LIMITED
Reel/Frame 064807/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE COVER SHEET AT PAGE 50 TO REMOVE 12817157 PREVIOUSLY RECORDED ON REEL 063471 FRAME 0474. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Sep 5, 2023
From: BLACKBERRY LIMITED
To: OT PATENT ESCROW, LLC
Reel/Frame 064806/0669 →
NUNC PRO TUNC ASSIGNMENT Recorded Jun 19, 2023
From: BLACKBERRY LIMITED
To: MALIKIE INNOVATIONS LIMITED
Reel/Frame 064066/0001 →
NUNC PRO TUNC ASSIGNMENT Recorded Jun 16, 2023
From: OT PATENT ESCROW, LLC
To: MALIKIE INNOVATIONS LIMITED
Reel/Frame 064015/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 27, 2023
From: BLACKBERRY LIMITED
To: OT PATENT ESCROW, LLC
Reel/Frame 063471/0474 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 2, 2019
From: CERTICOM CORP.
To: BLACKBERRY LIMITED
Reel/Frame 050610/0937 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 27, 2017
From: BROWN, DANIEL RICHARD L.
To: CERTICOM CORP.
Reel/Frame 041753/0851 →