Roll BoringSSL.
[chromium-blink-merge.git] / chromeos / cryptohome / cryptohome_parameters.cc
blob9444ee4e3079887a40cdbff72934ec8cdf6aec74
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
3 // found in the LICENSE file.
5 #include "chromeos/cryptohome/cryptohome_parameters.h"
7 namespace cryptohome {
9 Authorization::Authorization(const std::string& key, const std::string& label)
10 : key(key), label(label) {}
12 Authorization::Authorization(const KeyDefinition& key_def)
13 : key(key_def.key), label(key_def.label) {}
15 MountParameters::MountParameters(bool ephemeral) : ephemeral(ephemeral) {}
17 MountParameters::~MountParameters() {}
19 KeyDefinition::KeyDefinition(const std::string& key,
20 const std::string& label,
21 int /*AuthKeyPrivileges*/ privileges)
22 : label(label), revision(1), key(key), privileges(privileges) {}
24 KeyDefinition::~KeyDefinition() {}
26 } // namespace cryptohome