DescriptionChange 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
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88049
Patch Set 1 #Patch Set 2 : done #Patch Set 3 : fix it #
Total comments: 1
Messages
Total messages: 2 (0 generated)
|