mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-24 18:25:10 +00:00
Revert "Make SHA256_update and SHA512_update if the passed in length is greater than UINT32_MAX"
Needed to unbreak the tegra build.
This reverts commit a01a62bf85.
R=gauravsh@chromium.org
BUG=
TEST=
Review URL: http://codereview.chromium.org/6731068
Change-Id: I096fde817c0e1cfa0c34f4f1dab986c7844c0714
This commit is contained in:
@@ -58,11 +58,11 @@ void SHA1_update(SHA1_CTX* ctx, const uint8_t* data, uint64_t len);
|
||||
uint8_t* SHA1_final(SHA1_CTX* ctx);
|
||||
|
||||
void SHA256_init(SHA256_CTX* ctx);
|
||||
void SHA256_update(SHA256_CTX* ctx, const uint8_t* data, uint32_t len);
|
||||
void SHA256_update(SHA256_CTX* ctx, const uint8_t* data, uint64_t len);
|
||||
uint8_t* SHA256_final(SHA256_CTX* ctx);
|
||||
|
||||
void SHA512_init(SHA512_CTX* ctx);
|
||||
void SHA512_update(SHA512_CTX* ctx, const uint8_t* data, uint32_t len);
|
||||
void SHA512_update(SHA512_CTX* ctx, const uint8_t* data, uint64_t len);
|
||||
uint8_t* SHA512_final(SHA512_CTX* ctx);
|
||||
|
||||
/* Convenience function for SHA-1. Computes hash on [data] of length [len].
|
||||
|
||||
Reference in New Issue
Block a user