• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2015 The Chromium OS Authors. All rights reserved.
3  * Use of this source code is governed by a BSD-style license that can be
4  * found in the LICENSE file.
5  */
6 
7 #ifndef __TPM2_CONTEXT_SPT_FP_H
8 #define __TPM2_CONTEXT_SPT_FP_H
9 void ComputeContextIntegrity(TPMS_CONTEXT *contextBlob,  // IN: context blob
10                              TPM2B_DIGEST *integrity     // OUT: integrity
11                              );
12 void ComputeContextProtectionKey(
13     TPMS_CONTEXT *contextBlob,  // IN: context blob
14     TPM2B_SYM_KEY *symKey,      // OUT: the symmetric key
15     TPM2B_IV *iv                // OUT: the IV.
16     );
17 void SequenceDataImportExport(
18     OBJECT *object,        // IN: the object containing the sequence data
19     OBJECT *exportObject,  // IN/OUT: the object structure that will get the
20                            // exported hash state
21     IMPORT_EXPORT direction);
22 
23 #endif  // __TPM2_CONTEXT_SPT_FP_H
24