diff options
author | joth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-19 14:20:27 +0000 |
---|---|---|
committer | joth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-19 14:20:27 +0000 |
commit | f48fdae2c17fbaca9341f6fcdcd0d4b663310b12 (patch) | |
tree | c6a7728f88d2d521ad44dbcd50db8142753777c3 /base/crypto | |
parent | e6027f3b5a7d373f1f01025699275821e184b489 (diff) | |
download | chromium_src-f48fdae2c17fbaca9341f6fcdcd0d4b663310b12.zip chromium_src-f48fdae2c17fbaca9341f6fcdcd0d4b663310b12.tar.gz chromium_src-f48fdae2c17fbaca9341f6fcdcd0d4b663310b12.tar.bz2 |
Follow up comments on SymmetricKey::Import docs
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/5223001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66765 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/crypto')
-rw-r--r-- | base/crypto/symmetric_key.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/base/crypto/symmetric_key.h b/base/crypto/symmetric_key.h index 6ad0646..ce98fa6 100644 --- a/base/crypto/symmetric_key.h +++ b/base/crypto/symmetric_key.h @@ -49,10 +49,10 @@ class SymmetricKey { size_t iterations, size_t key_size_in_bits); - // Imports a raw key. For this call to be successful, |raw_key| must have been - // generated by either GenerateRandomKey or DeriveKeyFromPassword, and - // must have been exported with GetRawKey. The caller owns the returned - // SymmetricKey. + // Imports an array of key bytes in |raw_key|. This key may have been + // generated by GenerateRandomKey or DeriveKeyFromPassword and exported with + // GetRawKey, or via another compatible method. The key must be of suitable + // size for use with |algorithm|. The caller owns the returned SymmetricKey. static SymmetricKey* Import(Algorithm algorithm, const std::string& raw_key); #if defined(USE_OPENSSL) |