IP Library Granted Patent US 8,787,564
Granted Patent B2
US 8,787,564 · App. 13/307,078 · Granted Jul 22, 2014

Assessing cryptographic entropy

Inventor: Daniel Richard L. Brown (Mississauga, CA)
Assignee: Certicom Corp.
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,787,564
App. No.
13/307,078
Granted
Jul 22, 2014
Kind
B2
Abstract

Systems, methods, software, and combinations thereof for evaluating entropy in a cryptography system are described. In some aspects, sample values are produced by an entropy source system. A typicality can be determined for each of the sample values. A grading is determined for preselected distributions based on the typicalities of the sample values. A subset of the preselected distributions are selected based on the gradings. An entropy of the entropy source system is calculated based on the subset of the plurality of distributions.

Claims (141)

1. A method for assessing entropy in a cryptography system, the method comprising:

obtaining a sample value produced by an entropy source system;

determining a typicality grading for each of a preselected plurality of probability distributions, the typicality gradings providing a comparison among the plurality of probability distributions, the typicality grading for each individual probability distribution being determined based on the cumulative probability of values that are, according to that individual probability distribution, less probable than the sample value;

wherein the typicality grading g k (x,p) for each individual probability distribution is determined according to:

g

k

(

x

,

p

)

=

(

y

:

P

p

(

y

)

<

P

p

(

x

)

P

p

(

y

)

)

+

k

(

y

:

P

p

(

y

)

=

P

p

(

x

)

P

p

(

y

)

)

,

where k ε [0,1] represents an inclusivity level between zero and one inclusive, P p (x) represents the probability of the sample value x according to the individual probability distribution p, and y: P p (y) <P p (x) represents the values that are less probable than the sample value;

selecting a subset of the plurality of probability distributions based on the typicality gradings; and

calculating an entropy of the entropy source system based on the subset of the plurality of probability distributions.

2. The method of claim 1 , wherein determining the typicality grading for an individual probability distribution comprises determining a typicality of the sample value for that individual probability distribution.

3. The method of claim 2 , wherein the typicality of the sample value indicates a probability that a randomly-selected value from the entropy source system is at most as probable as the sample value.

4. The method of claim 1 , further comprising:

determining whether the entropy source system has adequate entropy to achieve a specified security level in the cryptography system; and

modifying the entropy source system based on a determination that the entropy source system has inadequate entropy.

5. The method of claim 1 , further comprising:

seeding a pseudorandom number generator based on a sample value produced by the entropy source system; and

obtaining a cryptographic secret based on an output of the seeded pseudorandom number generator.

6. The method of claim 1 , comprising:

determining, based on the sample value, a typicality and a likelihood for each of the preselected plurality of probability distributions; and

computing the typicality gradings based on the typicalities and likelihoods.

7. The method of claim 1 , wherein selecting a subset of the plurality of probability distributions based on the typicality gradings includes at least one of:

selecting one or more probability distributions having a maximum typicality grading; or

selecting one or more probability distributions having a typicality grading above a specified threshold typicality grading.

8. The method of claim 1 , wherein calculating the entropy includes:

identifying side channel information and computational resources available to an adversary;

determining, for each probability distribution in the subset of probability distributions, a logarithm of a maximal probability of the adversary guessing the cryptographic secret using the side channel information and the resources available to the adversary; and

identifying as the entropy the minimal value of the logarithm determined for the subset of probability distributions.

9. A method for assessing entropy in a cryptography system, the method comprising:

obtaining a sample value produced by an entropy source system;

determining a typicality grading for each of a preselected plurality of probability distributions, the typicality gradings providing a comparison among the plurality of probability distributions, the typicality grading for each individual probability distribution being determined based on the cumulative probability of values that are, according to that individual probability distribution, less probable than the sample value;

wherein the cumulative probability of values that are less probable than the sample value comprises the sum:

(

y

:

P

p

(

y

)

<

P

p

(

x

)

P

p

(

y

)

)

,

where P p (x) represents the probability of the sample value x according to the individual probability distribution p, and y: P p (y) <P p (x) represents the values that are less probable than the sample value;

selecting a subset of the plurality of probability distributions based on the typicality gradings; and

calculating an entropy of the entropy source system based on the subset of the plurality of probability distributions.

10. The method of claim 9 , wherein determining the typicality grading for an individual probability distribution comprises determining a typicality of the sample value for that individual probability distribution.

11. The method of claim 10 , wherein the typicality of the sample value indicates a probability that a randomly-selected value from the entropy source system is at most as probable as the sample value.

12. The method of claim 9 , further comprising:

determining whether the entropy source system has adequate entropy to achieve a specified security level in the cryptography system; and

modifying the entropy source system based on a determination that the entropy source system has inadequate entropy.

13. The method of claim 9 , further comprising:

seeding a pseudorandom number generator based on a sample value produced by the entropy source system; and

obtaining a cryptographic secret based on an output of the seeded pseudorandom number generator.

14. The method of claim 9 , comprising;

determining, based on the sample value, a typicality and a likelihood for each of the preselected plurality of probability distributions; and

computing the typicality gradings based on the typicalities and likelihoods.

15. The method of claim 9 , wherein selecting a subset of the plurality of probability distributions based on the typicality gradings includes at least one of:

selecting one or more probability distributions having a maximum typicality grading; or

selecting one or more probability distributions having a typicality grading above a specified threshold typicality grading.

16. The method of claim 9 , wherein calculating the entropy includes:

identifying side channel information and computational resources available to an adversary;

determining, for each probability distribution in the subset of probability distributions, a logarithm of a maximal probability of the adversary guessing the cryptographic secret using the side channel information and the resources available to the adversary; and

identifying as the entropy the minimal value of the logarithm determined for the subset of probability distributions.

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 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 →
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 →
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 Feb 21, 2012
From: BROWN, DANIEL RICHARD L.
To: CERTICOM CORP.
Reel/Frame 027737/0028 →
Continuity (1)
Related Publication 20130136255A1 · May 30, 2013