Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Commit

Permalink
updating documentation to cover CTR-PRNG
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-morrison committed Feb 20, 2016
1 parent d4c2878 commit 7b12e20
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions documentation/tinycrypt.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ corresponding header file.

* HMAC-PRNG:

* Type of primitive: Pseudo-random number generator.
* Type of primitive: Pseudo-random number generator (256-bit strength).
* Standard Specification: NIST SP 800-90A.
* Requires: SHA-256 and HMAC-SHA256.

Expand Down Expand Up @@ -65,6 +65,12 @@ corresponding header file.
* Standard Specification: NIST SP 800-38C.
* Requires: AES-128.

* CTR-PRNG:

* Type of primitive: Pseudo-random number generator (128-bit strength).
* Standard Specification: NIST SP 800-90A.
* Requires: AES-128.

* ECC-DH:

* Type of primitive: Key exchange.
Expand Down Expand Up @@ -151,6 +157,13 @@ Specific Remarks
* The AES-CTR mode limits the size of a data message they encrypt to 2^32
blocks. If you need to encrypt larger data sets, your application would
need to replace the key after 2^32 block encryptions.

* CTR-PRNG:

* Before using CTR-PRNG, you *must* find an entropy source to produce a seed.
PRNGs only stretch the seed into a seemingly random output of arbitrary
length. The security of the output is exactly equal to the
unpredictability of the seed.

* CBC mode:

Expand Down Expand Up @@ -243,7 +256,7 @@ of cryptography usages:

* Construct random mappings (HMAC-SHA256);

* Construct nonces and challenges (HMAC-PRNG);
* Construct nonces and challenges (HMAC-PRNG, CTR-PRNG);

* Authenticate using a shared secret (HMAC-SHA256);

Expand Down

0 comments on commit 7b12e20

Please sign in to comment.