diff options
author | Nicolas Boichat <drinkcat@chromium.org> | 2018-07-10 14:33:47 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-07-17 21:52:48 -0700 |
commit | 3fd4c5d13890da44caa59abc85e05c980bcc3ec1 (patch) | |
tree | f3b92524d317a953d9caf8d3c43c661cf4960907 | |
parent | 987ad5eaed2201c41820aa7f81333e1733a124a0 (diff) | |
download | chrome-ec-3fd4c5d13890da44caa59abc85e05c980bcc3ec1.tar.gz |
include/config.h: Clarify intent of local entropy
Clarify the meaning of defining:
CONFIG_ROLLBACK_SECRET_LOCAL_ENTROPY_SIZE
This is only meant to add a little bit of extra entropy, when the
hardware lacks a random number generator (otherwise, the strong
entropy can be directly added to the secret, using
rollback_add_entropy).
BRANCH=none
BUG=b:111190988
TEST=none
Change-Id: Ife77f65ccdf8c36c8143b8d0a68526ad3c773c90
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1132825
Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r-- | include/config.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index debb9686e0..8b3f85759a 100644 --- a/include/config.h +++ b/include/config.h @@ -1481,6 +1481,10 @@ * If defined, inject some locally generated entropy when secret is updated, * using board_get_entropy function. * Large values may take a long time to generate. + * + * This is only meant to add a little bit of extra entropy, when the hardware + * lacks a random number generator (otherwise, the strong entropy can be + * directly added to the secret, using rollback_add_entropy). */ #undef CONFIG_ROLLBACK_SECRET_LOCAL_ENTROPY_SIZE |