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

Side by Side Diff: chrome/browser/chromeos/login/easy_unlock/easy_unlock_types.cc

Issue 2863533003: [EasyUnlock] Serialize and store BeaconSeeds along as cryptohome key metadata. (Closed)
Patch Set: comments Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/login/easy_unlock/easy_unlock_types.h" 5 #include "chrome/browser/chromeos/login/easy_unlock/easy_unlock_types.h"
6 6
7 namespace chromeos { 7 namespace chromeos {
8 8
9 const char kEasyUnlockKeyMetaNameBluetoothAddress[] = "eu.btaddr"; 9 const char kEasyUnlockKeyMetaNameBluetoothAddress[] = "eu.btaddr";
10 const char kEasyUnlockKeyMetaNameBluetoothType[] = "eu.bttype"; 10 const char kEasyUnlockKeyMetaNameBluetoothType[] = "eu.bttype";
11 const char kEasyUnlockKeyMetaNamePsk[] = "eu.psk"; 11 const char kEasyUnlockKeyMetaNamePsk[] = "eu.psk";
12 const char kEasyUnlockKeyMetaNamePubKey[] = "eu.pubkey"; 12 const char kEasyUnlockKeyMetaNamePubKey[] = "eu.pubkey";
13 const char kEasyUnlockKeyMetaNameChallenge[] = "eu.C"; 13 const char kEasyUnlockKeyMetaNameChallenge[] = "eu.C";
14 const char kEasyUnlockKeyMetaNameWrappedSecret[] = "eu.WUK"; 14 const char kEasyUnlockKeyMetaNameWrappedSecret[] = "eu.WUK";
15 const char kEasyUnlockKeyMetaNameSerializedBeaconSeeds[] = "eu.BS";
15 16
16 EasyUnlockDeviceKeyData::EasyUnlockDeviceKeyData() 17 EasyUnlockDeviceKeyData::EasyUnlockDeviceKeyData()
17 : bluetooth_type(BLUETOOTH_CLASSIC) {} 18 : bluetooth_type(BLUETOOTH_CLASSIC) {}
18 19
19 EasyUnlockDeviceKeyData::EasyUnlockDeviceKeyData( 20 EasyUnlockDeviceKeyData::EasyUnlockDeviceKeyData(
20 const EasyUnlockDeviceKeyData& other) = default; 21 const EasyUnlockDeviceKeyData& other) = default;
21 22
22 EasyUnlockDeviceKeyData::~EasyUnlockDeviceKeyData() { 23 EasyUnlockDeviceKeyData::~EasyUnlockDeviceKeyData() {
23 } 24 }
24 25
25 } // namespace chromeos 26 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/easy_unlock/easy_unlock_types.h ('k') | chrome/browser/signin/chrome_proximity_auth_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698