blob: 542464e6bf00134e8e541d6e91c4268fc3945d4f [file] [log] [blame]
Vadim Bendebury06146752015-05-29 20:57:35 -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_DICTIONARYATTACKPARAMETERS_FP_H
8#define __TPM2_DICTIONARYATTACKPARAMETERS_FP_H
9
10typedef struct {
11 UINT32 newMaxTries; // number of unexpired authorization
12 // failures before the TPM is in
13 // lockout
14 UINT32 newRecoveryTime;// time between authorization failures
15 // before failedTries is decremented
16 UINT32 lockoutRecovery;// time that must expire between
17} DictionaryAttackParameters_In;
18
19TPM_RC TPM2_DictionaryAttackParameters(
20 DictionaryAttackParameters_In *in // IN: input parameter list
21);
22
23#endif // __TPM2_DICTIONARYATTACKPARAMETERS_FP_H