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

Unified Diff: crypto/symmetric_key.h

Issue 7756025: Changed OAuth token+secret encryption to use supplemental user key. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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
« crypto/nss_util.cc ('K') | « crypto/nss_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/symmetric_key.h
===================================================================
--- crypto/symmetric_key.h (revision 99168)
+++ crypto/symmetric_key.h (working copy)
@@ -32,6 +32,10 @@
HMAC_SHA1,
};
+#if defined(OS_CHROMEOS)
+ explicit SymmetricKey(PK11SymKey* key);
wtc 2011/09/06 21:35:17 Maybe it's better to add an ImportPlatformKey or I
zel 2011/09/06 22:33:35 Added comment. I thought about that ImportNSSKey
+#endif
+
virtual ~SymmetricKey();
// Generates a random key suitable to be used with |algorithm| and of
@@ -76,7 +80,9 @@
SymmetricKey() {}
std::string key_;
#elif defined(USE_NSS)
+#if !defined(OS_CHROMEOS)
explicit SymmetricKey(PK11SymKey* key);
+#endif
ScopedPK11SymKey key_;
#elif defined(OS_MACOSX)
SymmetricKey(const void* key_data, size_t key_size_in_bits);
« crypto/nss_util.cc ('K') | « crypto/nss_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698