Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(665)

Unified Diff: src/platform/vboot_reference/include/utility.h

Issue 650105: Vboot Reference: Add the "real" reference firmware verification function (VerifyFirmware). (Closed)
Patch Set: Review fixes. Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/platform/vboot_reference/include/utility.h
diff --git a/src/platform/vboot_reference/include/utility.h b/src/platform/vboot_reference/include/utility.h
index 87d17eaa42733fd1f9fd0a49c772cb086ee38764..36182632d3eedd23e1f189903f073a2f92aed0eb 100644
--- a/src/platform/vboot_reference/include/utility.h
+++ b/src/platform/vboot_reference/include/utility.h
@@ -27,8 +27,8 @@ void* Memcpy(void* dest, const void* src, size_t n);
/* Set [n] bytes starting at [s] to [c]. */
void* Memset(void *dest, const uint8_t c, size_t n);
-/* Compare [n] bytes starting at [s1] with [s2] and return 1 if they match,
- * 0 if they don't. Time taken to perform the comparison is only dependent on
+/* Compare [n] bytes starting at [s1] with [s2] and return 0 if they match,
+ * 1 if they don't. Time taken to perform the comparison is only dependent on
* [n] and not on the relationship of the match between [s1] and [s2].
*/
int SafeMemcmp(const void* s1, const void* s2, size_t n);
« no previous file with comments | « src/platform/vboot_reference/include/sha_utility.h ('k') | src/platform/vboot_reference/tests/firmware_image_tests.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698