Home
last modified time | relevance | path

Searched refs:TPM2_RC_SUCCESS (Results 1 – 22 of 22) sorted by relevance

/external/tpm2-tss/test/integration/
Desys-get-random.int.c39 if (r != TPM2_RC_SUCCESS) { in test_esys_get_random()
62 if (r != TPM2_RC_SUCCESS) { in test_esys_get_random()
69 if (r != TPM2_RC_SUCCESS) { in test_esys_get_random()
76 if (r != TPM2_RC_SUCCESS) { in test_esys_get_random()
90 if (r != TPM2_RC_SUCCESS) { in test_esys_get_random()
97 if (r != TPM2_RC_SUCCESS) { in test_esys_get_random()
104 if (r != TPM2_RC_SUCCESS) { in test_esys_get_random()
118 if (r != TPM2_RC_SUCCESS) { in test_esys_get_random()
125 if (r != TPM2_RC_SUCCESS) { in test_esys_get_random()
132 if (r != TPM2_RC_SUCCESS) { in test_esys_get_random()
[all …]
Dsapi-hierarchy-change-auth.int.c43 if (rval != TPM2_RC_SUCCESS) { in test_owner_auth()
54 if (rval != TPM2_RC_SUCCESS) { in test_owner_auth()
62 if (rval != TPM2_RC_SUCCESS) { in test_owner_auth()
72 if (rval != TPM2_RC_SUCCESS) { in test_owner_auth()
84 if (rval != TPM2_RC_SUCCESS) { in test_owner_auth()
112 if (rval != TPM2_RC_SUCCESS) { in test_owner_auth()
141 if (rval != TPM2_RC_SUCCESS) { in test_platform_auth()
151 if (rval != TPM2_RC_SUCCESS) { in test_platform_auth()
158 if (rval != TPM2_RC_SUCCESS) { in test_platform_auth()
167 if (rval != TPM2_RC_SUCCESS) { in test_platform_auth()
[all …]
Dsapi-session-util.c62 if (rval != TPM2_RC_SUCCESS) in start_auth_session()
78 if (rval != TPM2_RC_SUCCESS) { in start_auth_session()
85 if (rval != TPM2_RC_SUCCESS) { in start_auth_session()
124 if (rval != TPM2_RC_SUCCESS) in compute_session_auth()
128 if (rval != TPM2_RC_SUCCESS) in compute_session_auth()
154 if (rval != TPM2_RC_SUCCESS) { in compute_session_auth()
175 TSS2_RC rval = TPM2_RC_SUCCESS; in compute_command_hmac()
194 return TPM2_RC_SUCCESS; in compute_command_hmac()
209 if (rval != TPM2_RC_SUCCESS) in compute_command_hmac()
227 TSS2_RC rval = TPM2_RC_SUCCESS; in check_response_hmac()
[all …]
Dsapi-command-cancel.int.c63 if (rc != TPM2_RC_SUCCESS) { in test_invoke()
70 if (rc != TPM2_RC_SUCCESS) { in test_invoke()
77 if (rc != TPM2_RC_SUCCESS) { in test_invoke()
87 } else if (rc != TPM2_RC_SUCCESS) { in test_invoke()
115 if (rc != TPM2_RC_SUCCESS) { in test_invoke()
122 if (rc != TPM2_RC_SUCCESS) { in test_invoke()
129 if (rc != TPM2_RC_SUCCESS) { in test_invoke()
Dsapi-asymmetric-encrypt-decrypt.int.c95 if (rc != TPM2_RC_SUCCESS) { in test_invoke()
124 if (rc != TPM2_RC_SUCCESS) { in test_invoke()
129 if (rc != TPM2_RC_SUCCESS) { in test_invoke()
140 if(rc != TPM2_RC_SUCCESS) { in test_invoke()
147 if(rc != TPM2_RC_SUCCESS) { in test_invoke()
Dsapi-policy-authorizeNV.int.c128 if (rc != TPM2_RC_SUCCESS) { in test_invoke()
142 if (rc != TPM2_RC_SUCCESS) { in test_invoke()
181 if (rc != TPM2_RC_SUCCESS) { in test_invoke()
203 if (rc != TPM2_RC_SUCCESS) { in test_invoke()
256 if (rc != TPM2_RC_SUCCESS) { in test_invoke()
282 if (rc != TPM2_RC_SUCCESS) { in test_invoke()
Dsapi-create-loaded.int.c64 if (rc != TPM2_RC_SUCCESS) { in test_invoke()
85 if (rc == TPM2_RC_SUCCESS) { in test_invoke()
105 if (rc == TPM2_RC_SUCCESS) { in test_invoke()
Dsapi-util.c89 if (rc == TPM2_RC_SUCCESS) { in create_primary_rsa_2048_aes_128_cfb()
158 if (rc != TPM2_RC_SUCCESS) { in create_aes_128_cfb()
229 if (rc != TPM2_RC_SUCCESS) { in create_keyedhash_key()
426 rc = TPM2_RC_SUCCESS; in encrypt_decrypt_cfb()
481 return TPM2_RC_SUCCESS; in hash()
574 return rc == 1 ? TPM2_RC_SUCCESS : TSS2_SYS_RC_GENERAL_FAILURE; in hmac()
589 return TPM2_RC_SUCCESS; in ConcatSizedByteBuffer()
603 return TPM2_RC_SUCCESS; in CompareSizedByteBuffer()
Dsapi-create-keyedhash-sha1-hmac.int.c24 TSS2_RC rc = TPM2_RC_SUCCESS; in test_invoke()
78 if (rc == TPM2_RC_SUCCESS) { in test_invoke()
Dsapi-evict-ctrl.int.c21 TSS2_RC rc = TPM2_RC_SUCCESS; in test_invoke()
Dsapi-policy-template.int.c161 if (rc == TPM2_RC_SUCCESS) { in test_invoke()
189 if (rc == TPM2_RC_SUCCESS) { in test_invoke()
Dfapi-nv-authorizenv-cphash.int.c89 if (check_tpm_cmd(context, TPM2_CC_PolicyAuthorizeNV) != TPM2_RC_SUCCESS) { in test_fapi_nv_authorizenv_cphash()
Dfapi-key-create-policy-authorize-nv-sign.int.c128 if (check_tpm_cmd(context, TPM2_CC_PolicyAuthorizeNV) != TPM2_RC_SUCCESS) { in test_fapi_key_create_policy_authorize_nv()
/external/tpm2-tss/test/unit/
Dsys-execute.c92 return TPM2_RC_SUCCESS; in tcti_receive()
99 return TPM2_RC_SUCCESS; in tcti_receive()
103 return TPM2_RC_SUCCESS; in tcti_receive()
Dtest_tss2_rc.c141 const char *m = Tss2_RC_Decode(TPM2_RC_SUCCESS); in test_tpm2_format_1_success()
/external/tpm2-tss/src/tss2-esys/
Desys_iutil.c118 TSS2_RC r = TPM2_RC_SUCCESS; in init_session_tab()
315 return TPM2_RC_SUCCESS; in iesys_compute_rp_hashtab()
363 return TPM2_RC_SUCCESS; in iesys_handle_to_tpm_handle()
367 return TPM2_RC_SUCCESS; in iesys_handle_to_tpm_handle()
371 return TPM2_RC_SUCCESS; in iesys_handle_to_tpm_handle()
375 return TPM2_RC_SUCCESS; in iesys_handle_to_tpm_handle()
379 return TPM2_RC_SUCCESS; in iesys_handle_to_tpm_handle()
383 return TPM2_RC_SUCCESS; in iesys_handle_to_tpm_handle()
387 return TPM2_RC_SUCCESS; in iesys_handle_to_tpm_handle()
1062 return TPM2_RC_SUCCESS; in esys_GetResourceObject()
[all …]
Desys_tr.c386 if (r != TPM2_RC_SUCCESS) in Esys_TR_SetAuth()
Desys_crypto.c374 return TPM2_RC_SUCCESS; in iesys_crypto_KDFa()
/external/tpm2-tss/test/tpmclient/
Dtpmclient.int.c119 if ((rval) != TPM2_RC_SUCCESS) { \
891 if( rval != TPM2_RC_SUCCESS ) in BuildPolicy()
919 TSS2_RC rval = TPM2_RC_SUCCESS; in CreateNVIndex()
975 TSS2_RC rval = TPM2_RC_SUCCESS; in TestLocality()
1043 TSS2_RC rval = TPM2_RC_SUCCESS; in BuildPasswordPolicy()
1053 TSS2_RC rval = TPM2_RC_SUCCESS; in CreateDataBlob()
1145 TSS2_RC rval = TPM2_RC_SUCCESS; in PasswordUnseal()
1212 rval = TPM2_RC_SUCCESS; in TestPolicy()
/external/tpm2-tss/src/tss2-fapi/
Dfapi_crypto.c571 TSS2_RC r = TPM2_RC_SUCCESS; in ifapi_pub_pem_key_from_tpm()
2084 TSS2_RC r = TPM2_RC_SUCCESS; in ifapi_get_tpm_key_fingerprint()
Dfapi_util.c3557 return TPM2_RC_SUCCESS; in ifapi_capability_get()
/external/tpm2-tss/include/tss2/
Dtss2_tpm2_types.h271 #define TPM2_RC_SUCCESS ((TPM2_RC) 0x000) macro