blob: e18fe14bb8c2bbf0055a05d208f11830ae17cea3 [file] [log] [blame]
Vadim Bendebury47c19192015-05-29 23:02:08 -07001/*
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_HMAC_FP_H
8#define __TPM2_HMAC_FP_H
9
10typedef struct {
11 TPMI_DH_OBJECT handle;
12 TPM_ALG_ID hashAlg;
13 TPM2B_DATA buffer;
14} HMAC_In;
15
16typedef struct {
17 TPM2B_AUTH outHMAC;
18} HMAC_Out;
19
20TPM_RC TPM2_HMAC(
21 HMAC_In *in, // IN: input parameter list
22 HMAC_Out *out // OUT: output parameter list
23 );
24
25#endif // __TPM2_HMAC_FP_H