HomeSort by relevance Sort by last modified time
    Searched refs:TPM_RC (Results 1 - 25 of 409) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /system/tpm/trunks/
error_codes.h 22 #include "trunks/tpm_generated.h" // For TPM_RC.
27 // Use the TPM_RC type but with different layer bits (12 - 15). Choose the layer
32 const TPM_RC kTrunksErrorBase = (7 << 12);
33 const TPM_RC kTctiErrorBase = (8 << 12);
34 const TPM_RC kSapiErrorBase = (9 << 12);
35 const TPM_RC kResourceManagerTpmErrorBase = (11 << 12);
36 const TPM_RC kResourceManagerErrorBase = (12 << 12);
38 const TPM_RC TRUNKS_RC_AUTHORIZATION_FAILED = kTrunksErrorBase + 1;
39 const TPM_RC TRUNKS_RC_ENCRYPTION_FAILED = kTrunksErrorBase + 2;
40 const TPM_RC TRUNKS_RC_READ_ERROR = kTrunksErrorBase + 3
    [all...]
policy_session.h 46 virtual TPM_RC StartBoundSession(
54 virtual TPM_RC StartUnboundSession(bool enable_encryption) = 0;
57 virtual TPM_RC GetDigest(std::string* digest) = 0;
62 virtual TPM_RC PolicyOR(const std::vector<std::string>& digests) = 0;
66 virtual TPM_RC PolicyPCR(uint32_t pcr_index,
72 virtual TPM_RC PolicyCommandCode(TPM_CC command_code) = 0;
76 virtual TPM_RC PolicyAuthValue() = 0;
mock_tpm_utility.h 33 MOCK_METHOD0(Startup, TPM_RC());
34 MOCK_METHOD0(Clear, TPM_RC());
36 MOCK_METHOD0(InitializeTpm, TPM_RC());
37 MOCK_METHOD1(AllocatePCR, TPM_RC(const std::string&));
38 MOCK_METHOD3(TakeOwnership, TPM_RC(const std::string&,
41 MOCK_METHOD2(StirRandom, TPM_RC(const std::string&, AuthorizationDelegate*));
42 MOCK_METHOD3(GenerateRandom, TPM_RC(size_t,
46 TPM_RC(int, const std::string&, AuthorizationDelegate*));
47 MOCK_METHOD2(ReadPCR, TPM_RC(int, std::string*));
48 MOCK_METHOD6(AsymmetricEncrypt, TPM_RC(TPM_HANDLE
    [all...]
tpm_utility.h 54 virtual TPM_RC Startup() = 0;
60 virtual TPM_RC Clear() = 0;
68 virtual TPM_RC InitializeTpm() = 0;
74 virtual TPM_RC AllocatePCR(const std::string& platform_password) = 0;
78 virtual TPM_RC TakeOwnership(const std::string& owner_password,
84 virtual TPM_RC StirRandom(const std::string& entropy_data,
89 virtual TPM_RC GenerateRandom(size_t num_bytes,
97 virtual TPM_RC ExtendPCR(int pcr_index,
103 virtual TPM_RC ReadPCR(int pcr_index, std::string* pcr_value) = 0;
110 virtual TPM_RC AsymmetricEncrypt(TPM_HANDLE key_handle
    [all...]
mock_policy_session.h 35 MOCK_METHOD3(StartBoundSession, TPM_RC(
39 MOCK_METHOD1(StartUnboundSession, TPM_RC(bool enable_encryption));
40 MOCK_METHOD1(GetDigest, TPM_RC(std::string*));
41 MOCK_METHOD1(PolicyOR, TPM_RC(const std::vector<std::string>&));
42 MOCK_METHOD2(PolicyPCR, TPM_RC(uint32_t, const std::string&));
43 MOCK_METHOD1(PolicyCommandCode, TPM_RC(TPM_CC));
44 MOCK_METHOD0(PolicyAuthValue, TPM_RC());
tpm_utility_impl.h 43 TPM_RC Startup() override;
44 TPM_RC Clear() override;
46 TPM_RC InitializeTpm() override;
47 TPM_RC AllocatePCR(const std::string& platform_password) override;
48 TPM_RC TakeOwnership(const std::string& owner_password,
51 TPM_RC StirRandom(const std::string& entropy_data,
53 TPM_RC GenerateRandom(size_t num_bytes,
56 TPM_RC ExtendPCR(int pcr_index,
59 TPM_RC ReadPCR(int pcr_index, std::string* pcr_value) override;
60 TPM_RC AsymmetricEncrypt(TPM_HANDLE key_handle
    [all...]
  /external/tpm2/
CryptSelfTest_fp.h 10 TPM_RC CryptIncrementalSelfTest(
15 TPM_RC CryptSelfTest(TPMI_YES_NO fullTest // IN: if full test is required
17 TPM_RC CryptTestAlgorithm(TPM_ALG_ID alg, ALGORITHM_VECTOR *toTest);
NV_spt_fp.h 10 TPM_RC NvReadAccessChecks(
14 TPM_RC NvWriteAccessChecks(
ClockRateAdjust.c 10 TPM_RC
FieldUpgradeStart.c 11 TPM_RC
Policy_spt_fp.h 18 TPM_RC PolicyParameterChecks(SESSION *session, UINT64 authTimeout,
20 TPM_RC nonceParameterNumber,
21 TPM_RC cpHashParameterNumber,
22 TPM_RC expirationParameterNumber);
SelfTest.c 18 TPM_RC
TestParms.c 10 TPM_RC
DictionaryAttackLockReset.c 10 TPM_RC
15 TPM_RC result;
IncrementalSelfTest.c 17 TPM_RC
23 TPM_RC result;
NV_GlobalWriteLock.c 10 TPM_RC
15 TPM_RC result;
SetAlgorithmSet.c 10 TPM_RC
15 TPM_RC result;
GetTestResult.c 15 TPM_RC
ChangeEPS_fp.h 15 TPM_RC TPM2_ChangeEPS(ChangeEPS_In* in);
19 TPM_RC ChangeEPS_In_Unmarshal(ChangeEPS_In* target,
30 TPM_RC Exec_ChangeEPS(TPMI_ST_COMMAND_TAG tag,
ChangePPS_fp.h 15 TPM_RC TPM2_ChangePPS(ChangePPS_In* in);
19 TPM_RC ChangePPS_In_Unmarshal(ChangePPS_In* target,
30 TPM_RC Exec_ChangePPS(TPMI_ST_COMMAND_TAG tag,
ClearControl_fp.h 18 TPM_RC TPM2_ClearControl(ClearControl_In* in);
22 TPM_RC ClearControl_In_Unmarshal(ClearControl_In* target,
33 TPM_RC Exec_ClearControl(TPMI_ST_COMMAND_TAG tag,
Clear_fp.h 15 TPM_RC TPM2_Clear(Clear_In* in);
19 TPM_RC Clear_In_Unmarshal(Clear_In* target,
30 TPM_RC Exec_Clear(TPMI_ST_COMMAND_TAG tag,
ClockRateAdjust_fp.h 18 TPM_RC TPM2_ClockRateAdjust(ClockRateAdjust_In* in);
22 TPM_RC ClockRateAdjust_In_Unmarshal(ClockRateAdjust_In* target,
33 TPM_RC Exec_ClockRateAdjust(TPMI_ST_COMMAND_TAG tag,
ClockSet_fp.h 18 TPM_RC TPM2_ClockSet(ClockSet_In* in);
22 TPM_RC ClockSet_In_Unmarshal(ClockSet_In* target,
33 TPM_RC Exec_ClockSet(TPMI_ST_COMMAND_TAG tag,
DictionaryAttackLockReset_fp.h 16 TPM_RC TPM2_DictionaryAttackLockReset(DictionaryAttackLockReset_In* in);
20 TPM_RC DictionaryAttackLockReset_In_Unmarshal(
32 TPM_RC Exec_DictionaryAttackLockReset(TPMI_ST_COMMAND_TAG tag,

Completed in 115 milliseconds

1 2 3 4 5 6 7 8 91011>>