OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 package cryptohome; | 5 package cryptohome; |
6 | 6 |
7 message SerializedVaultKeyset { | 7 message SerializedVaultKeyset { |
8 enum Flags { | 8 enum Flags { |
9 NONE = 0; | 9 NONE = 0; |
10 TPM_WRAPPED = 1; | 10 TPM_WRAPPED = 1; |
11 SCRYPT_WRAPPED = 2; | 11 SCRYPT_WRAPPED = 2; |
12 } | 12 } |
13 required int32 flags = 1; | 13 required int32 flags = 1; |
14 required bytes salt = 2; | 14 required bytes salt = 2; |
15 required bytes wrapped_keyset = 3; | 15 required bytes wrapped_keyset = 3; |
16 optional bytes tpm_key = 4; | 16 optional bytes tpm_key = 4; |
17 optional bytes tpm_public_key_hash = 5; | 17 optional bytes tpm_public_key_hash = 5; |
18 optional int32 password_rounds = 6; | 18 optional int32 password_rounds = 6; |
19 repeated string tracked_subdirectories = 7; | 19 repeated string deprecated_tracked_subdirectories = 7; |
20 } | 20 } |
OLD | NEW |