commit | c28986ee4a9bcd79297e5f96178c908627e8f395 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Mon Jun 06 22:00:11 2011 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Mon Jun 06 22:00:11 2011 |
tree | da00b64efae510c655ccc4fd285e1d778d645df8 | |
parent | 083072ff2d098c5bed10032f240655e372e125f1 [diff] |
Change HMAC::Sign() to take base::StringPiece instead of string. Do this to avoid memory copying when signning data in char*. base::StringPiece nicely handles both cases. BUG=None TEST=crypto_unittests Review URL: http://codereview.chromium.org/7033035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88049 0039d316-1c4b-4281-b951-d872f2087c98