| Index: crypto/sha2.h
|
| diff --git a/crypto/sha2.h b/crypto/sha2.h
|
| index 7e279d3e943837dfc72f15ca6bb55c339de529a3..a0addfb5f06a59c453507827d9a0dd08f4376062 100644
|
| --- a/crypto/sha2.h
|
| +++ b/crypto/sha2.h
|
| @@ -28,6 +28,13 @@ CRYPTO_EXPORT void SHA256HashString(const base::StringPiece& str,
|
| // string.
|
| CRYPTO_EXPORT std::string SHA256HashString(const base::StringPiece& str);
|
|
|
| +// Computes the SHA-256 hash of the |len| bytes in |data| and puts the hash
|
| +// in |hash|. |hash| must be out_len bytes long.
|
| +CRYPTO_EXPORT void SHA256HashBytes(const uint8_t* data,
|
| + size_t len,
|
| + void* output,
|
| + size_t out_len);
|
| +
|
| } // namespace crypto
|
|
|
| #endif // CRYPTO_SHA2_H_
|
|
|