summaryrefslogtreecommitdiff
path: root/chip
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2021-11-17 12:32:47 -0600
committerCommit Bot <commit-bot@chromium.org>2021-11-19 20:15:40 +0000
commit69825c3b1d57dd1c46723c8f69a80e24d70136e6 (patch)
tree738f1be10ce5a79229ba60fe8a7ec0cd112203dc /chip
parent22bef7dfb1421dcc0e70bbddeafde76efa2748e4 (diff)
downloadchrome-ec-69825c3b1d57dd1c46723c8f69a80e24d70136e6.tar.gz
coil: replace non-inclusive terms with "validity"
BUG=b:173227629 TEST=make buildall -j Change-Id: Iaf8028984cc58cc4108907fdba4ea4b38c43cf70 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3293250 Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Diffstat (limited to 'chip')
-rw-r--r--chip/g/dcrypto/hmac_drbg.c2
-rw-r--r--chip/g/loader/launch.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/chip/g/dcrypto/hmac_drbg.c b/chip/g/dcrypto/hmac_drbg.c
index 2ca20e03ff..4c69a4a0a0 100644
--- a/chip/g/dcrypto/hmac_drbg.c
+++ b/chip/g/dcrypto/hmac_drbg.c
@@ -337,7 +337,7 @@ static int cmd_hmac_drbg(int argc, char **argv)
DECLARE_SAFE_CONSOLE_COMMAND(hmac_drbg, cmd_hmac_drbg, NULL, NULL);
/*
- * Sanity check to exercise random initialization.
+ * Validity check to exercise random initialization.
*/
static int cmd_hmac_drbg_rand(int argc, char **argv)
{
diff --git a/chip/g/loader/launch.c b/chip/g/loader/launch.c
index 077961fc67..7193f0f6b2 100644
--- a/chip/g/loader/launch.c
+++ b/chip/g/loader/launch.c
@@ -47,13 +47,13 @@ void tryLaunch(uint32_t adr, size_t max_size)
memset(&hashes, 0, sizeof(hashes));
- /* Sanity check image header. */
+ /* Validity check image header. */
if (hdr->magic != -1)
return;
if (hdr->image_size > max_size)
return;
- /* Sanity checks that image belongs at adr. */
+ /* Validity checks that image belongs at adr. */
if (hdr->ro_base < adr)
return;
if (hdr->ro_max > adr + max_size)