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

Unified Diff: components/gcm_driver/crypto/gcm_encryption_provider.cc

Issue 2621103002: Remove GCMMessageCryptographer::Label (Closed)
Patch Set: Remove GCMMessageCryptographer::Label Created 3 years, 11 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
Index: components/gcm_driver/crypto/gcm_encryption_provider.cc
diff --git a/components/gcm_driver/crypto/gcm_encryption_provider.cc b/components/gcm_driver/crypto/gcm_encryption_provider.cc
index fb3fd9aea43668da2fd758e5c27babafd165a181..fa46cbae72e2111b6302e66f7a7a544efd7e2b1d 100644
--- a/components/gcm_driver/crypto/gcm_encryption_provider.cc
+++ b/components/gcm_driver/crypto/gcm_encryption_provider.cc
@@ -247,8 +247,7 @@ void GCMEncryptionProvider::DecryptMessageWithKey(
std::string plaintext;
- GCMMessageCryptographer cryptographer(GCMMessageCryptographer::Label::P256,
- pair.public_key(), dh, auth_secret);
+ GCMMessageCryptographer cryptographer(pair.public_key(), dh, auth_secret);
if (!cryptographer.Decrypt(message.raw_data, shared_secret, salt, rs,
&plaintext)) {
DLOG(ERROR) << "Unable to decrypt the incoming data.";

Powered by Google App Engine
This is Rietveld 408576698