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

Unified Diff: crypto/hmac.h

Issue 6683060: Private API for extensions like ssh-client that need access to TCP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed changes to rand_util_unittest Created 9 years, 7 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 | « chrome/test/data/extensions/api_test/web_socket_proxy_private/manifest.json ('k') | crypto/hmac_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/hmac.h
diff --git a/crypto/hmac.h b/crypto/hmac.h
index 7852797b20dc71fc1d96672e44f4cc1b04f27c56..c0706d8ebcf17d337ec16a293547dacdab7e0039 100644
--- a/crypto/hmac.h
+++ b/crypto/hmac.h
@@ -51,7 +51,9 @@ class HMAC {
// to the constructor and the key supplied to the Init method. The HMAC is
// returned in |digest|, which has |digest_length| bytes of storage available.
// TODO(abarth): digest_length should be a size_t.
- bool Sign(const std::string& data, unsigned char* digest, int digest_length);
+ bool Sign(const std::string& data,
+ unsigned char* digest,
+ int digest_length) const;
// TODO(albertb): Add a Verify method.
« no previous file with comments | « chrome/test/data/extensions/api_test/web_socket_proxy_private/manifest.json ('k') | crypto/hmac_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698