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

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

Issue 572025: Make SHA* function prototypes consistent. (Closed)
Patch Set: Created 10 years, 11 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
« no previous file with comments | « src/platform/vboot_reference/crypto/sha1.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/vboot_reference/include/sha.h
diff --git a/src/platform/vboot_reference/include/sha.h b/src/platform/vboot_reference/include/sha.h
index d9466c8348c3ee290e8ee59b354f04669dc36edc..9953f8dca12c72116d953f66feaf7f98ef983a34 100644
--- a/src/platform/vboot_reference/include/sha.h
+++ b/src/platform/vboot_reference/include/sha.h
@@ -66,7 +66,7 @@ uint8_t* SHA512_final(SHA512_CTX* ctx);
* and stores it into [digest]. [digest] should be pre-allocated to
* SHA1_DIGEST_SIZE bytes.
*/
-uint8_t* SHA1(const void* data, int len, uint8_t* digest);
+uint8_t* SHA1(const uint8_t* data, int len, uint8_t* digest);
/* Convenience function for SHA-256. Computes hash on [data] of length [len].
* and stores it into [digest]. [digest] should be pre-allocated to
« no previous file with comments | « src/platform/vboot_reference/crypto/sha1.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698